<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I have been trying to run the sword utilities for about a week now. i have tried to find information on the exact line to use in the command prompt i am running windows xp sp3, osis2mod wont run from the folder it is in, i have to run it from cmd. When i run it from the folder it appears breifly and dissappears, so i have to drag the exe to the command prompt, i dont know if this is normal. <br>if someone could paste an example of what string to use to make a module that would be great. Here is some of what i have tried through the prompt<br><br><br><br><br>C:\Documents and Settings\All Users\Application Data\Sword>echo off<br>------------------------------------------<br>addld: Lexicon and Dictionary creation tool<br>diatheke: multi-purpose command-line frontend<br>imp2gbs: General Book creation tool<br>imp2ld: Lexicon and Dictionary creation tool<br>imp2vs: VPL Bible/Commentary importer<br>installmgr: command-line module installer<br>mkfastmod: command-line module indexer<br>mod2imp: export module to imp format<br>mod2osis: export module to osis format<br>mod2zmod: compress a sword module<br>osis2mod: create Bible/Commentary/General Book from OSIS<br>tei2mod: create Lexicon/Dictionary from TEI<br>uconv: convert files from one character encoding to another<br>vpl2mod: import from VPL file<br>vs2osisreftxt: return an OSIS reference for any reference<br>xml2gbs: import from OSIS/ThML to a General Book<br>for more information, tutorials, and explanations of file formats, see http://cr<br>osswire.org/wiki<br>---------------------------------------<br>Microsoft Windows XP [Version 5.1.2600]<br>(C) Copyright 1985-2001 Microsoft Corp.<br><pre>You are running osis2mod: $Rev: 2571 $
OSIS Bible/commentary module creation tool for The SWORD Project
usage: utils\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:
Catholic
Catholic2
German
KJV
KJVA
Leningrad
Luther
MT
NRSV
NRSVA
Synodal
SynodalP
Vulg
-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 http://www.crosswire.org/wiki/osis2mod for more details.
<br>here is some of the errors i am getting<br></pre><br><br><br>C:\Documents and Settings\Christopher Two>C:\Documents and Settings\Christopher Two>osis2mod <"C:\Documents and Settings\Christopher Two\My Documents\bible programming\Modules\text\ztext\bible"> <"C:\Documents and Settings\Christopher Two\My Documents\bible programming\osis\working File 3~.xml"><br>< was unexpected at this time.<br><br><br>C:\Documents and Settings\Christopher Two\My Documents\bible programming\SWORD U<br>TILITIES><osis2mod . working File 3~.xml -z><"C:\Documents and Settings\Christop<br>her Two\My Documents\bible programming\Modules\text\ztext\bible"><br>< was unexpected at this time.<br><br><br>C:\Documents and Settings\Christopher Two\My Documents\bible programming\SWORD U<br>TILITIES><output/path>"C:\Documents and Settings\Christopher Two\My Documents\bi<br>ble programming\Modules\text\ztext\bible"<osisDoc>"C:\Documents and Settings\Chr<br>istopher Two\My Documents\bible programming\osis\working File 3~.xml"<br>The syntax of the command is incorrect.<br><br>thank you for the help<br><br><br><br> </div></body>
</html>