-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trailing space (&/or terminating period) in a reference element? #38
Comments
Does the original usfm contain the trailing space or period in the reference markup? If yes, then that's why it's in the osis. |
First, we should recognise that Bible translators are rarely as rigorous about markup as we programmers would like them to be. Let's address the terminating period first. That's not part of a valid reference, though it is part of a cross-reference note. So after converting The terminating period is just like these separating punctuation marks, only that it
The fact that the translator may have included a space just before IMHO, that trailing space (superfluous as it might be) is better placed after Likewise, the translator may have include a superfluous space just before If you like, this is a reasonable adjustment that makes good sense now that the text is in XML. |
These issues should really be fixed in the usfm source. u2o is a converter not a corrector. It was not designed (and was never intended) to fix problems that are present in the usfm markup. It's only designed (and intended) to convert usfm markup to osis. |
Reference elements generated by u2o.py
Here's an example of a reference element containing a trailing space.
Do you think it might be advisable to move the trailing space to after the
</reference>
?i.e. Such that this example becomes:
cf. Some Bible translators add a terminating period (full-stop) after the last reference in a cross-reference marker. Likewise, the terminating period should be shifted to after the
</reference>
, n'est-ce pas?The text was updated successfully, but these errors were encountered: