<div dir="ltr">You&#39;ll have to give more information before anyone can help you out<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 12:46 PM, Ryan V <span dir="ltr">&lt;<a href="mailto:adyeths@gmail.com" target="_blank">adyeths@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>usfm2osis.py appears to be very broken now. I ran it on a number of bibles and it failed to properly convert all of them. For the World English Bible it reported the following:<br><br>    Unhandled USFM tags: \+bk, \c, \li1&lt;verse, \p, \p&lt;verse, \q2, \v (7 total)<br></div></div></div></blockquote><div><br></div><div>This is not broken. This is unimplemented. Tags are only implemented into usfm2osis.py once they are encountered. These have not been encountered in previous works converted using this tool. You or someone else will need to add support for those tags.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div></div><div><br>Chapter and verse numbering in the resulting osis is broken as well. It looks like the following:<br></div><br>    &lt;chapter osisID=&quot;$BOOK$.1&quot; sID=&quot;$BOOK$.1&quot;/&gt;<br>    &lt;verse osisID=&quot;$BOOK$.$CHAP$.1&quot; sID=&quot;$BOOK$.$CHAP$.1&quot;/&gt;<br></div></div></blockquote><div><br></div><div>What language and format are you source files in? Often USFM projects represent a new work from a new language, and the source language names and abbreviations for books are not known. Perhaps the format that your books are in means that this information is missing from the OSIS but present in some other type of metadata. Somewhere, somehow the book and chapter information is missing from the input and thus it&#39;s not in the output. That doesn&#39;t necessarily mean that the utility is &quot;very broken&quot;.<br><br></div><div>Please give us a bit more information to work with.<br><br></div><div>--Greg <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://www.crosswire.org/<wbr>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div></div>