[sword-devel] USFM conformance in usfm2osis.py

Peter von Kaehne refdoc at gmx.net
Wed Aug 1 16:00:54 MST 2012

On 01/08/12 20:36, Kahunapule Michael Johnson wrote:

> One problem with converting from USFM to Bible study software modules
> is that USFM doesn't directly support machine-readable links for
> cross references in cross reference notes and footnotes, and the
> mechanism to determine vernacular abbreviations for automatic
> conversion (\toc3) is almost never used in real projects. For now, I
> plan to populate that data in an auxiliary file in the USFX .zip
> files.

Our solution right now is to wrap these into reference tags, create a
sword locale file with all abbreviations and then use a script which
uses the sword library to parse the text in between the reference
markers to create valid osisRefs and proper crossreference notes.

It works well.

The main problem is the creation of locale files. Right now these are
created by hand

I am considering to create a script which will do the job of creating a
skeleton at least from what is found in the book titles and xrefs.


More information about the sword-devel mailing list