adyeths / u2o

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

Improvement for the \jmp tag #114

Open LAfricain opened 2 years ago

LAfricain commented 2 years ago

Hi, I was thinking about the \jmp tag. I can explain exactly what I'm expecting it it's possible. The OSIS end tag is a internal link or a link to an other OSIS file (sword module). This is the exemple given on the crosswire wiki for the OSIS genbook: <reference osisRef="EarlyFathers:ANF01.Irenæus">Irenaeus</reference> In my case I want to jump to an other part of the Ambrose commentary of Luke, the osis final tag should be like this: <reference osisRef="CAM:Luke.18.15-17">Livre VIII,57 sqq.</reference> CAM is the module name, and Luke..18.15-17 the reference of course. I guess the usfm tag should be: \jmp CAM|link-href="prj:CAM LUK 18.15-17" link-title="Livre VIII,57 sqq."\jmp* What do you think? I never use the \jmp tag, but it can be very usefull for me for the new module I'm working on it. I red the usfm doc about \jmp but I didn't understand everything.