mvnForum Homepage

Print at Oct 31, 2014 7:42:24 PM
Posted by philip707 at Jan 29, 2011 5:53:23 AM
Osis2mod commandline arguments for windows
Please tell me what is the command line arguments to prepare the sword bible module from osis.xml file

osis2mod ????????????

If someone post all sword utilities command line arguments like mod2vpl, vpl2mod, osis2mod, mod2osis...etc....

Philip Zachariah

Posted by philip707 at Jan 29, 2011 7:41:33 AM
Re: Osis2mod commandline arguments for windows
when i try to prepare sword module nothing happend, the result i pasted here, anyone pls help me

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\admin>cd sword

C:\Users\admin\sword>osis2mod tamil
You are running osis2mod: $Rev: 2562 $
OSIS Bible/commentary module creation tool for The SWORD Project

usage: osis2mod <output/path> <osisDoc> [OPTIONS]
<output/path> an existing folder that the module will be written
<osisDoc> path to the validated OSIS document, or '-' to
read from standard input
-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.
-s <2|4> bytes used to store entry size (default is 2).
Note: useful for commentaries with very large
entries in uncompressed modules
(2 bytes to store size equal 65535 characters)
-v <v11n> specify a versification scheme to use (default is KJV)
Note: The following are valid values for v11n:
-d <flags> turn on debugging (default is 0)
Note: This flag may change in the future.
Flags: The following are valid values:
0 - no debugging
1 - writes to module, very verbose
2 - verse start and end
4 - quotes, esp. Words of Christ
8 - titles
16 - inter-verse material
32 - BSP to BCV transformations
64 - v11n exceptions
128 - parsing of osisID and osisRef
256 - internal stack
512 - miscellaneous
This argument can be used more than once. (Or
the flags may be added together.)

See for more details.


Posted by dmsmith at Feb 1, 2011 7:29:18 PM
Re: Osis2mod commandline arguments for windows
Your second post gave the answer to your question and a pointer to further documentation. If you need more help join the sword-devel mailing list with specific questions.

Here is the further documentation: