[sword-devel] Picture Bible proposal

Karl Kleinpaste karl at kleinpaste.org
Tue Aug 21 14:06:59 MST 2007


"Greg Hellings" <greg.hellings at gmail.com> writes:
> Do any of the front-ends have a well-defined method for specifying
> images and their source URI's?  I remember running into a problem in
> BibleTime and Gnomesword a few years ago when trying to include images
> in a module and there was no method of specifying a source directory.

Images are anchored in the pseudo-root of the module itself.  So e.g.
the GnomeSword manual, a ThML module, contains things like
    <img src="/images/logo.png">
where "images" is actually
    /home/karl/.sword/modules/genbook/rawgenbook/gnomesword/images

Bible Atlas Online and Peter's recent Persian Bible Atlas work the
same way.

This is defined by Sword itself, not by the front end.

> I think that the effort is very worthwhile and could lead to use of
> the Sword Project for containing sign language translations and other
> alternative translations, as well as generally enhance the types of
> General Books which could be supported by the Sword Project.

It's not just genbooks that can have graphical content; any module can.
I built bible.org's map set as a lexdict module.



More information about the sword-devel mailing list