[sword-devel] howto: mod2osis

2006-05-25 Thread Jónatas Ferreira
Hi, I'm trying to learn how to create a general book module. In order to do so I'm trying to revert a module to OSIS format. Which file should I point as the module file? Thanks, Jónatas ___ sword-devel mailing list: sword-devel@crosswire.org http

Re: [sword-devel] howto: mod2osis

2006-05-25 Thread Greg Hellings
If you have Sword already installed, and module also installed, you don't have to point it to anything. You just have to give mod2osis the name of the module and it will find the files by itself. --Greg On 5/25/06, Jónatas Ferreira <[EMAIL PROTECTED]> wrote: Hi, I'm trying to learn how to cre

Re: [sword-devel] howto: mod2osis

2006-05-26 Thread Jónatas Ferreira
Hi Greg, I use MacSword and I only have a copy of sword compiled by Manfred to work on the Mac (PowerPC). Is the procedure the same? Thanks, Jónatas Em 2006/05/26, às 04:03, Greg Hellings escreveu: If you have Sword already installed, and module also installed, you don't have to point it t

Re: [sword-devel] howto: mod2osis

2006-05-26 Thread Greg Hellings
Hmmm, I haven't used sword on the Mac, but the version of sword that Manfred compiled, if it contains mod2osis, should work fine. Of course, it's possible that he didn't compile the utilities, in which case you can't use mod2osis, but the procedure should be the same. MacSword is just the program

Re: [sword-devel] howto: mod2osis

2006-05-26 Thread Jónatas Ferreira
Still unable to use it. It returns: #Jonatas-Ferreiras-Computer:~ jonatasferreira$ /opt/sword-1.5.8/bin/ mod2osis finney #error: /opt/sword-1.5.8/bin/mod2osis: couldn't find module: finney Can this be because MacSword uses a different method to install the modules? The path to the modules is

Re: [sword-devel] howto: mod2osis

2006-05-26 Thread Greg Hellings
Not being particularly knowledgable about Macs, again, I'm at a loss. It might have something to do with the module name (check Sword's mods.d/ directory for the name of the .conf file - which should be closely related to the name of the module) or with the SWORD_PATH environtment variable (check

Re: [sword-devel] howto: mod2osis

2006-05-27 Thread Manfred Bergmann
Hello. Yes. Change your current path to where the MacSword modules are installed. By default they are located in the same dir as MacSword. # cd /Applications/MacSword/Modules If you use mod2osis now with the correct name of the module, sword should find it. Regards, Manfred Am 26.05.2006

Re: [sword-devel] howto: mod2osis

2006-05-27 Thread Jónatas Ferreira
Hi Manfred,I tried what you said but it didn't work. Here's a transcript of the session.Jonatas-Ferreiras-Computer:/applications/MacSword/Modules jonatasferreira$ ls2BabDict.swd            Family.swd              PorBRP.swdAB.swd                  Finney                  Practice.swd <--- the mo

Re: [sword-devel] howto: mod2osis

2006-05-27 Thread Troy A. Griffitts
Jónatas, A couple issues: SWORD is case-sensitive. Try specifying the module name exactly. SWORD finds it's modules a number of ways. Not sure how your setup is configured on the Mac, but one sure way, as Manfred already pointed out, is to cd to the directory where the module

Re: [sword-devel] howto: mod2osis

2006-05-27 Thread Joachim Ansorg
Hi, go into the Finney dir and try again :) AFAIK each dir contains the mods.d and modules dirs. Joachim > Hi Manfred, > > I tried what you said but it didn't work. Here's a transcript of the > session. > > -- <>< Re: deemed www.bibletime.info ___ swo

Re: [sword-devel] howto: mod2osis

2006-05-27 Thread Jónatas Ferreira
Hi Joachim, Thank you! that was it! But now I have a new problem (lol). Here goes the transcript: --- Jonatas-Ferreiras-Computer:~ jonatasferreira$ cd /Applications/ MacSword/Modules/Finney Jonatas-Ferreiras-Computer:/Applications/MacSword/Modules/Finney jonatasferreira$ /opt/sword-1.5.8

Re: [sword-devel] howto: mod2osis

2006-05-28 Thread Greg Hellings
What kind of module is Finney? From the error message I would guess that mod2osis requires either a Bible (text) or Commentary (of the same name in the modules types). If Finney is a lexicon, dictionary or daily devotional, I don't think that this tool will work for you. --Greg On 5/27/06, Jón

Re: [sword-devel] howto: mod2osis

2006-05-28 Thread Jónatas Ferreira
What kind of module is Finney? From the error message I would guess that mod2osis requires either a Bible (text) or Commentary (of the same name in the modules types). If Finney is a lexicon, dictionary or daily devotional, I don't think that this tool will work for you. --Greg Finney is a

Re: [sword-devel] howto: mod2osis

2006-05-28 Thread Greg Hellings
General books are not "verse keyed" modules. Therefore, I don't believe that mod2osis will work with them... I could be wrong, though, but that's what the error message sounds like to me. --Greg On 5/28/06, Jónatas Ferreira <[EMAIL PROTECTED]> wrote: > What kind of module is Finney? From the

Re: [sword-devel] howto: mod2osis

2006-05-28 Thread Jónatas Ferreira
General books are not "verse keyed" modules. Therefore, I don't believe that mod2osis will work with them... I could be wrong, though, but that's what the error message sounds like to me. --Greg I was trying to revert the module in order to learn how to make a new one. How, then, can I con

Re: [sword-devel] howto: mod2osis

2006-05-28 Thread Joachim Ansorg
You can use mod2imp to revert it. Joachim > > General books are not "verse keyed" modules. Therefore, I don't > > believe that mod2osis will work with them... I could be wrong, though, > > but that's what the error message sounds like to me. > > > > --Greg > > I was trying to revert the module i

Re: [sword-devel] howto: mod2osis

2006-05-29 Thread Manfred Bergmann
Am 27.05.2006 um 20:57 schrieb Jónatas Ferreira: Hi Manfred, I tried what you said but it didn't work. Here's a transcript of the session. Sorry. I didn't think about using Bundles for modules on the Mac. ;) Thought you have installed the modules the "normal" way. Joachim is right, you ha

Re: [sword-devel] howto: mod2osis

2006-05-29 Thread Jónatas Ferreira
Sorry. I didn't think about using Bundles for modules on the Mac. ;) Thought you have installed the modules the "normal" way. Is there another way to install it on the Mac? I didn't know about that. How is it? Joachim is right, you have to go into every Bundle directory. "mods.d" and "modul

Re: [sword-devel] howto: mod2osis

2006-05-29 Thread Greg Hellings
This does present an interesting question: Ought mod2osis support all types of modules? If the attempt is to move all modules into being used in OSIS format as originals, then why not extend the functionality of mod2osis so that it properly works for all types of modules? --Greg On 5/29/06, Jó

Re: [sword-devel] howto: mod2osis

2006-05-30 Thread DM Smith
You can see the source for mod2osis here (It may have changed since 1.5.8 was released): http://www.crosswire.org/svn/sword/trunk/utilities/mod2osis.cpp In reading it I noticed a couple of things: I think that the text is being filtered from whatever internal format into OSIS. So if it is origi

Re: [sword-devel] howto: mod2osis

2006-05-30 Thread DM Smith
mod2imp won't change the format from ThML or GBF into OSIS. It merely dumps the keys and then the raw text. Joachim Ansorg wrote: You can use mod2imp to revert it. Joachim General books are not "verse keyed" modules. Therefore, I don't believe that mod2osis will work with them... I could

Re: [sword-devel] howto: mod2osis

2006-05-31 Thread DM Smith
Jónatas, AFAIK, there are no OSIS General Books so far. I took a look at xml2gbs, which you can use to create a GenBook from OSIS. (The other way is to use imp2gbs) The following is based on that quick look and might be a bit wrong. The -l flag indicates whether to use osisID or type, n and

Re: [sword-devel] howto: mod2osis

2006-05-31 Thread Troy A. Griffitts
SWORD does not currently have an end user tool to convert and export OSIS genbooks or lexicons. All software at CrossWire is not finished, and will always be such :) Anyone want to extend mod2osis to support this, it would be a great addition. The conversion to OSIS of an individual entry is

Re: [sword-devel] howto: mod2osis

2006-06-02 Thread Greg Hellings
On 5/31/06, Troy A. Griffitts <[EMAIL PROTECTED]> wrote: SWORD does not currently have an end user tool to convert and export OSIS genbooks or lexicons. All software at CrossWire is not finished, and will always be such :) Anyone want to extend mod2osis to support this, it would be a great addit