mvnForum Homepage

Print at Oct 24, 2014 11:24:17 PM View all posts in this thread on one page
Posted by hermeneutes at Feb 13, 2004 2:41:48 PM
More module making problems
I tried to use the mod2osis utility to reverse engineer a module to see what the correct osis markup should be, but the utility tells me it can't find the mods.conf (is it a file or directory?) which indeed does not exist anywhere in the Sword installation directory or mods.d i know that mods.d is a directory so I set the SWORD_PATH variable to the path leading to mods.d (with the mods.d directory name at the end of the path) in the Control Panel of my Windows XP, but it still can't find the module.

I am getting desperate... ;) I think that the usage messages are insufficient, and a more detailed user documentation for the utilities would be helpful.

Regards,

Piotr

Posted by Osk at Feb 18, 2004 1:07:30 PM
Re: More module making problems
mod2osis does not necessarily generate good OSIS markup according to any version of the specification, and it definitely does not generate valid or best-practice conformant markup according to the latest version of the specification.

That said, just put mod2osis in the home directory of your Sword installation and it will work fine.

Posted by hermeneutes at Feb 18, 2004 2:56:22 PM
Re: More module making problems
Thanks. :) I got mod2osis to work half-way, i.e. it now finds the files I want it to convert, but it complains that something is not supported and dies.

Oh well, I must forget about reverse engineering modules and read up more about OSIS myself. :)

Piotr

Posted by kb2qzv at May 19, 2004 2:32:04 AM
Re: More module making problems
Hi Piotr, how is your reading about OSIS going? Do you have any advice for a newbie?

I'd hate to manually insert tags in a text. Would Openoffice be of any help in this.
I know that there's an OSIS schema that one can somehow use as a help in inserting tags. Could you guide me through it?

Thanks for any help.
Benedict
----------------------------------------
regards,
Benedict.

Posted by hermeneutes at Jun 28, 2004 2:03:17 PM
Re: More module making problems
Hi Piotr, how is your reading about OSIS going? Do you have any advice for a newbie?


Hi Benedict,

First of all, sorry for a rather late reply. I was migrating to a new computer and generally busy with other things.

I've read some, but The Sword Project does not support the latest OSIS specification. There is info on what it supports in some other module making thread.

I'd hate to manually insert tags in a text. Would Openoffice be of any help in this.


I think it could be done in OpenOffice, but you would have to create styles corresponding to specific tags, and then create an XML filter that would save the document to an OSIS tagged file.

I know that there's an OSIS schema that one can somehow use as a help in inserting tags. Could you guide me through it?


Well I have not used a schema, I have just used a few NoteTab Pro macros, called clips, that help me insert OSIS tags, and call the vs2osisref.exe utility that converts verse references to the OSIS conformant format. They should also work in NoteTab Light (if you use Windows, that is). See www.notetab.com for more information. I can send you my macros if you're interested or post them somewhere.

Best regards,

Piotr

Posted by Ingo at Jul 14, 2004 2:33:15 PM
Re: More module making problems
I know it is a VERY unorthodox attitude - but IMHO the quickest way to have an absolutely private use Bible module (if you have an e-text of the Bible) is to use prn2sword tool and very simple tagging (all you have to do is to replace "and-of-line" by a sequence of signs, write file as rtf and use prn2sword tool).
----------------------------------------
Ps 1:1-2

Posted by hermeneutes at Jul 16, 2004 2:00:05 AM
Re: More module making problems
Sure, I also used vpl2mod (which creates a module from the "verse per line" format.

HTH

Piotr

Posted by Ingo at Jul 16, 2004 10:22:35 AM
Re: More module making problems
vpl2mod is excellent - if I only had source text with exactly the same bersification as KJV.

I personally prefer prn2sword for 1 reason: it stops every time when a problem occurs, showing what the problem is (e.g. "expected Gen 21:17 met 18") - and I can make corrections.
When I was trying vpl2mod I only saw "problem", repeated n times.

But I didn't know that there are so many differences in verse numbers between KJV and polish Bibles (over 300).

Best regards
----------------------------------------
Ps 1:1-2