[sword-devel] osis2mod and NT heading?
dmsmith at crosswire.org
Sat Dec 4 08:25:36 MST 2010
Hmm. I didn't finish the email before sending. More....
Cent from my fone so theer mite be tipos. ;)
On Dec 4, 2010, at 10:07 AM, DM Smith <dmsmith at crosswire.org> wrote:
> Sent from my phone so theer mite be tipos. ;)
> On Dec 4, 2010, at 9:17 AM, David Haslam <dfhmch at googlemail.com> wrote:
>> From the same module, running mod2imp gives the following output as the first
>> few lines.
>> $$$[ Module Heading ]
> Your module doesn't have these. But if it did nothing would show up here.
>> $$$[ Testament 1 Heading ]
>> <milestone type="x-importer" subType="x-osis2mod" n="$Rev: 2562 $"/>
> The milestone should be in the module heading. Not here. But it doesn't matter.
>> $$$Genesis 0:0
>> <div canonical="true" sID="gen1" type="bookGroup"/> <title>El Antiguo
> This title should not be here. The reason it is: it was appended to the last verse, which was initialize at the start of the program to Gen 0:0. Since it was empty, the append put it first.
> In the case of a New testament heading the prior known verse is typically in Malachi. (might be something else depending on av11n.)
I'm not sure how to detect a change in testament. Is there an osisID for work, ot, nt, deut? It'd make it a lot easier to detect.
That aside, if a book is closed then it should be closed and nothing appended to it.
>> <div canonical="true" osisID="Gen" sID="gen2"
>> type="book"/> <title type="main">El libro de Génesis (Primer libro de
This part was correctly placed.
>> $$$Genesis 1:0
>> <chapter osisID="Gen.1" sID="gen3"/> <title type="chapter">Génesis 1</title>
This was placed well too.
>> $$$Genesis 1:1
>> En el principio creó Dios el cielo y la tierra.
This is good too.
Had this had a section title it might have had a problem.
>> This provides evidence that it does process the first bookGroup title -
>> though whether this is ideally placed is not for me to judge.
>> At least it processes it better than it does the second bookGroup title.
>> Observe that I'm following the OSIS example in the wiki page, using <div
>> type="bookGroup" canonical="true"> rather than using <div
>> type="x-testament">, which is what gets output by the infamous mod2osis
Well that is a whole other can of worms.
>> View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-and-NT-heading-tp3071316p3072434.html
>> Sent from the SWORD Dev mailing list archive at Nabble.com.
>> sword-devel mailing list: sword-devel at crosswire.org
>> Instructions to unsubscribe/change your settings at above page
> sword-devel mailing list: sword-devel at crosswire.org
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel