[sword-devel] Looking for vpl reference
Mike Hart
just_mike_y at yahoo.com
Fri Jun 10 16:20:32 MST 2011
to use it, you unzip the file to a directory.
some versions of windows can handle zip files natively. if you see it as a folder and can browse the files, then just drag the files to another directory. You need to have all the files in the same directory.
If you can't see the files in the zipped folder, you need to get a program that can deal with zip files. I recommend 7zip. ( http://www.7-zip.org/download.html )
How to use it in WINE... that really depends on what flavor of linux you are using, and I'm currently on an outdated version of PCLinuxOS, so my advice there is not going to be good for you.
How to use it once you have all the files in a folder and a windows command prompt:
> start ... run ... cmd (enter) or ALT-F2 cmd (enter)
This should open a windows command shell
$ cd (C:your\bible\work\folder\) (enter)
$ vpl2mod (enter)
This should give you a list of options for encoding your file
for me the command I use is
$ vpl2mod.exe BLE-vpl-ready.txt . 1 0
where ble-vpl-ready.txt is the file (that i've copied to the same folder as the exe file) i'm converting.
the next dot tells the program to drop the converted files into the same directory.
the 1 says that each row begins with a verse reference
the 0 says i'm converting the whole bible (old testament AND new testament)
The modules appear as OT and NT and usually there are 2 other files. You will also need a module.conf file, but your other emails say you understand that part of the process ok.
HOWEVER: your latest post says you are creating an IMP type file, not a VPL type file. to create a sword module from IMP type files do a similar process
$ IMP2MOD.exe (enter) --> gives you the options you need to include ....
IMPort files have more options because the IMP format can be used for any type of sword module, where the VPL (verse per line) assume you are importing text or verse for verse commentaries. I've created modules from import files, but not ones that work with BibleTime.
When you get into IMPort files, the Sword team has made statements about not supporting this type of format for module creation any longer, and some of the front end programs may no longer be able to read the output file. This is because the Import format includes much more support for formatting (centers on the screen, etc.) the VPL type files are also no longer officially supported, but if you stick with plain text VPL files, there is very little chance your module will do something that the bible reader programs no longer support.
Hope this is helpful.
If you want or need help converting your import file into a VPL file, I can assist. I use a variety of programs to accomplish the task (mostly microsoft excel or open office calc.) so typing out the process would be tricky.
--- On Fri, 6/10/11, Angel Candelaria <linuxarecibo at gmail.com> wrote:
From: Angel Candelaria <linuxarecibo at gmail.com>
Subject: Re: [sword-devel] Looking for vpl reference
To: "SWORD Developers' Collaboration Forum" <sword-devel at crosswire.org>
Date: Friday, June 10, 2011, 8:58 AM
Ok, found a copy of sword utilities at the ftp server.
How do I use it in Windows (i'm sorry, I'm a Linux user - there's been a while...)?
Or how do I run it on Wine?
On Fri, Jun 10, 2011 at 9:33 AM, Angel Candelaria <linuxarecibo at gmail.com> wrote:
I tried to download the vpl2mod.exe (for Windows) but seems that the link is broken. Is there any other link available? Or maybe someone can provide a copy.
Thanks.
On Fri, Jun 10, 2011 at 9:01 AM, Mike Hart <just_mike_y at yahoo.com> wrote:
I had that problem (terminating characters) on linux, but not on windows. When I didn't have a windows box, I found that the vpl2mod.exe command under wine worked better than the vpl2mod script. In my case the incoming trouble had to do with the file I was working on being saved by open office as a .CSV (tab separation)
--- On Fri, 6/10/11, Angel Candelaria <linuxarecibo at gmail.com> wrote:
From: Angel Candelaria <linuxarecibo at gmail.com>
Subject: Re: [sword-devel] Looking for vpl reference
To: "SWORD Developers' Collaboration Forum" <sword-devel at crosswire.org>
Date: Friday, June 10, 2011, 7:42 AM
Thanks for the info.
Anyway, seems I almost got it working, following
the brief
instructions on the man page of vpl2mod (I'm using Linux, by the way).
I only have one problem: When I open the module on a viewer (I'm
testing it on Xiphos), it lacks spaces between the words. Here's an
example of Genesis 1:1 as it is displayed, so you understand what I'm
talking about:
"ENelprincipio creó elPoderosolos cielosy latierra."
It should be displayed as "EN el principio creó el Poderosolos cielos
y la tierra."; some spaces between words are missing. This problem is
present throughout all the bible module. Maybe some encoding problem?
By the way, when I compile the module with vpl2mod, I get a lot of
"problem" errors on the terminal, and occasional "ERROR: short read of
terminating char in readline" errors too.
On Fri, Jun 10, 2011 at 8:13 AM, Brian J Dumont
<brian.j.dumont at gmail.com> wrote:
> Angel,
>
> The link that you reference is not VPL, it is OSIS. That's why vpl2mod
> fails.
>
> Sorry, I don't have any example vpl files.
>
> Brian
>
>
>
> On 06/10/2011 06:48 AM, Angel Candelaria wrote:
>>
>> Hi all.
>>
>> I'm new in this list, as you can tell. Please excuse me if my
>> questions shout out "NOOB" all over the place.
>>
>> I'm working on a Spanish module based on the public domain SpaRV 1909.
>> Seems that it uses KJV versification, so I'd like to try and format
>> it as vpl and convert it to a Sword module. But since I'm new at
>> module making, I'm looking for a vpl source to use as a reference;
>> just something I can look at and compare my work
to.
>>
>> Can someone point me out to a link where I can find vpl sources I can
>> use as reference? I found this page
>> http://crosswire.org/~dmsmith/kjv2006/ . I tried to run one of the vpl
>> text's found at the bottom of the page through vpl2mod (just as a
>> practice) but I got some errors (maybe those texts are not made for
>> that, but I don't know)
>>
>> Thanks.
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your
settings at above page
>
>
> --
> -----------------------------------------------------------------------
> The question is not "Have you accepted Jesus into your heart", but "Has
> Jesus accepted you into His heart?"; not "have you given your whole
> life for God", but "has God given His whole life for you"
> - Pr Bryan Wolfmueller, 2010
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
_______________________________________________
sword-devel mailing list: sword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
-----Inline Attachment Follows-----
_______________________________________________
sword-devel mailing list: sword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20110610/c6f9b2cf/attachment.html>
More information about the sword-devel
mailing list