[sword-devel] Alternate Versification
dmsmith at crosswire.org
Sun Apr 26 17:48:12 MST 2009
On Apr 25, 2009, at 10:04 AM, DM Smith wrote:
> I'd like to make a change to osis2mod to have it report the
> supported alternate versifications that can be used as an argument
> to -v. Ideally, I'd like the flag value and a short description.
> How would I go about doing that?
Troy supplied a method to do this. See utilities/osis2mod.cpp usage()
for the details of how to use the method.
Here is the output of the usage statement now:
You are running osis2mod: $Rev: 2345 $
> usage: ./osis2mod <output/path> <osisDoc> [OPTIONS]
> -a augment module if exists (default is to create new)
> -z use ZIP compression (default no compression)
> -Z use LZSS compression (default no compression)
> -b <2|3|4> compression block size (default 4):
> 2 - verse; 3 - chapter; 4 - book
> -c <cipher_key> encipher module using supplied key
> (default no enciphering)
> -N do not convert UTF-8 or normalize UTF-8 to NFC
> (default is to convert to UTF-8, if needed,
> and then normalize to NFC)
> Note: UTF-8 texts should be normalized to NFC.
> -4 use 4 byte size entries (default is 2).
> Note: useful for commentaries with very large entries
> in uncompressed modules (default is 65535 bytes)
> -v <v11n> specify a versification scheme to use (default is KJV)
> Note: The following are valid values for v11n:
> See http://www.crosswire.org/wiki/osis2mod for more details.
Thanks for all the discussion. For now, this is a baby step.
More information about the sword-devel