[sword-devel] SCRIPT: Covert Traditional Book Names to Short Sword Names

Peter von Kaehne refdoc at gmx.net
Wed Aug 1 08:00:27 MST 2012


> Von: Andrew Thule <thulester at gmail.com>

> Have I failed to grasp the purpose of abbr.conf, or is this a hiccup
> between abbr.conf and osis2mod?

You have. Totally and utterly. :-)

The OSIS "abbreviations" are not "standard abbreviations" at all but are tokens used for osisID and osisRefs.

They are not used in anything user facing. Their purpose is solely for internal use by the library.

The abbreviations used in abbr.conf and in the many locales.d/ files are user abbreviations. Stuff people might use to abbreviate a reference - both during "go to a bible passage" GUI actions and in texts. 

The library will analyse such input in whatever language (as long as we have a file in locales.d/ for it) and make use of it by translating it into osisRefs which then again can be used to retrieve that piece of text etc.

So 'osisiD="Matt.4.2"' is not an abbreviation but the URL equivalent for a piece of text.

A decent reference may then e.g. look like

<reference osisID="Matt.4.2">Mattheus 4,2</reference>

Peter




More information about the sword-devel mailing list