adyeths / u2o

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

For now \cl tag is ignored please change it to title #124

Closed LAfricain closed 1 year ago

LAfricain commented 1 year ago

For now \cl tag is ignored: r"\cl": ('<milestone type="x-chapterLabel" n="', '" />'), please change it to title: r"\cl": ('<title type="x-chapterLabel" short="', '" />'),

adyeths commented 1 year ago

I use milestone tags because the title tags caused issues. I'm not going to switch back to title tags until those issues are fixed.

LAfricain commented 1 year ago

What kind of issues? I ask Michael how he manages this with Haiola. Because he succeed to have a title.

adyeths commented 1 year ago

They weren't displaying properly in sword software and they also caused other content to not display properly. That's why I use the milestone tag.

LAfricain commented 1 year ago

Ok I wait the answer from Michael and will come back. I notice in his module it's well displayed.

LAfricain commented 1 year ago

This is how Michael convert the cl tag:

<chapter osisID="Ps.120" sID="Ps.120.seID.16849" n="120" />
<title type="chapter">Psaume 120 (Vulg. CXIX)
</title><lg><l level="1" /></lg><lg><l level="1">
<verse osisID="Ps.120.1" sID="Ps.120.1.seID.16850" n="1" />
<w lemma="strong:H7892">Cantique</w>
<w lemma="strong:H3068">des</w> montées.
</l><l level="1"><w lemma="strong:H0935">Vers</w>