BibleMultiConverter

409 views
Skip to first unread message

Phil Oreo W Fields

unread,
Mar 22, 2019, 9:34:39 AM3/22/19
to bibledit...@googlegroups.com
I'm trying to run 
java -jar BibleMultiConverter.jar
I am using an Ubuntu based distro. The instructions for getting this to work might be written for Windows. Anyway, I don't understand what I need to do to install Java to run the converter. I am assuming that the jar program will ask for a zip of my Bible to perform the conversion. Is that right?

Will the output include cross references and footnotes?

Thanks,
Phil

===============
Phil Fields      
Indonesia and Whatsapp: +6285 770 333 734

303 Ryan Ct., Siloam Springs, AR 72761

albata.info
          Firman Allah adalah Kunci Kehidupan
===============

Teus Benschop

unread,
Mar 22, 2019, 10:28:11 AM3/22/19
to bibledit...@googlegroups.com
Hello Phil,

On the Ubuntu distribution, the following command would instal the Java Runtime Environment:

apt install default-jre


This will install the "java" program that you need for converting the Bible data.

You mentioned the instructions at https://github.com/bibledit/converters/tree/master/BibleMultiConverter but the more simple and relevant instructions are at https://github.com/bibledit/converters.

The above instructions explain where to put your USFM data, and how to point the multiconverter to it.

Whether it will include the footnotes and the cross-references, I expect the converter to do so.

If the notes or references won't be included, then the developer of the multiconverter will be able, hopefully, to make the converter to include them.

Cheers,

Teus.

Matthew A. Postiff

unread,
Mar 22, 2019, 1:43:23 PM3/22/19
to bibledit...@googlegroups.com

sudo apt install default-jre

<and provide your password when asked>

--
You received this message because you are subscribed to the Google Groups "Bibledit-General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibledit-gener...@googlegroups.com.
To post to this group, send email to bibledit...@googlegroups.com.
Visit this group at https://groups.google.com/group/bibledit-general.
For more options, visit https://groups.google.com/d/optout.

Oreo Warpok

unread,
Mar 22, 2019, 9:39:19 PM3/22/19
to bibledit...@googlegroups.com
Thanks to you both!

But it still doesn't work for me. I installed JRE. Thanks for the instruction on that.

I downloaded the BibleMulitConverter.jar from this location: https://github.com/bibledit/converters/tree/master/BibleMultiConverter

You can see the command I gave here:
Screenshot_2019-03-23_08-36-09.png
I did another ls command to show that I have changed the Bible subdirectory to TSI.
The terminal is logged into the directory holding all the files.
Between the two runnings of the command, I re-downloaded the BibleMultiConverter.jar file (as mentioned above).

So if the converter jar file now corrupt at the site, or is my command line wrong?

Thanks,
Phil

===============
Oreo Phil                 479-524-7005

      One King to rule them all, One Son to find them,
      One Blood to cleanse them all, And from the dark unbind them.
===============

Matthew A. Postiff

unread,
Mar 22, 2019, 10:27:34 PM3/22/19
to bibledit...@googlegroups.com

Did you download the file as a text file or binary file? It should be binary.

Try to use the command 'file' on the jar file and see what it reports. On my msys2 system, after I downloaded the link on the github page, I got this:

$ file BibleMultiConverter.jar
BibleMultiConverter.jar: HTML document, UTF-8 Unicode text, with very long lines

This shows that the file is an HTML file. Did you not download the jar file, but instead the html page that describes the jar file?

