<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Daniel,<br>
<br>
While I do find that OSIS is lacking (it seems that support for
Dictionaries and Commentaries is yet to be<br>
defined and there seems to be liberal use of "x-..." attribute values
for common things), I don't know what<br>
presentational stuff that is present in ThML that is absent in OSIS. I
would like to understand those differences<br>
because BibleDesktop/JSword converts ThML to OSIS and then converts
OSIS to HTML. As far<br>
as I can see our transformation is relatively complete.<br>
<span style=""></span><br>
<font face="Times New Roman, Times, serif">I took a look at the ThML
DTD for style elements and attributes. Here is what I found:<br>
There is a style attribute whose content is not defined. The one and
only example uses HTML's CSS:<br>
<foreign lang="el" style="Font-family: SIL
Galatia">logov</foreign><br>
There is support for font styles:<br>
<!ENTITY % fontstyle "tt | i | b | big | small"><br>
And for datatype styles:<br>
<!ENTITY % phrase "em | strong | dfn | code | q | sub | sup |<br>
samp | kbd | var | cite | abbr | acronym" ><br>
And some more that might imply styling:<br>
<!ENTITY % misc "ins | del | script | noscript | added | deleted
|<br>
index | pb | scripContext | scripRef | scripCom |
scripture"><br>
<br>
I did not look at Voyager DTD, upon which ThML extends. That may have
explicit support for styling.<br>
But since ThML and Voyager are XML, I would be surprised if there were
greater support for styles.<br>
<br>
The style="" attribute really is of value only if the delivery system
is known. For example, if HTML is the target,<br>
then style can be CSS. If it is an application that does not have a CSS
engine, then it is of no value to use<br>
CSS style attributes. Because of this, the style attribute is of no use
to BibleDesktop. I doubt it is of use<br>
to BibleCS, MacSword, GnomeSword, ... and any of the other Sword
applications. (But this is just a guess)<br>
<br>
If we ignore the style="" attribute, and compare ThML with OSIS is
there really anything that ThML<br>
can style that OSIS cannot?<br>
<br>
Thanks,<br>
DM<br>
</font><br>
Daniel Glassey wrote:
<blockquote cite="mid30e46b3d05061521114d0602ff@mail.gmail.com"
type="cite">
<blockquote type="cite">
<pre wrap="">Greg Hellings wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Howdy!
I have been working with some possible modules in ThML, but would like
to try and migrate their base formatting into OSIS so that I can create
the modules as other than General Book with a minimal amount of effort.
So far the process of migration has gone well with one exception: I am
unable to decipher how to represent presentational formatting in OSIS.
Formerly most of the formatting was created using style="..." tags in
the ThML and it worked marvelously. Is there any similar method in
OSIS? ...or how would one encode formatting information in OSIS? Thanks!
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
On 10/06/05, Troy A. Griffitts <a class="moz-txt-link-rfc2396E" href="mailto:scribe@crosswire.org"><scribe@crosswire.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Greg,
OSIS' purpose is to mark the elements in a text as what they are, not
how they should be displayed. The way elements are displayed is left
out for another 'presentation layer' to handle as it sees fit.
Now, having said that, there is an evil workaround for elements that
you just can't figure out why they are ornimented in some way: <hi>
e.g. <hi type="bold">bold text for some reason</hi>
The defined type attributes on hi are currently:
<xs:enumeration value="bold"/>
<xs:enumeration value="emphasis"/>
<xs:enumeration value="illuminated"/>
<xs:enumeration value="italic"/>
<xs:enumeration value="line-through"/>
<xs:enumeration value="normal"/>
<xs:enumeration value="small-caps"/>
<xs:enumeration value="sub"/>
<xs:enumeration value="super"/>
<xs:enumeration value="underline"/>
I don't think the latest version of our engine pays much attention to
<hi> right now, but we should. I think, currently, you'll mostly get
italic for any <hi> you define.
Hope this helps,
-Troy.
</pre>
</blockquote>
<pre wrap=""><!---->
In the end we've just gone with ThML because there is so much
presentational stuff that just can't be thrown away or easily put into
OSIS like that even for the commentaries. Not sure if we'll look at
getting it into OSIS later or not.
Thanks,
Daniel
_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</pre>
</blockquote>
</body>
</html>