[sword-devel] TEI markup support

Adrian Korten adrian_korten at sil.org
Mon May 12 20:21:15 MST 2008


I'm not to sure of myself in this topic so I'll just say what we are 
using for the Thai dictionary files. The conf file defines the encoding 
as thml. However, the only codes used were <br> and <b> (which work fine 
in BibleCS and BibleTime). Trying to remember, I think that I chose thml 
because I wanted to get scripture references available. I didn't get ref 
working at the time and haven't tried again since.


----- Original Message -----
*From:* Chris Little <chrislit at crosswire.org>
*To:* "SWORD Developers' Collaboration Forum" <sword-devel at crosswire.org>
*Sent:* 05/13/2008 6:10:54 AM +0700
*Subject:* [sword-devel] TEI markup support

> Our plans are to use TEI for dictionary encoding from here forth. At the 
> moment we have some support for both P4 and P5 conversion to RTF (used 
> by BibleCS), plain, and HTMLHREF (used by GnomeSword, BPBible?, 
> others?). So...
> Issue 1:
> Which filters remain necessary before we can declare that we support TEI 
> and ship 1.5.11 with TEI support sufficient for all of the major frontends?
> I assume no one parses GBF, ThML, or OSIS directly for rendering. Does 
> anyone use the plain HTML filter? (I'll tackle the WEBIF filters and do 
> any revisions to the HTMLHREF that seem necessary.)
> Issue 2:
> I think DM and I (so far CrossWire's only 2 TEI encoders) are agreed on 
> using the more recent TEI P5 for CrossWire-encoded texts. None of these 
> are yet available publicly, but DM's NASB lexicons use P5 now and my 
> (coming soon) revision of Webster's Dictionary uses it.
> Everything currently posted uses P4 (which was current at the time they 
> were encoded). That includes stuff from Perseus (which came to us as 
> TEI) and things from the Germanic Lexicons Project (which were encoded 
> in TEI by me).
> Should we:
> a) support TEI P4 and P5 separately (so we would need TEI P4 and P5 
> flavors of the filters targeting RTF, HTMLHREF, WEBIF, plain, 
> etc.)--This would require extra work and a larger memory footprint than 
> the other options.
> b) support TEI P4 and P5 jointly (one filter for TEI, irrespective of 
> version, for each target markup)--This would be possible because there's 
> not that much significant difference, but would be slighly wasteful.
> c) convert TEI P4 docs to P5
> I think I prefer option c. It shouldn't be that difficult given the 
> standards' similarity.
> --Chris
> _______________________________________________
> 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