So then I tried the Download button on that page (I didn't see it before), and I got this:

$ file BibleMultiConverter.jar
BibleMultiConverter.jar: Zip archive data, at least v1.0 to extract

That looks promising.

Maybe you will find something similar...

Oreo Warpok

unread,
Mar 24, 2019, 9:14:34 PM3/24/19
to bibledit...@googlegroups.com
Matthew!
You were RIGHT!
I did find the download button, and the file command seemed to work, as you can see in the screen shot.
But I got errors, which I assume might be because of an ill-formed command.
Or maybe it is ill-formed USFM?

Screenshot_2019-03-25_08-11-10.png
Now what have I done wrong?!
Thanks,
Phil
===============
Oreo Phil                 479-524-7005

      One King to rule them all, One Son to find them,
      One Blood to cleanse them all, And from the dark unbind them.
===============

Matthew A. Postiff

unread,
Mar 24, 2019, 11:05:15 PM3/24/19
to bibledit...@googlegroups.com

Hi Phil,

I'm a bit out of my league when it comes to debugging Java programs, since I've never written one. But it appears that there is a missing class. Perhaps there is a library that you need to install or include in the command line. Sorry I can't be of more assistance. The author of the .jar file would be the best person to get involved...is that Teus?

Matt

Teus Benschop

unread,
Mar 25, 2019, 11:26:49 AM3/25/19
to bibledit...@googlegroups.com
Hi Matt, I'm not the author of the .jar file, that is, the software developer of the Java program that ends up in this .jar file. I just followed the steps written down by the software's author to create this .jar file and host it on GitHub.
Phil, do you also have the file named "BibleMultiConverter-schemas-0.0-SNAPSHOT.jar" in the "lib" folder?
Here's a screenshot of how it would look:
Screenshot 2019-03-25 at 16.22.14.png
When downloading the file "BibleMultiConverter.jar" only, then it won't get the accompanying stuff, but when following the steps outlined at https://github.com/bibledit/converters at the "Installation" heading exactly, you'll get that stuff also.
Cheers,
Teus.


Oreo Warpok

unread,
Mar 26, 2019, 5:48:46 AM3/26/19
to bibledit...@googlegroups.com
Boy, am I thick, or what?!!
Thanks, Teus!
This is maybe the 64th time that you have had to tell me to read the instructions and follow them exactly.
It worked!
But where in the process of the two commands does one put in the name of the Bible that will show up within QuickBibles/Alkitab Yuku?
In the menu system my new TSI Bible has the name (.
Just an open parenthesis mark.
Would the name be given in the USFM, or is there an addition to the commands to give the name.
It does not seem to be dependent on the name of the file itself.

The other thing that I would like to report is that the Bible is now complete in the App showing combined verse numbers and footnotes and cross references. Also it is showing the poetry lines. So this export is now quite beautiful. 

Thanks so much for your help.

Phil
===============
Oreo Phil                 479-524-7005

      One King to rule them all, One Son to find them,
      One Blood to cleanse them all, And from the dark unbind them.
===============

Teus Benschop

unread,
Mar 26, 2019, 11:15:38 AM3/26/19
to bibledit...@googlegroups.com
Hi Phil,

Haha, I know, "when all else fails, read the instructions", that's what I usually do too. :)
A month or so ago I had the same error message as you got, so I remembered... :)
By the way, as to the question about the name of the Bible, I guess I won't know the answer, but I'm confident that the author of the BibleMultiConverter knows the answer. His software is on GitHub, it's here: https://github.com/schierlm/BibleMultiConverter. I guess once you've got the answer to the question, folks here would be glad to know how you got it fixed.
Good news that the app now shows footnotes and refs, great work, plus the poetry lines. I'm happy that this MultiBibleConverter is so much better as what Bibledit had initially.

Good luck!

Teus.

Oreo Warpok

unread,
Apr 1, 2019, 8:41:23 PM4/1/19
to bibledit...@googlegroups.com
Looking through back emails from Randy, I found the answer to my naming problem for the QuickBibles export. He wrote:

The YET file that I use to make the YES file is attached. I edited the header, from:

info shortName YESTSIexport
info longName YESTSIexport
info description YESTSIexport
info locale en
book_name 67 Front Matter

to:

info shortName TSI2
info longName Terjemahan Sederhana Indonesia edisi 2.3
info description Terjemahan Sederhana Indonesia edisi 2.3 https://albata.info
info locale in

My current export only had one line:
info shortName   (
And that is why the name of the translation was (.

In the previous case, Front Matter was deleted by Randy from the listing at the top. So I assume that he does not like including the Front Matter, which might cause display problems.

Phil

===============
Oreo Phil                 479-524-7005

      One King to rule them all, One Son to find them,
      One Blood to cleanse them all, And from the dark unbind them.
===============

--

Teus Benschop

unread,
Apr 2, 2019, 1:23:59 AM4/2/19
to bibledit...@googlegroups.com
Thanks for informing us about how to edit the name of the Bible!
Reply all
Reply to author
Forward
0 new messages