[sword-devel] Bible web site show up in w3c.org site as example of techno...

sword-devel@crosswire.org sword-devel@crosswire.org
Mon, 17 Mar 2003 13:31:14 EST


--part1_124.1fb91c8b.2ba76e72_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

In a message dated 3/16/2003 9:08:33 PM Pacific Standard Time, 
chrislit@crosswire.org writes:

> >What is the best way to display interlinear text in html? Here is your 
> answer 
> >:)
> >
> >I just help my friend who produce the Chinese Bible site (bible.fhl.net) 
> to 
> >change the html tag they use to display strong number to the new w3c 
> >recommendation <ruby> tag. 
> >
> >And after that, I recommended to the w3c.org CSS and RUBY editors to use 
> that 
> >site as demo cases for <ruby>
> >
> >So... now w3c.org list that Bible site as an example how people use the 
> >standard they define :)
> ... 
> >We could use the same method to display Greek interlinear text :) 
> 
> I've been playing with some OSIS to XHTML XSLTs and thought of your 
> mention of Ruby when I looked at interlinearization of data encoded with 
> the OSIS <w> tag.  It does look like it will be the way to present 
> interlinearized text someday, but not yet.
> 
> In all my research, the only browsers I have found that implement XHTML 
> 1.1 correctly, with Ruby annotation, are IE6 and W3C's own Amaya.  

.

If you look at how the bible.fhl.net web site use ruby, you will find out the 
ruby effect in Gecko could be similate by using some css display property. 

For example, take a look at <A HREF="http://bible.fhl.net/new/read.php?VERSION1=unv&strongflag=1&TABFLAG=0&chineses=Nu&chap=3">
http://bible.fhl.net/new/read.php?VERSION1=unv&strongflag=1&TABFLAG=0&
chineses=Nu&chap=</A>3
with Gecko.

Add
<style type="text/css">
ruby{
 display:inline-table;
text-align:center;
white-space:nowrap;
 vertical-align:-25%;
}
ruby>rb{
display:table-row-group;
}ruby>rt{
display:table-header-group;font-size:75%;}
</style>


In the beginning of your html page and try again.


And IE6 
> 
> 
doesn't yet handle CSS3-Ruby (I know it's still a WD) which severly limits 
its abilities, especially when more than one ruby is attached to a single 
base text

CSS3-Ruby is currently only a "working draft" (under last call)
And I wonder does the web really need that kind of detail of display tuning. 
> 
> 
> I posted a screenshot of Ruby in action at 
> http://www.crosswire.org/~chrislit/pics/rubycontrasts.png .
> The two left windows show IE6, the two right windows show Mozilla 1.3.  
> The two upper windows show a demo of Ruby from i18nguy.com and the lower 
> windows show a Greek OSIS text with morphology &Strong's numbers 
> associated with each word.
> 
> Do you have any idea when Gecko will support XHTML 1.1 fully, including 
> Ruby?  It would be very nice to be able to display interlinear text this 
> way whenever we get Gecko integrated with BibleCS for display.

As I said, you can already display ruby in Gecko by adding those css in the 
beginning of your html. Let me know if it does not work. 

> 
> 
> --Chris


--part1_124.1fb91c8b.2ba76e72_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<HTML><FONT FACE=3Darial,helvetica><FONT  SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=
=3D"Arial" LANG=3D"0">In a message dated 3/16/2003 9:08:33 PM Pacific Standa=
rd Time, chrislit@crosswire.org writes:<BR>
<BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">&gt;What is the best way to dis=
play interlinear text in html? Here is your answer <BR>
&gt;:)<BR>
&gt;<BR>
&gt;I just help my friend who produce the Chinese Bible site (bible.fhl.net)=
 to <BR>
&gt;change the html tag they use to display strong number to the new w3c <BR=
>
&gt;recommendation &lt;ruby&gt; tag. <BR>
&gt;<BR>
&gt;And after that, I recommended to the w3c.org CSS and RUBY editors to use=
 that <BR>
&gt;site as demo cases for &lt;ruby&gt;<BR>
&gt;<BR>
&gt;So... now w3c.org list that Bible site as an example how people use the=20=
<BR>
&gt;standard they define :)<BR>
... <BR>
&gt;We could use the same method to display Greek interlinear text :) <BR>
<BR>
I've been playing with some OSIS to XHTML XSLTs and thought of your <BR>
mention of Ruby when I looked at interlinearization of data encoded with <BR=
>
the OSIS &lt;w&gt; tag.&nbsp; It does look like it will be the way to presen=
t <BR>
interlinearized text someday, but not yet.<BR>
<BR>
In all my research, the only browsers I have found that implement XHTML <BR>
1.1 correctly, with Ruby annotation, are IE6 and W3C's own Amaya.&nbsp; </BL=
OCKQUOTE></FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff"=
 SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
<BR>
.<BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
If you look at how the bible.fhl.net web site use ruby, you will find out th=
e ruby effect in Gecko could be similate by using some css display property.=
 <BR>
<BR>
For example, take a look at <A HREF=3D"http://bible.fhl.net/new/read.php?VER=
SION1=3Dunv&strongflag=3D1&TABFLAG=3D0&chineses=3DNu&chap=3D3">
http://bible.fhl.net/new/read.php?VERSION1=3Dunv&amp;strongflag=3D1&amp;TABF=
LAG=3D0&amp;chineses=3DNu&amp;chap=3D</A>3<BR>
with Gecko.</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #fffff=
f" SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
<BR>
Add</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=
=3D2 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
&lt;style type=3D"text/css"&gt;<BR>
ruby{<BR>
 display:inline-table;<BR>
text-align:center;<BR>
white-space:nowrap;<BR>
 vertical-align:-25%;<BR>
}<BR>
ruby&gt;rb{<BR>
display:table-row-group;<BR>
}ruby&gt;rt{<BR>
display:table-header-group;font-size:75%;}<BR>
&lt;/style&gt;<BR>
<BR>
<BR>
In the beginning of your html page and try again.<BR>
<BR>
<BR>
And IE6 <BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"><BR>
</BLOCKQUOTE><BR>
doesn't yet handle CSS3-Ruby (I know it's still a WD) which severly limits <=
BR>
its abilities, especially when more than one ruby is attached to a single <B=
R>
base text<BR>
<BR>
CSS3-Ruby is currently only a "working draft" (under last call)<BR>
And I wonder does the web really need that kind of detail of display tuning.=
 <BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"><BR>
<BR>
I posted a screenshot of Ruby in action at <BR>
http://www.crosswire.org/~chrislit/pics/rubycontrasts.png .<BR>
The two left windows show IE6, the two right windows show Mozilla 1.3.&nbsp;=
 <BR>
The two upper windows show a demo of Ruby from i18nguy.com and the lower <BR=
>
windows show a Greek OSIS text with morphology &amp;Strong's numbers <BR>
associated with each word.<BR>
<BR>
Do you have any idea when Gecko will support XHTML 1.1 fully, including <BR>
Ruby?&nbsp; It would be very nice to be able to display interlinear text thi=
s <BR>
way whenever we get Gecko integrated with BibleCS for display</BLOCKQUOTE></=
FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2 F=
AMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0">.<BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
As I said,</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff=
" SIZE=3D2 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"> you can already d=
isplay ruby in Gecko by adding those css in the beginning of your html. Let=20=
me know if it does not work. <BR>
</FONT><FONT  COLOR=3D"#000000" style=3D"BACKGROUND-COLOR: #ffffff" SIZE=3D2=
 FAMILY=3D"SANSSERIF" FACE=3D"Arial" LANG=3D"0"><BR>
<BLOCKQUOTE TYPE=3DCITE style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT=
: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px"><BR>
<BR>
--Chri</BLOCKQUOTE>s<BR>
<BR>
</FONT></HTML>
--part1_124.1fb91c8b.2ba76e72_boundary--