[sword-devel] Questions about usfm2osis.pl
johnduffy at cgcf.net
johnduffy at cgcf.net
Wed Oct 28 04:23:40 MST 2009
I've some questions on usfm2osis.pl.
Does usfm2osis.pl process USFM \q quotation marks? Bibledit converts them
to paragraph marks, but I would be keen to keep them as quotation markup in
the osis file, if possible.
If usfm2osis.pl does keep the quotation markup without converting it into
paragraphs, there is another problem, which was why I've gone down the
bibledit route instead. It hasn't worked for me or for Daniel Owens in
Windows. Is there a known issue with it? I downloaded it on 9 Sept 2009
It takes less than a second to process, and results in an 8-line Osis xml
document which consists of only a header. The script processes and
Endoding "utf8" is supported.
Doing some cleanup.
All done! OSIS file: bible.osis.xml
From: Peter von Kaehne [mailto:refdoc at gmx.net]
Sent: 26 October 2009 19:07
To: SWORD Developers' Collaboration Forum
Subject: Re: [sword-devel] Questions about usfm2osis.pl
I add support for markers as I need them and Chris does the same only at
a more accomplished level. Others do the same.
At the core usfm2osis.pl is not something written into stone but needs
adaption as per texts encountered. For someone like me with still miniml
Perl knowledge the important part is that it is there as a good
structure allowing rapid addition when required.
Most USFM markers appear to have corresponding OSIS markup, even if not
by necessity in a direct 1:1 translation marker -> tag.
David Haslam wrote:
> Are any plans afoot to tackle the Markers Not Yet Supported?
> #### Markers Not Yet Supported: \ipi, \im, \imi, \ipq, \imq, \ipr,
> \ib, \ili, \ior...\ior*, \iex, \imte, \ie
> #### Markers Not Yet Supported: \mte#, \mr, \sr, \rq...\rq*
> #### Markers Not Yet Supported: \ca...\ca*, \cl, \cp, \cd,
> #### Markers Not Yet Supported: \m, \pmo, \pm, \pmc, \pmr, \pi#,
> \li#, \pc, \pr, \ph#, \b
> #### Markers Not Yet Supported: \b
> #### Markers Not Yet Supported: \thr#
> #### Markers Not Yet Supported: \fe...\fe*, \fr, \fl, \fp, \ft,
> \fdc...\fdc*, \fm...\fm*
> #### Markers Not Yet Supported: \xdc...\xdc*
> #### Markers Not Yet Supported: Special Text: \bk...\bk*,
> \k...\k*, \lit, \ord...\ord*, \sig...\sig*, \sls...\sls*, \wj...\wj*;
> Character Styling: \em...\em*, \bd...\bd*, \bdit...\bdit*, \no...\no*,
> \sc...\sc*; Spacing and Breaks: !$, //; Special Features: \fig...\fig*,
> \ndx...\ndx*, \pro...\pro*, \w...\w*, \wg...\wg*, \wh...\wh*
> Do any of these markers correspond to OSIS markup supported by SWORD 1.6?
> Should line 7 be updated to read,
> # Copyright (c) 2002-2009 CrossWire Bible Society
> # Copyright (c) 2002-2008 CrossWire Bible Society
sword-devel mailing list: sword-devel at crosswire.org
Instructions to unsubscribe/change your settings at above page
More information about the sword-devel