mvnForum Homepage

Print at Mar 14, 2010 9:33:54 PM
Posted by ebgd7 at Jan 8, 2005 12:08:01 AM
confused   OSIS import creates general book, not bible
Hi!
I am doing the conversion of NWT version from html pages to osis. Right now the problem is that althou the module imports correctly (generates module without problems) the resulting module appears in 'general books' in sword not in 'bibles'. Is there a special osis tag that should be used to correct this behaviour?

and second problem. Can anyone direct me to a place where i could find the differences in versifcation between KJV and NWT?

Greetings

Posted by ebgd7 at Jan 8, 2005 12:25:02 AM
confused   OSIS import creates general book, not bible
I forgot to post the osis header - that might help in finding where the problem is:
-----
<?xml version="1.0" encoding="UTF-8"?>
<osis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.bibletechnologies.net/osisCore.1.1.1.xsd">
<osisText osisIDWork="NWT" osisRefWork="Bible">
<header>
<work osisWork="NWT">
<title>New World Translation</title>
<identifier type="OSIS">Bible.NWT</identifier>
<language>en</language>
<refSystem>Bible.KJV</refSystem>
</work>
<work osisWork="Bible">
<refSystem>Bible.KJV</refSystem>
</work>
</header>
<div type="Old Testament" osisID="ot">
<div type="book" osisID="Gen">
<div type="chapter" osisID="Gen.1" >
<verse osisID="Bible:Gen.1.1">
In [the] beginning God created.......
---------------------
Any suggestons/

Posted by ebgd7 at Jan 11, 2005 2:12:52 AM
Re: OSIS import creates general book, not bible
So it really looks like 'self support forum' :-) as I've found solution myself. Sword simply disallows to import osis bibles in pure osis format as the only tool available xml2gbs creates general book which appears in the different part of the window.
In my case the solution was to generate imp file in aparalell with .osis file and using imp2vs to generate bible module. Inside imp file the verses were tagged with osis tags.

Posted by jansorg at Jan 11, 2005 3:17:36 AM
Re: OSIS import creates general book, not bible
The tool osis2mod creates a Bible from an OSIS XML source file. I'm not sure at the moment if the tool is available on Windows.

Joachim

Posted by ebgd7 at Jan 11, 2005 4:01:55 AM
Re: OSIS import creates general book, not bible
The tool osis2mod creates a Bible from an OSIS XML source file. I'm not sure at the moment if the tool is available on Windows.

Joachim


You were right Joachim, this tool is simply not available on Windows - otherwise I'll not waste time creating .imp file ;-) I simply didn't know it existed. Thank You for the information

Posted by hamletmun at Feb 3, 2005 2:57:40 PM
Re: OSIS import creates general book, not bible
How are you, ebgd7?
If you send me your NWT osis xml, I'll convert it for you.
I'm using gnomesword in linux, so already have osis2mod installed.

Posted by ebgd7 at Feb 7, 2005 2:02:18 AM
smile   Re: OSIS import creates general book, not bible
How are you, ebgd7?
If you send me your NWT osis xml, I'll convert it for you.
I'm using gnomesword in linux, so already have osis2mod installed.

Thank You for Your generous offer. The bible module I'm currently working on needs a lot of work - especially proof-reading and KJV verse tuning so It will take considerable amoun t of time (half a year at least if noone will help me) - I hope that during this time new version of Sword for Windows will finally surface :-)
I'm working on the Polish Bible that is already available (New Testament) in the Sword Project. My addition is inclusion of footnotes and references and also addition of Old Testament. And Yes we have the copyright owner permission (hooray!!).

Right now I'm simply generating IMP files with OSIS markup and it works althou maybe not perfectly.
Greetings!

Posted by Osk at Feb 7, 2005 3:31:36 AM
Re: OSIS import creates general book, not bible

Thank You for Your generous offer. The bible module I'm currently working on needs a lot of work - especially proof-reading and KJV verse tuning so It will take considerable amoun t of time (half a year at least if noone will help me)


Just a note: you should never ever change the versification, especially if you plan to submit a module to CrossWire for posting. Versification is handled automatically inside of osis2mod, imp2vs, etc. Doing manual re-versification ruins a Bible so that it is not usable by us in the future, when we add support for multiple versifications.

Posted by hamletmun at Feb 7, 2005 4:18:53 AM
NWT source
Did you get the NWT text file from the WTLIB?
If you can help me, maybe I can extract the bible from my Korean and Spanish WTLIB03.

Posted by ebgd7 at Feb 7, 2005 2:17:08 PM
Re: OSIS import creates general book, not bible
osk: of course You are right, it should not be done but:
- Polish Biblie Gdanska available from polish sword project pages was hand re-versified to KJV last year to make it useable in sword
- althou it is possible and highly desirable that new sword version handling multiple versification systems / apocrypha will emerge within lets say 6 months, the only other possibility is verse hand tuning to KJV and using currend sword version (I use only windows version). There are something like 300 versification differences between KJV and Polish bible thou.
As I'm working on the OSIS file I'll retain the original file with original versification, and do the hand-tuning unless new sword version will be available. Right now I've finished the automatic conversion based on html sources and I;ll begin the time consuming proofreading and formatting against printed original.
hamletmun: no, the source of NWT-sword was the html pages available at watchtower site .
Greetings

Posted by Osk at Feb 18, 2005 2:01:09 AM
Re: OSIS import creates general book, not bible
osis2mod will happily import any OSIS Bible, regardless of its versification. All verses will be incorporated in a systematic way (by adding them to the previous valid verse). This is honestly the best way to do modules because front-ends have the option of printing verse tags internal to the verse (which are maintained by osis2mod). You won't be able to reference or select non-KJV verses directly, but they will be displayed and they can have their verse numbers displayed in frontends that support this option.

osis2mod does not currently like deuterocanonical books, though. We might handle that somehow before we release the final 1.5.8 version of osis2mod, but currently it will try to add deuterocanonicals into Revelation. To import a Bible that has deuterocanonicals, you need to delete the deuterocanonicals from the OSIS file first.

Posted by Osk at Feb 18, 2005 2:08:07 AM
Re: OSIS import creates general book, not bible
osis2mod is now available at : http://crosswire.org/ftpmirror/pub/sword/utils/win32/

You will also need icudt28l.dll, which is in a zip in the same directory. The other exes on the site are also updated.

Please report bugs to us at sword-support@cosswire.org
Also, please make sure you're trying to import valid OSIS. I looked at the OSIS in the second message in this thread and I can see that it isn't validated. Please use a validator to check against the current schema. Thanks!

Posted by ebgd7 at Feb 19, 2005 6:58:46 AM
biggrin   Re: OSIS import creates general book, not bible
OSK: THANK YOU
osis2mod was really the tool I was waiting for. Thank You for Your advice on deuterocanon (first run was a suprise for me - so much landed in The Revelation blushing ). The version of automated reversification is ok for now. I hope BibleCS would display this 'internal verse numbers' also. Pershaps in the future some other way can be implemented (maybe something like in CCEL ?).
I'm really happy to read, that import of deuterocanonical books is on the schedule on 1.5.8 version - this is indeed great news for Polish Sword community!

Also true about the validation. The xml was not yet validated and I'll do it ASAP.

THANK YOU!!