[sword-devel] GBS Language/Markup

Chris Little sword-devel@crosswire.org
Sun, 15 Sep 2002 10:48:13 -0700 (MST)

On Sat, 14 Sep 2002, Dan Bertles wrote:

> I'm trying to create several modules using imp2gbs.exe I have been 
> successful and am getting several good works converted.  Where can I find a 
> source of language support for this type of module.  I know of: <br>, <i>, 
> <scripRef> but I'm trying to jump to specific versions within Sword and 
> ways to make Heb 1:1a look the same when I separate out the "a" from the 
> reference since Sword can't handle the non-scriptural suffix.
> specifically, <scripRef>Heb 1:1</scripRef>a

Follow ThML syntax. http://www.ccel.org/ThML/scripref.htm

Sword may not handle everything currently, but we will work towards that 
in time.  Maybe I'm missing your point, but I don't see why you want to 
separate the 'a' out from the rest of the reference.  Sword won't have any 
problem with it and will just take you to Heb 1:1.

If you want to "link" to a passage other than what is between the scripRef 
tags, just include a passage attribute with the reference.  If you want a 
specific version, use a version attribute.  Some frontends may handle 
these, others may not, but this is how you should make modules.