[sword-devel] Module creation
Chris Little
chrislit at crosswire.org
Mon Jan 14 19:41:53 MST 2013
On 1/14/2013 12:38 PM, webmedic wrote:
> Hello all
>
> I know it's been a long time since I posted anything. The last I was
> looking at module creation I read a bunch of documentation on osis gbf
> and vpl. I was rather confused by it all.
GBF is definitely not supported. Use OSIS.
> I have since created quite a few modules for the word as I understand
> SQL and rtf markup is pretty simple.
>
> How easy or hard would it be to convert these to osis or gbf? I don't
> think I have seen a simple relation type chart or something that says
> this HTML tag equals this osis tag or this gbf tag.
RTF and HTML are presentational markup languages. OSIS and TEI are
primarily semantic markup languages, though they allow presentational
markup to some degree.
So producing good OSIS isn't as simple as identifying that RTF {\i1 ...}
is HTML <i>...</i> is OSIS <hi type="italic">...</hi>. Better OSIS will
come from determining what you mean by italics and encoding that rather
than the italic-ness of the text. So, for example, do italics mark
foreign text, emphasis, or titles? Using <hi> for presentational markup
is, of course, possible, albeit discouraged.
> Also in python is there anything for writing sword modules.
There should be. Others can comment on the Python bindings. I know that
they exist, but haven't tried to use them.
--Chris
More information about the sword-devel
mailing list