[jsword-devel] strongs as links to the original word

Yingjie Lan lanyjie at yahoo.com
Mon May 19 20:39:13 MST 2008


DM,


>Turns out that the second one is more important. In Greek the first  
>typically is G3588, the indefinite article, often left untranslated.

I was having the old Greek versions in mind. When you have 
translations like KJV, that's indeed the case. Taking that also
into consideration, it might be a better way to have ALL the
Strong's numbers listed in the superscript/subscript (i.e. the 
original way) when there are multiple Strong's numbers.

>With the next release, we really need to have hover popups. Then the  
>underlining makes a lot of sense. We underline the entire content of  
>the <w> element and on hover, we grab the Strong's numbers, the  
>Morphology, and whatever else we can and display it in the popup.

Having hover-ups is definitely a good idea. Only not sure which 
way should we go: the html renderer by JDK might not have that 
kind of functionality built in? 

Lan

----- Original Message ----
From: DM Smith <dmsmith555 at yahoo.com>
To: J-Sword Developers Mailing List <jsword-devel at crosswire.org>
Sent: Monday, May 19, 2008 7:40:41 PM
Subject: Re: [jsword-devel] strongs as links to the original word

Lan,

After this release, I'll be glad to add the option to pick a  
transformation. The code is there and it currently is hidden. The  
reason to wait is because of the effort to translate. And I'd like to  
get the code out. We can probably use xsl import to simplify the code  
to only what is overridden, too.

Originally we had the code the way you have it but changed it for a  
few reasons:
Using Java 1.4 on some platforms, the CPU would get pegged.
We had the issue of two or more Strong's numbers and could not figure  
out what to easily.
Many users want to see the Strong's numbers.

With the next release, we really need to have hover popups. Then the  
underlining makes a lot of sense. We underline the entire content of  
the <w> element and on hover, we grab the Strong's numbers, the  
Morphology, and whatever else we can and display it in the popup.

I'd love for someone to work on this.

see below for more.


On May 19, 2008, at 6:39 PM, Yingjie Lan wrote:

> To achieve that, probably can apply the original
> "lemma" template on the rest of the lemma code after
> taking off the first Strong's number (of course, some
> modifications of the template would be in order).

This definitely is a solution we didn't think of. Having the  
subsequent ones being superscripted sounds like it's workable.

>
>
> In Him,
>
> Lan
>
> ----- Original Message ----
> From: Yingjie Lan <lanyjie at yahoo.com>
> To: J-Sword Developers Mailing List <jsword-devel at crosswire.org>
> Sent: Monday, May 19, 2008 6:26:54 PM
> Subject: Re: [jsword-devel] strongs as links to the original word
>
> DM,
>
> Thanks for the nice tip on mechanism of replacing simple.xsl.
>
>> In KJV, Gen 1:4 the word "saw: has 2 Strong's Numbers.
>> How should that be represented?
>
> I would suggest the following, though there are many other
> plausible ways:
>
> Since those cases are not frequent (probably rare),
> and the strong numbers following the first are likely
> less important than the first, one possibility would be
> having it spelled out as a comma separated list in
> superscripts (or subscripts within brackets, to
> distinguish from morph codes)
> with their own appropriate hyper links.

Turns out that the second one is more important. In Greek the first  
typically is G3588, the indefinite article, often left untranslated.

-- DM

>
>
> Lan
>
> ----- Original Message ----
> From: DM Smith <dmsmith555 at yahoo.com>
> To: J-Sword Developers Mailing List <jsword-devel at crosswire.org>
> Sent: Monday, May 19, 2008 11:53:37 AM
> Subject: Re: [jsword-devel] strongs as links to the original word
>
> Yingjie Lan wrote:
>> I experimented with this idea by modifying the simple.xsl file.
>> To experiment with this, simply replace the simple.xsl file
>> and run (in eclipse) BD. Then turn on the Strong's numbers.
>>
>> The modified simple.xsl is attached. Feedbacks are welcome.
>> The exact location of this file should be:
>>
>> bibledesktop/src/main/resources/xsl/cswing/simple.xsl
>
> Lan,
> In KJV, Gen 1:4 the word "saw: has 2 Strong's Numbers. How should that
> be represented?
> In Him,
>    DM


_______________________________________________
jsword-devel mailing list
jsword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/jsword-devel



      



More information about the jsword-devel mailing list