This is a script for the linux AutoKey utility that will allow you to insert bible text or dictionary entries from modules you have installed for The SWORD Project into your documents, similar to how WORDsearch's ZIPscript utility works in Windows. It works with OpenOffice, plain text editors, instant messengers, and other programs.
It uses the python bindings to The SWORD Project if available, and diatheke if they're not available.
It's relatively straightforward to use. First it shows you a list of bibles and dictionaries that you have installed and asks which one you want to use. Then it asks you to type in a bible reference or dictionary key to retrieve. After that it asks what options you want to enable. (Currently "rich text", strongs numbers if available, and long descriptions of bibles). The rich text works well for OpenOffice and other programs that understand CTRL-B, CTRL-I, and CTRL-U for bold, italic, and underline. (no other rich formatting is used). It even remembers previous selections.
Anyway, here is the script. It's not the best solution but its the only way to do this sort of thing that I'm aware of right now. I changed how it outputs text which has improved the speed a lot. I still think it's a little slow though at times, especially when there is a lot of formatting present. Other than that it works reasonably well. If you have any problems with it or suggestions for it please contact me. It's public domain. Use as you wish. (last updated: April 15, 2010)
NOTE: This script does NOT work properly with AutoKey 0.70.1 or earlier. Be sure and use at least version 0.70.2 of AutoKey.
A long time ago, when I was just learning how to write python scripts, I wrote a very poor quality gbf2osis converter to convert the GBF texts from ebible.org to OSIS. I no longer update it as the main format for the bibles there is now usfm. It is public domain.
I wrote my own USFM to OSIS converter in python. There are several reasons for this:
It's quite fast. Only takes about 10 seconds to process the World English Bible on my computer. The output validates against the OSIS 2.1.1 schema. No markup errors are reported by osis2mod when generating a World English Bible module for use with The SWORD Project software using the output from this script.
NOTE: If you have any problems with these modules, please contact me about them. DO NOT CONTACT The SWORD Project about them.
I used to have several other bible modules (web, hnv, and asv) here. I took the links down as they are outdated and shouldn't be used. Use the official ones instead.My KJVN is based on the osis source for the official kjv modules available for The SWORD Project. In the past I used a very poor quality python script which I wrote that reads the kjvlite source, removes some markup and content (leaving the actual bible text intact of course), and adds paragraph formatting. It worked fine at the time I wrote it. I probably doesn't work fine now. It's public domain. use it however you wish. I have written a new script which I will upload in the near future when I upload a new version of my KJVn module.
Some people might question why I've added paragraph markup to my kjvn. Mainly because I wanted paragraph markup. Reading it in paragraphs makes it easier for me to understand. It has been done in the past too. A quick search on google books revealed several printed KJV bibles with paragraph formatting. One example would be "The Paragraph Bible" printed in 1838.
Here are some modules for The SWORD Project that were created by other people.
I'm not going to be contacting any other companies that hold the rights to commercial bible translations to try and get permission to make those bible translations available for use with The SWORD Project software. The effort that has to be put into trying to getting permission to make them available is not worth it when there is never any progress made. In addition, there are some VERY VALID concerns that these companies have with regards to making their translations available for The SWORD Project. And I'm not in a position to provide any reassurances whatsoever with regards to their concerns. Also, even if I DID get permission, it's unlikely that very many people would even know that the translations were available. It's not like my little personal webpage is very well known. So I will let others work towards getting permission to make commercial bible translations available for use with The SWORD Project software.
I tried to obtain permission to make the NIV available for use with The SWORD Project software. Unfortunately IBS-STL (now Biblica) has no interest in allowing it to be used with The SWORD Project or even on a linux based operating system. Their response to my request stated this: “Our policy at this time does not allow us to release the NIV database to individuals or for use in Linux based, open source or shareware software products; therefore IBS-STL will not be granting your request for use of the NIV.”
The ESV and WEB are both comparable to (and some would say better than) the NIV and are available for The SWORD Project. I would recommend using one of those instead.
I tried to obtain permission to make the NASB available for use with The SWORD Project. Unfortunately, I can't get permission because they've already given the developers of The SWORD Project permission to make the module. Your guess is as good as mine as to when or if that will happen. It's been in progress since at least 2004 with no signs of being finished anytime soon. I keep hoping that one day whoever is responsible for making it available for The SWORD Project will take it seriously enough to actually finish it so that those of us who want to use this bible translation will finally be able to do so. However, I tend to believe that it will never be finished. Perhaps they will prove me wrong though. That would be nice.
I tried to obtain permission to make the NKJV available for use with The SWORD Project software. Unfortunately, Thomas Nelson turned down my request. Perhaps someone at Crosswire Bible Society will look into making it available one of these days. They'll probably have much better luck than I did with regards to getting permission to make it available. Until then, there are four alternatives that are already available for The SWORD Project: The American King James Version (AKJV), the Updated King James Version (UKJV), the Bond Slave Version (BSV), and Green's Modern King James Version (MKJV). I would recommend using one of those for now.
The creator of this translation has allowed me to make a module for use with The SWORD Project software and given me permission to use it. However, I cannot distribute it to anyone because the creator of this translation has developed a very strong animosity towards The SWORD Project and has decided that he doesn't want people to be able to use The SWORD Project software to read his translation.