[sword-devel] Verses in GBF file don't appear for a new module

Troy A. Griffitts scribe at crosswire.org
Mon Jan 15 10:25:12 MST 2007

Thanks Karl,
	There is also a gbfidx utility under sword/utilities/, but this is very 
old and may not work anymore.  If it does work, it should work directly 
from the gbf file and produce the files needed.


Karl Kleinpaste wrote:
> Terry Edmunds <terry at edmunds-enterprises.com> writes:
>> BlockType=Book
> BlockType is useful only for compressed modules, i.e. ModDrv=zText.
> You can remove this for now.
>> I tried naming the file everything under the sun but abcd.gbf seemed to 
>> be the logical choice. I placed it under ./modules/texts/rawtext/abcd/ 
>> and the conf file is located in mods.d/abcd.conf
> (Caveat: I haven't surfed up the instructions you mention.  But I've
> been building a bunch of Bible modules myself for some time now.)
> Ultimately, a rawtext module has to come down to 4 files: ot, ot.vss,
> nt, nt.vss.  ot and nt are the textual content, and *.vss are indices
> into them.
> GBF is a reflection of the type of markup in the file, but that
> doesn't help Sword find it in the first place.  You need to create
> something in e.g. "import" format, which looks like
> $$$Genesis 1:1
> In the beginning God created the heavens and the earth.
> $$$Genesis 1:2
> [etc.]
> Then the individual verses get GBF markup.  When you have it in that
> format, then "imp2vs ThatFileName ~/.sword/modules/text/rawtext/abcd".
> For comparison, "mod2imp RWebster > /tmp/rweb.imp" and look over the
> result.  (RWebster is also a GBF-formatted Bible.)
> _______________________________________________
> 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

More information about the sword-devel mailing list