Closed LAfricain closed 4 years ago
I've not yet really started to ascend the learning curve for orefs.py
being occupied on other tasks.
However, if the above illustration is what it does, then there is a serious error besides what @LAfricain reported.
You simply shouldn't have just a single reference element.
@LAfricain Change the ;
to a ,
(or whatever SEPP happens to be set as) for the references in the same book and the references should be converted properly.
@DavidHaslam orefs doesn't do anything other than insert osisRef attributes into reference elements. that's it. if you want references to be separated in the manner in which you describe, then the usfm markup will have to be changed accordingly.
No - that’s not how the Bible translation editors normally work.
A cross-reference note might contain several \xt ...\xt*
items but there’s no pressure for this to be so.
OSIS has much stricter requirements, at least in the context of working aright as the source text for a SWORD module. And isn’t that the main goal?
But these requirements are not enforced by the DTD used for OSIS validation. Several other important things are not rigorously checked either.
Please refer to the CrossWire wiki page on OSIS Bibles.
There are no such requirements specified in either the osis schema or the osis manual. I am not going to impose restrictions on the osis that I generate that are not specified.
Btw, I use modules every day that were created with the output of my scripts. Sword based software has no problem at all with the reference elements that are in them.
Which SWORD front-end[s] do you use?
The osisRef attribute values in a module are what makes each reference into a hyperlink that jumps to the reference location when you click on it.
You cannot jump simultaneously to multiple locations.
Change the ; to a , (or whatever SEPP happens to be set as) for the references in the same book and the references should be converted properly.
I change it, but now it refuse to convert it ONLY if it is at the begin of the refs list. Look:
reference osisRef="Luke.1.6 Rom.2.13 Rom.3.19">7:1, 10:9, 13:13; Luka 1:6; Roma 2:13, 3:19<!-- orefs - unprocessed reference -->
If it is to an other place it runs well:
<reference osisRef="Exod.20.11 Exod.31.17 Deut.5.14 Heb.4.4">Eks 20:11, 31:17; Dute 5:14; Heb 4:4
If I have just one refs that begin the list of ref, it is okay.
@LAfricain I will have to investigate this more to see if I can get it to work in this situation. In theory it should use the current book being processed there. Apparently it's not working as intended.
@DavidHaslam What you're discussing is unrelated to LAfricain's issue. Start a new issue if you want to discuss it further.
@adyeths Ok thanks. @DavidHaslam You were asking me? → Xiphos Bibletime and AndBible.
I just added a new issue #79
Aside: The front-end question was for adyeths.
All is in the title, ex:
You see 24:20 should be convert to 2kings, but it is convert as Rev! Other places:
All this refs are in the book of Genesis. It is clear that the refs without book names following a refs with a book name, belongs to this book.