[jsword-devel] [sword-devel] Interlinear text
DM Smith
dmsmith555 at yahoo.com
Mon Apr 21 14:16:57 MST 2008
Peter,
I did look into ruby but the problem is that it still is not well
supported at this time.
Your example won't wrap when the window is resized. And it is geared to
line at a time. I was looking for something that had the same behavior
of text. What I liked about your solution was that you could select each
line of text.
Chris, on sword-devel, at 8/31/2007, pointed to:
http://www.unics.uni-hannover.de/nhtcapri/flavell/umusalu.html
It points out so many of the problems with portability.
This page has interlinear text and it wraps correctly, but it does not allow for selecting a line of text.
The thing is that when it really gets down to it, it is applied css.
My solution works on all major browsers (I doubt it would work on early browsers, though).
DM
Peter von Kaehne wrote:
> Sorry, the below attached message went to the wrong list.
>
> I had a further look into it and used a stylesheet I got from a japanese
> site. have a look at www.crosswire.org/~refdoc/ruby_withcss.html
>
> Peter
>
> --------------------
>
>
> I think you are might be trying to re-invent the wheel here, DM.
>
> Have a look at Ruby annotation. It is designed to do just this and I
> think it requires less effort and improves on cutting+ pasting by
> allowing you to take only one language stream.
>
> I also believe it is easier for parallelising two variable modules. See
> my example at
>
> http://www.crosswire.org/~refdoc/ruby.html
>
> You need the firefox ruby extension and need to switch the basic style off.
>
> Alternatively - and probably a bit more practically than distributing a
> firefox extension, I guess the matter could be packed into a stylesheet
> (which I gather the extension is at its heart)
>
> I am not sure whether it is possible to stack 4 lines, but I presume so.
>
> Peter
>
> DM Smith wrote:
>
>> A long time ago, I worked on creating interlinear text (inspired by
>> Karl's work on GnomeSword) but could not quite get it working. I've
>> revisited it because of the interest in a SWORD web interface for the
>> iPhone.
>>
>> So now it works on FireFox, IE and Safari.
>>
>> You can take a look at it here:
>> www.crosswire.org/~dmsmith/interlinear
>>
>> In Him,
>> DM Smith
>>
More information about the jsword-devel
mailing list