<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.m4000159869404827165apple-converted-space
        {mso-style-name:m_4000159869404827165apple-converted-space;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Thank you Michael, it now works correctly.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Johan Marais<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Institute for Scripture Research<o:p></o:p></span></p><p class=MsoNormal><a href="http://www.messianic.co.za/"><span lang=EN-GB style='color:#0563C1'>www.messianic.co.za</span></a> <span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><b>From:</b> Michael H [mailto:cmahte@gmail.com] <br><b>Sent:</b> Sunday, 11 March 2018 19:38<br><b>To:</b> SWORD Developers' Collaboration Forum <sword-devel@crosswire.org><br><b>Subject:</b> Re: [sword-devel] osis2mod<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>One step beyond from DM Smith's response: if you correct the osis2mod statement to output to the rawtext folder, it should conform to naming conventions. You might also have to update the conf file to point to this location. <br><br>That is<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>use this command to create the module:<o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Arial",sans-serif;background:white'><br><span style='color:black'>osis2mod ./modules/texts/</span><b><span style='color:blue'>rawtext</span></b><span style='color:black'>/ts2009/ TS2009Ver100.osis.xml -c ts2009<br></span></span><br>and modify the appropriate lines in the conf file: <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><b><span style='color:blue'>[TS2009]</span></b><o:p></o:p></p></div><div><div><p class=MsoNormal>DataPath=./modules/texts/<b><span style='color:blue'>rawtext/ts2009/</span></b><o:p></o:p></p></div><div><p class=MsoNormal>ModDrv=<b><span style='color:blue'>RawText</span></b><o:p></o:p></p></div></div><div><p class=MsoNormal><b><span style='color:red'>CompressType=ZIP </span></b><--- delete this line if it exists<o:p></o:p></p></div><div><p class=MsoNormal><b><span style='color:red'>CipherKey=TS1998</span></b> <--- delete this line if you started with the conf file for TS1998. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Note the bracketed first line is the text you should see in front end programs to select the module. Frontend programs do not display the path outside of module management. <o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Sun, Mar 11, 2018 at 11:47 AM, DM Smith <<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>Johan,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The output should be located at ./modules/texts/ztext/ts2009. Those folders should already be there. There should be some kind of failure message if it cannot open the output files for writing. If there are currently files there it should update them.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Since you didn’t include any flags for compression, the module that is put there won’t be compressed.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>osis2mod doesn’t care about the module’s conf. That is supposed to be created based upon how you build the module, i.e. what flags you use for osis2mod. I’m guessing your conf doesn’t match with regard to compression. If that’s the case the module won’t work.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Also if you are on a modern version of Windows, you might not have permission to write to c:\Program Files (x86)\CrossWire\The SWORD Project\modules\texts\ztext\ts2009<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hope this helps,<o:p></o:p></p></div><div><p class=MsoNormal>DM Smith<o:p></o:p></p><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On Mar 11, 2018, at 10:00 AM, Johan <<a href="mailto:johan.marais@messianic.co.za" target="_blank">johan.marais@messianic.co.za</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal><span lang=EN-GB>DM Smith,</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>It looks like this:</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div style='margin-left:36.0pt'><p class=MsoNormal><span lang=EN-GB style='color:#0070C0'>C:\Program Files (x86)\CrossWire\The SWORD Project>osis2mod ./modules/texts/ztext/ts2009/ TS2009Ver100.osis.xml -c ts2009</span><o:p></o:p></p></div><div style='margin-left:36.0pt'><p class=MsoNormal><span lang=EN-GB style='color:#0070C0'>You are running osis2mod: $Rev: 3314 $</span><o:p></o:p></p></div><div style='margin-left:36.0pt'><p class=MsoNormal><span lang=EN-GB style='color:#0070C0'>Adding cipher filter with phrase: ts2009</span><o:p></o:p></p></div><div style='margin-left:36.0pt'><p class=MsoNormal><span lang=EN-GB style='color:#0070C0'>SUCCESS: osis2mod: has finished its work and will now rest</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB style='color:#0070C0'> </span><o:p></o:p></p></div><div style='margin-left:36.0pt'><p class=MsoNormal><span lang=EN-GB style='color:#0070C0'>C:\Program Files (x86)\CrossWire\The SWORD Project></span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>Only the following are in the<span class=m4000159869404827165apple-converted-space> </span></span>“The SWORD Project” folder:<o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>Utilities from Xiphos</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>TS2009Ver100.osis.xml file</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>ts2009.conf file in the<span class=m4000159869404827165apple-converted-space> </span>“mods.d” folder</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>The following folder structure, under<span class=m4000159869404827165apple-converted-space> </span></span>“The SWORD Project”<o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>modules</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> texts</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> ztext</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> ts2009</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>The .conf file starts with [TS2009] and the<span class=m4000159869404827165apple-converted-space> </span></span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>DataPath=./modules/texts/ztext/ts2009/</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>Thank you,</span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB> </span><o:p></o:p></p></div><div><p class=MsoNormal><span lang=EN-GB>Johan</span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><div><p class=MsoNormal><b>From:</b><span class=m4000159869404827165apple-converted-space> </span>DM Smith [<a href="mailto:dmsmith@crosswire.org" target="_blank"><span style='color:purple'>mailto:dmsmith@crosswire.org</span></a>]<span class=m4000159869404827165apple-converted-space> </span><br><b>Sent:</b><span class=m4000159869404827165apple-converted-space> </span>Sunday, 11 March 2018 14:18<br><b>To:</b><span class=m4000159869404827165apple-converted-space> </span>SWORD Developers' Collaboration Forum <<a href="mailto:sword-devel@crosswire.org" target="_blank"><span style='color:purple'>sword-devel@crosswire.org</span></a>><br><b>Subject:</b><span class=m4000159869404827165apple-converted-space> </span>Re: [sword-devel] osis2mod<o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Johan,<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Please tell us your entire command line. We can then answer your question. <o:p></o:p></p><div><div><p class=MsoNormal>— DM Smith<o:p></o:p></p></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><br>On Mar 11, 2018, at 7:43 AM, Johan <<a href="mailto:johan.marais@messianic.co.za" target="_blank"><span style='color:purple'>johan.marais@messianic.co.za</span></a>> wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>Good day,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>I created a bible module (osis.xml) which I want to convert into a Sword bible module, using osis2mod.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>It looks as if it works correctly, but there is no output.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>I receive this message:<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>You are running osis2mod: $Rev: 3314 $<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>Adding cipher filter with phrase: xxxxxx<o:p></o:p></span></p></div><p style='margin-bottom:6.0pt'><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>SUCCESS: osis2mod: has finished its work and will now rest<o:p></o:p></span></p><p style='margin-bottom:6.0pt'><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>This is the message directly under the command line.<o:p></o:p></span></p><p style='margin-bottom:6.0pt'><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>What could be the problem please?<o:p></o:p></span></p><p style='margin-bottom:6.0pt'><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>Thanks for all the help.<o:p></o:p></span></p><p style='margin-bottom:6.0pt'><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>Johan<o:p></o:p></span></p></div></blockquote><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal>_______________________________________________<br>sword-devel mailing list:<span class=m4000159869404827165apple-converted-space> </span><a href="mailto:sword-devel@crosswire.org" target="_blank"><span style='color:purple'>sword-devel@crosswire.org</span></a><br><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank"><span style='color:purple'>http://www.crosswire.org/mailman/listinfo/sword-devel</span></a><br>Instructions to unsubscribe/change your settings at above page<o:p></o:p></p></div></div></blockquote></div></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'>_______________________________________________<br>sword-devel mailing list:<span class=m4000159869404827165apple-converted-space> </span></span><a href="mailto:sword-devel@crosswire.org" target="_blank"><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:purple'>sword-devel@crosswire.org</span></a><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'><br></span><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank"><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif;color:purple'>http://www.crosswire.org/mailman/listinfo/sword-devel</span></a><span style='font-size:9.0pt;font-family:"Helvetica",sans-serif'><br>Instructions to unsubscribe/change your settings at above page</span><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div><p class=MsoNormal><br>_______________________________________________<br>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>Instructions to unsubscribe/change your settings at above page<o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>