<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<meta http-equiv="Content-Style-Type" content="text/css">
</head>
<body>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">There is a command line argument for versification for the osis2mod module compiler.
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">&nbsp;http://wiki.crosswire.org/Osis2mod</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">I don't think it looks at the OSIS file metadata to figure out what versification to use. It gets it from the command line.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">At least that is how I'm using it and it seems to work.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">In my opinion, I think it would be worth your while to learn Perl (which excels at parsing and massaging text) rather than try to figure out how to write XML from LibreOffice Calc...just
 my opinion. I had a project to do converters from Logos XML format to OSIS XML. It turned out to be non-trivial, and took me two years to write scripts to handle Bibles, Commentaries, Dictionaries, and General Books.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">I am (at least theoretically) willing to share my scripts. I realize few if anyone on this forum is converting from Logos XML, so the scripts would need to be adapted or serve as models
 for other projects.</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">John</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left">
<hr width="100%" align="left">
<font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="4"><span style=" font-size:14pt">The text (</span></font><a href="https://git.door43.org/Door43-Catalog/en_tn">
<font face="Arial" color="#0000ff" size="1"><span style=" font-size:8pt"><u>https://git.door43.org/Door43-Catalog/en_tn</u></span></font></a>
<font face="Arial" size="4"><span style=" font-size:14pt">) is not in currently in a format supported by anything except unfoldingWord, (</span></font><a href="https://door43.org/u/Door43-Catalog/en_tn/ff70a8adb2/"><font face="Arial" color="#0000ff" size="1">
<span style=" font-size:8pt"><u>https://door43.org/u/Door43-Catalog/en_tn/ff70a8adb2/</u></span></font></a><font face="Arial" size="4">
<span style=" font-size:14pt">)&nbsp;but it is in a regular format. So the manual transform&nbsp; into a supported form is currently planned to go directly into OSIS.&nbsp;Considering the depth of the information, this seems the most likely to succeed and keep the information
 present and usable.&nbsp;</span></font></div>
<div align="left"><font face="Arial" size="4"><span style=" font-size:14pt"><br>
&quot;Build my own tools&quot; is stronger language than I would use for my effort. I do plan to write stuff (LibreOffice Calc functions) that output OSIS directly from the spreadsheet files in the link, but not the module. I can synthesize what needs to happen for all
 of this except the header text that will make the subsequent validation and conversion to module work. An example OSIS source text for a valid sword commentary would be most helpful.&nbsp;<br>
<br>
The The English TN is based on ASV(NRSV) versification. But there other languages--Russian, French, Italian where I'm expecting the reference edition to be other versifications, because the versification was established to follow the vulgate or something like
 it long before modern era.&nbsp; maybe I'm seeing a mountain where none exists, or a problem that remains unsolvable in Sword (linking to scripture across versifications). It seems like there should be some hook in the work itself or along with each link that describes
 the versification of the intended scripture target. I'm not seeing how to encode that.&nbsp;</span></font></div>
<div align="left"><font face="Arial" size="4"><span style=" font-size:14pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">On Mon, Sep 23, 2019 at 11:28 AM Greg Hellings &lt;</span></font>
<a href="mailto:greg.hellings@gmail.com"><font face="Arial" color="#0000ff" size="2"><span style=" font-size:10pt"><u>greg.hellings@gmail.com</u></span></font></a>
<font face="Arial" size="2"><span style=" font-size:10pt">&gt; wrote:</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt">On Sun, Sep 22, 2019 at 2:08 PM Michael H &lt;</span></font><a href="mailto:cmahte@gmail.com"><font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt"><u>cmahte@gmail.com</u></span></font></a><font face="Arial" size="2"><span style=" font-size:10pt"> &gt; wrote:</span></font></div>
<div align="left" style="margin-left:18mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="4"><span style=" font-size:14pt">So I have a collection of files (based on vulgate and NRSV works) that will become commentaries.&nbsp;&nbsp;<br>
<br>
The first thing I'd like to address are the differences in the versification, primarily (for the vulgate stuff) so that commentary about Psalm 119 doesn't show up on 118 or 120.&nbsp;&nbsp;<br>
<br>
The only place I see to label a versification is in the .conf file? (after the module is finished.) And in command line utitilities that probably won't apply to my case, since I'm starting from bare text, and there's no reason to convert to a intermediate format.</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt">Correct, but you'll eventually need to pass it through an import utility, unless you write the module directly yourself from a custom crafted tool. But, even then, you'll still need to declare the versification
 manually when you create the module object (or accept the KJV default) so that any index file is properly written out.</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left" style="margin-left:18mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="4"><span style=" font-size:14pt"><br>
There isn't any declaration inside an OSIS file?&nbsp; &nbsp;If I'm building the OSIS myself, is there anything I need to be especially concerned regarding the versificaiton, or just ensure that my reference tags will fit a SWORD versification item?&nbsp;</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt">Pretty sure that OSIS headers have a field for it. Almost as sure that the osis2mod tool ignores it along with just about everything else in the header.</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left" style="margin-left:9mm; margin-right:0mm; text-indent:0mm; margin-top:0.00mm; margin-bottom:0.00mm;">
<font face="Arial" size="2"><span style=" font-size:10pt">--Greg</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br>
</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">John Dudeck</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">Programmer at Editions Cle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lyon, France</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">john.dudeck@sim.org&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; john@editionscle.com</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">--</span></font></div>
<div align="left"><font face="Arial" size="2"><span style=" font-size:10pt">&quot;There are far, far better things ahead than any we leave behind.&quot; --C.S. Lewis</span></font></div>
<div align="left">&nbsp;&nbsp;</div>
</body>
</html>