[sword-devel] Questions about usfm2osis.pl
Peter von Kaehne
refdoc at gmx.net
Wed Oct 28 09:15:58 MST 2009
Send it to me.
Peter
-------- Original-Nachricht --------
> Datum: Wed, 28 Oct 2009 16:04:45 -0000
> Von: johnduffy at cgcf.net
> An: "\'SWORD Developers\' Collaboration Forum\'" <sword-devel at crosswire.org>
> Betreff: Re: [sword-devel] Questions about usfm2osis.pl
> Hi Daniel,
>
> Yes, it works even using a relative path if only one file is specified but
> not the *.sfm.
>
> It is interesting that an unrecognised character is seen at the start of
> the file, which appears as a square box in front of (or here on top of) the
> first backslash. It also keeps the \id as in the extract below, but misses
> the book div and all book abbreviations in the verseIDs.
>
> From USFM2osis.pl for single book of Psalms in Windows:
> </header>
> \id PSA
> <title type="main">Leabhar na SALM</title>
> <div type="majorSection">
> <title>An Chéad Leabhar</title>
> <chapter sID=".1" osisID=".1"/>
> <div type="section">
> <title>Fíorshonas</title>
> <lg>
> <l level="1">
> <verse sID=".1.1" osisID=".1.1"/>
> Is aoibhinn don fhear nach...
>
> From USFM2osis.pl in Linux Psalms extract from whole Bible (Note no poetry
> markup was present when this was done, as well as combined titles):
> <div type="book" osisID="Ps">
> <title short="Leabhar na SALM"/>
> <div>
> <title type="main">Leabhar na SALM</title>
> <chapter sID="Ps.1" osisID="Ps.1" n="1"/>
> </div>
> <div type="section" canonical="true">
> <title level="1">An Chéad Leabhar -- Fíorshonas</title>
> <verse sID="Ps.1.1" osisID="Ps.1.1"/>
> <p> Is aoibhinn don fhear nach...
>
> In the process, I've seen on individual files that USFM2osis.pl does
> handle poetry as well as paragraph markup. If it handled the verseIDs
> correctly, I'd be tempted to do each Bible book separately and then try to put them
> all together into a single osis file.
>
> Alternatively, since I'm happy with the USFM content now that I've got
> both the paragraph and poetry markup in place, as well as headings separated
> out into different levels, do you think that you'd have time to compile it
> again in Linux?
>
> Thanks
>
> John Duffy
>
> When I have used usfm2osis.pl successfully it has always been in Linux.
> I'd be willing to bet that Chris knows the answer to this one, but the
> problem is not the USFM files but how usfm2osis.pl grabs the input from
> them. It is possible to process one file if you give an argument with an
> absolute path. However, if you use wildcards like *.sfm, it doesn't
> work. I don't know why. Again, I'm guessing Chris knows how to do this,
> but I've never figured it out. I've just used Linux.
>
> Daniel
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the sword-devel
mailing list