<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">My apologies, Chris. I did indeed
confuse usfm2osis.py with usfm2osis.pl. I have not tested the
former.<br>
<br>
I'm pleased that a better USFM to OSIS option is being worked on.<br>
<br>
Haiola currently supports all USFM tags in normal "reader's
edition" Bible translations. It does not yet support all "study
Bible" and "peripheral" markup, primarily because it is not yet
clear how that should best be represented in the output formats.<br>
<br>
Haiola generates OSIS that validates with the OSIS schema, as long
as the USFM/USFX input is well formed. It only varies from OSIS
best practices in minor ways that should not affect display in
Sword front ends at all. I call it "Modified OSIS" instead of
"OSIS" just as an acknowledgement that there is a little
deviation, there. So far, the only problem I have heard of in
using Haiola output to generate Sword modules was that some front
ends incorrectly display OSIS metadata as part of the first Book
of the Bible. That is apparently a front end issue, and not an
OSIS compliance or Haiola issue.<br>
<br>
<br>
On 05/07/2013 11:18 AM, Chris Little wrote:<br>
</div>
<blockquote cite="mid:51896F8A.4050406@crosswire.org" type="cite">On
05/07/2013 11:20 AM, Kahunapule Michael Johnson wrote:
<br>
<blockquote type="cite">On 05/07/2013 02:18 AM, David Haslam
wrote:
<br>
<blockquote type="cite">Apart from Chris, has anyone else done
any testing on his Python script
<br>
usfm2osis.py ?
<br>
<br>
Seehttp://crosswire.org/wiki/Converting_SFM_Bibles_to_OSIS#usfm2osis.py
<br>
</blockquote>
<br>
Yes. I found that it works for a small subset of USFM, and
produces
<br>
proper OSIS fragments for those files that use only those tags.
For
<br>
support of a broader range of USFM tags, see <a class="moz-txt-link-freetext" href="http://haiola.org">http://haiola.org</a>.
That has
<br>
source in C# instead of Python.
<br>
</blockquote>
<br>
I'm not sure if this was trollbait (in which case, sorry all for
feeding the troll) or genuine ignorance, but you don't know what
you're talking about. Maybe you're thinking of usfm2osis.pl, which
is definitely less capable, though it hardly only 'works for a
small subset of USFM'. (So, I'm leaning towards trollbait.)
<br>
<br>
usfm2osis.py handles the full set of USFM tags (excepting perhaps
any that were added within the last year). As such, I would
estimate that usfm2osis.py supports more USFM tags than does
Haiola. The fact you claim it supports a 'broader range' suggests
that it does not support all USFM tags, and thus falls short of
usfm2osis.py's support.
<br>
<br>
On top of this, usfm2osis.py actually targets the OSIS schema and
best practices, rather than a private non-standard derivative.
<br>
<br>
And in general, anyone interested in converting USFM to OSIS for
use with Sword ought really to employ usfm2osis.py since it's the
only supported pathway for USFM->OSIS->Sword, inasmuch as
its author has a fairly close connection with Sword and regularly
commits stuff to Sword filters and whatnot. I definitely will not
make the least effort to accommodate any non-standard output from
converters other than usfm2osis.py.
<br>
<br>
--Chris
<br>
<br>
<br>
_______________________________________________
<br>
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
<br>
Instructions to unsubscribe/change your settings at above page
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<title>signature</title>
<p><font color="#000000">Aloha,<br>
<i>Michael Johnson</i></font><br>
<font color="#000070"><a href="http://mljohnson.org">mljohnson.org</a><br>
1215 S KIHEI RD STE O # 728<br>
KIHEI HI 96745-5278<br>
USA<br>
<br>
Phone: +1 808-333-6921<br>
Skype: kahunapule</font></p>
</div>
</body>
</html>