<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'>To use utilities<br>Go to the Utilities Folder , Shift + Right Click >> Open Command Window Here<br>You may need this power toy from microsoft for "Open Command Window Here" on XP, it exists by default in Windows 7<br>http://go.microsoft.com/fwlink/?LinkId=211471<br><br>Now you have Command Prompt opened in the utilities directory<br>this is an example for Mod2Osis utility (Note It's Case Sensitive)<br>This Command will convert the <b>Installed </b>KJV Module to Osis Xml file<br>mod2osis kjv>kjv.xml<br>-------------------------------------<br>Another utility to convert Osis to Module is osis2mod<br>Command<br>osis2mod Matt1 Matt.xml<br><br>Matt1 is the output destination folder<br>Matt.xml is the Osis Source text<br><br>Again, it's case sensitive so Matt is NOT Equal matt<br><br>Also it's better to install any sword frontend like Xiphos <br><br>Best Regards,<br>Pola<br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: christopherbr7@hotmail.com<br>To: sword-devel@crosswire.org<br>Date: Fri, 25 Jan 2013 18:09:40 -0500<br>Subject: [sword-devel] Hello, I need help with the Sword Utilities<br><br>
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:12pt;font-family:Calibri;}
--></style>
<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>
<br>_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page</div>                                            </div></body>
</html>