ThML isn't particularly used for Bibles... it's possible to shoe-horn
ThML into an import or a vpl format, but it's pretty much only used
for general books.  To do that you create a normal page, as you would
any HTML page, but with ThML as your root element, and then, around
the different levels of the GenBook (levels in the tree view of it)
you wrap nested <div1> <div2> <div3> ... tags (the number at the end
just denotes the level of the tree that you're at).  I think that you
supply the attribute name="title of section" into that <divX> tag to
title the section, but I don't remember that precisely.

If you want to make a commentary you're better to use either OSIS
(preferred) or, if you really want to be ornery, use imp format and
put ThML (HTML for markup and <scripRef> for scripture-reference
links) markup inside of the verses.  But that's not a great idea, as
the HTML presentation part of ThML is not supported by all
front-ends... You're best to use OSIS for Bibles and Commentaries
(though the two examples that you give are already available on the
Crosswire website...).

Cheers!

--Greg

On 3/12/07, Luke Plant <[EMAIL PROTECTED]> wrote:
> Bump!
>
> In summary, can anyone point me to example ThML sources for commentaries
> and general books, in the form immediately before conversion to Sword
> modules?  e.g. MHC and Calvin's Institutes would be good.
>
> I was hoping initially that you could do the reverse of xml2mod, but
> this doesn't seem to be case, especially when the modules are
> compressed.
>
> Also, does anyone know whom I'm supposed to contact about adding new
> modules to Sword?  I e-mailed the address given on the website, but got
> no reply (starting to feel I'm invisible...)
>
> Thanks,
>
> Luke
>
> --
> "I think you ought to know I'm feeling very depressed." (Marvin the
> paranoid android)
>
> Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/
>
> _______________________________________________
> sword-devel mailing list: sword-devel@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@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to