adyeths / u2o

USFM to OSIS bible format converter.
The Unlicense
19 stars 6 forks source link

Roman numerals in references for some old translations now being made digital #61

Open DavidHaslam opened 5 years ago

DavidHaslam commented 5 years ago

My current project contained a significant number of xrefs where the chapter number was in Roman numerals. They were not all like this. Some of them used lowercase Roman numerals and some used uppercase. There was even one reference having xxvv that's not a valid number!

I'm reporting this just in case it might be of interest to eventually handle this aspect too in orefs.py.

No urgency. Just enjoy the challenge!

DavidHaslam commented 5 years ago

Further related matter.

What if the book abbreviation within a reference is styled in italics using \+it ...\+it* ?

Example:

\f + \ft \+it Heb.\+it* kesita ; \+it izahao\+it* \+xt \+it Gen.\+it* xxxiii. 19\+xt*.\f*

The footnote renders as:     Heb. kesita ; izahao Gen. xxxiii. 19. See screenshot.

This would present a further challenge for orefs.py.

adyeths commented 5 years ago

handing roman numerals is possible but not likely to be something I can implement very quickly.

As for references where presentational markup is used for the book name in references, you'd have to include the osis presentational markup with the book abbrevations in the orefs config file. (note that I haven't tested this. it should work though.)

DavidHaslam commented 5 years ago

Roman numerals