adyeths / u2o

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

Handling references that have an extra text item? #60

Open DavidHaslam opened 5 years ago

DavidHaslam commented 5 years ago

One of the references in my current project was as follows:

\x + \xt Oha. 22. 8, LXX.\x*

i.e. The reference is to this verse in Proverbs as found in the Septuagint.

The simplest way to handle this would be in USFM first, thus:

\x + \xt Oha. 22. 8\xt*, LXX.\x*

which processes fine using u2o.py and should therefore avoid later problems with orefs.py

I'm reporting this observation FYI, in case you encounter any USFM files with similar extra text items that have not had a similar fix to anticipate the how the conversion scripts would handle it.

LAfricain commented 5 years ago

I have the same issue. Ref followed with text :(

DavidHaslam commented 5 years ago

@LAfricain - no surprises there! It's a relatively common occurrence.