Re: [sword-devel] Front-end feature

2023-06-29 Thread David Haslam
I’ve no experience in writing CSS,, but others may have.

However, the suggestion prompts the question as to whether Dom’s module update 
and release semi-automated script process has any scope to handle additional 
files to be wrapped within a SWORD module, including those we might wish to 
host with embedded images (as for example, Bible maps)?

Just my immediate thoughts after reading Peter’s reply.

Best regards,

David

Sent from Proton Mail for iOS

On Thu, Jun 29, 2023 at 08:24, Peter von Kaehne <[ref...@gmx.net](mailto:On 
Thu, Jun 29, 2023 at 08:24, Peter von Kaehne < wrote:

> A lot of this kind of info is accessible to CSS in the output, at least on 
> the xhtml output.
>
> Long time ago I decided to feed most XML tags and attributes which are not 
> processed in a specific way through to the resulting xhtml.
>
> There is a rudimentary style sheet embedded in the engine and others can get 
> loaded via the engine.
>
> I suggest that the simplest way forward is to include a relevant augmented 
> CSS sheet with the KJV and - if the coding catches on and is used elsewhere 
> to incorporate it into the engine.
>
> Sent from my phone. Please forgive misspellings and weird “corrections”
>
>> On 27 Jun 2023, at 21:09, David Haslam  wrote:
>
>> 
>> Thanks Troy,
>>
>> SWORD Web = The Bible Tool (right?)
>>
>> Now here's a radical suggestion to consider...
>>
>> How about an option to rearrange the w elements containing the displayed 
>> text, so that they are shown in the numerical order of the src attribute 
>> values?
>>
>> Such an option would be switched on/off by a suitable UI control in each 
>> front-end.
>>
>> IMHO, this novel idea could be a huge help to students learning the Biblical 
>> languages, and who are already familiar with the KJV or another 'heavily 
>> marked up' Bible module in their own language. Being able to switch quickly 
>> between the normal and re-arranged order would be a fascinating linguistic 
>> experience.
>>
>> NB. For the OT, this might even be combined automaticallywith a switch to 
>> RtoL direction?
>> That might seem a bit weird at first, but I reckon users would soon get used 
>> to it.
>> Of course, that would already be the case for Arabic, Urdu, Farsi Bible 
>> translations...
>>
>> This leaves the unanswered question:
>>
>> - What to do with all the text that is not wrapped within the w elements?
>>
>> That's mostly a smattering of odd words/phrases here & there and a lot of 
>> the punctuation.
>>
>> btw. It's still the case for the KJV module that only for the NT books have 
>> all the w elements got the src attribute. This reminds us that there's still 
>> a lot more we could do to further enhance the module for the benefit of 
>> users.
>>
>> Best regards,
>>
>> David
>>
>> Sent with [Proton Mail](https://proton.me/) secure email.
>>
>> --- Original Message ---
>> On Tuesday, June 27th, 2023 at 8:30 PM, Troy A. Griffitts 
>>  wrote:
>>
>>> Yes, SWORDWeb uses these to highlight parallel words. You'll see this when 
>>> you click q word in either the TR or KJV here:
>>>
>>> https://crosswire.org/study/parallelstudy.jsp?del=all=KJV=TR=Treg=NASB
>>>
>>> On June 27, 2023 9:42:24 AM GMT+02:00, David Haslam  
>>> wrote:
>>>
 Are there any SWORD front-end apps that can display the src numbers that 
 ae part of the KJV markup in the NT to record the original word position 
 in the TR ?  e.g.

 >>> marker="¶"/ morph="robinson:T-NSM"/ morph="robinson:T-ASM"/ morph="robinson:CONJ">For God >>> morph="robinson:ADV">so loved >>> lemma="strong:G3588 strong:G2889 lemma.TR:τον lemma.TR:κοσμον" 
 morph="robinson:T-ASM robinson:N-ASM">the world, >>> lemma="strong:G5620 lemma.TR:ωστε" morph="robinson:CONJ">that >>> src="14" lemma="strong:G1325 lemma.TR:εδωκεν" morph="robinson:V-AAI-3S">he 
 gave >>> morph="robinson:P-GSM">his only begotten >>> lemma="strong:G3588 strong:G5207 lemma.TR:τον lemma.TR:υιον" 
 morph="robinson:T-ASM robinson:N-ASM">Son, >>> lemma="strong:G2443 lemma.TR:ινα" morph="robinson:CONJ">that >>> src="16" lemma="strong:G3956 lemma.TR:πας" 
 morph="robinson:A-NSM">whosoever believeth >>> lemma="strong:G1519 lemma.TR:εις" morph="robinson:PREP">in >>> lemma="strong:G846 lemma.TR:αυτον" morph="robinson:P-ASM">him >>> src="22" lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" 
 type="x-split-1793">should not >>> type="x-split-1793">perish, but >>> lemma="strong:G2192 lemma.TR:εχη" morph="robinson:V-PAS-3S">have >>> src="26" lemma="strong:G166 lemma.TR:αιωνιον" 
 morph="robinson:A-ASF">everlasting life.

 Best regards,

 David

 Sent with Proton Mail secure email.
 ---

 sword-devel mailing list: sword-devel@crosswire.org
 http://crosswire.org/mailman/listinfo/sword-devel

 Instructions to unsubscribe/change your settings at above page
>>>
>>> --
>>> Sent from my Android device 

Re: [sword-devel] Front-end feature

2023-06-29 Thread Peter von Kaehne
A lot of this kind of info is accessible to CSS in the output, at least on the xhtml output. Long time ago I decided to feed most XML tags and attributes which are not processed in a specific way through to the resulting xhtml.There is a rudimentary style sheet embedded in the engine and others can get loaded via the engine. I suggest that the simplest way forward is to include a relevant augmented CSS sheet with the KJV and - if the coding catches on and is used elsewhere to incorporate it into the engine. Sent from my phone. Please forgive misspellings and weird “corrections”On 27 Jun 2023, at 21:09, David Haslam  wrote:Thanks Troy,SWORD Web = The Bible Tool (right?)Now here's a radical suggestion to consider...How about an option to rearrange the w elements containing the displayed text, so that they are shown in the numerical order of the src attribute values?Such an option would be switched on/off by a suitable UI control in each front-end.IMHO, this novel idea could be a huge help to students learning the Biblical languages, and who are already familiar with the KJV or another 'heavily marked up' Bible module in their own language. Being able to switch quickly between the normal and re-arranged order would be a fascinating linguistic experience.NB. For the OT, this might even be combined automatically with a switch to RtoL direction?That might seem a bit weird at first, but I reckon users would soon get used to it.Of course, that would already be the case for Arabic, Urdu, Farsi Bible translations...This leaves the unanswered question:What to do with all the text that is not wrapped within the w elements?		That's mostly a smattering of odd words/phrases here & there and a lot of the punctuation.btw. It's still the case for the KJV module that only for the NT books have all the w elements got the src attribute. This reminds us that there's still a lot more we could do to further enhance the module for the benefit of users.


Best regards,David



Sent with Proton Mail secure email.



--- Original Message ---
On Tuesday, June 27th, 2023 at 8:30 PM, Troy A. Griffitts  wrote:

Yes, SWORDWeb uses these to highlight parallel words. You'll see this when you click q word in either the TR or KJV here:https://crosswire.org/study/parallelstudy.jsp?del=all=KJV=TR=Treg=NASBOn June 27, 2023 9:42:24 AM GMT+02:00, David Haslam  wrote:
Are there any SWORD front-end apps that can display the src numbers that ae part of the KJV markup in the NT to record the original word position in the TR ?  e.g.For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.Best regards,DavidSent with Proton Mail secure email.sword-devel mailing list: sword-devel@crosswire.orghttp://crosswire.org/mailman/listinfo/sword-develInstructions to unsubscribe/change your settings at above page-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

___sword-devel mailing list: sword-devel@crosswire.orghttp://crosswire.org/mailman/listinfo/sword-develInstructions to unsubscribe/change your settings at above page___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Front-end feature

2023-06-27 Thread David Haslam
Thanks Troy,

SWORD Web = The Bible Tool (right?)

Now here's a radical suggestion to consider...

How about an option to rearrange the w elements containing the displayed text, 
so that they are shown in the numerical order of the src attribute values?

Such an option would be switched on/off by a suitable UI control in each 
front-end.

IMHO, this novel idea could be a huge help to students learning the Biblical 
languages, and who are already familiar with the KJV or another 'heavily marked 
up' Bible module in their own language. Being able to switch quickly between 
the normal and re-arranged order would be a fascinating linguistic experience.

NB. For the OT, this might even be combined automaticallywith a switch to RtoL 
direction?
That might seem a bit weird at first, but I reckon users would soon get used to 
it.
Of course, that would already be the case for Arabic, Urdu, Farsi Bible 
translations...

This leaves the unanswered question:

- What to do with all the text that is not wrapped within the w elements?

That's mostly a smattering of odd words/phrases here & there and a lot of the 
punctuation.

btw. It's still the case for the KJV module that only for the NT books have all 
the w elements got the src attribute. This reminds us that there's still a lot 
more we could do to further enhance the module for the benefit of users.

Best regards,

David

Sent with [Proton Mail](https://proton.me/) secure email.

--- Original Message ---
On Tuesday, June 27th, 2023 at 8:30 PM, Troy A. Griffitts 
 wrote:

> Yes, SWORDWeb uses these to highlight parallel words. You'll see this when 
> you click q word in either the TR or KJV here:
>
> https://crosswire.org/study/parallelstudy.jsp?del=all=KJV=TR=Treg=NASB
>
> On June 27, 2023 9:42:24 AM GMT+02:00, David Haslam  
> wrote:
>
>> Are there any SWORD front-end apps that can display the src numbers that ae 
>> part of the KJV markup in the NT to record the original word position in the 
>> TR ?  e.g.
>>
>> > marker="¶"/>> morph="robinson:T-NSM"/>> morph="robinson:T-ASM"/>> morph="robinson:CONJ">For God > src="1" lemma="strong:G3779 lemma.TR:ουτως" morph="robinson:ADV">so > src="3" lemma="strong:G25 lemma.TR:ηγαπησεν" 
>> morph="robinson:V-AAI-3S">loved the world, > morph="robinson:CONJ">that he gave > lemma="strong:G846 lemma.TR:αυτου" morph="robinson:P-GSM">his > src="13" lemma="strong:G3439 lemma.TR:μονογενη" morph="robinson:A-ASM">only 
>> begotten Son, > lemma="strong:G2443 lemma.TR:ινα" morph="robinson:CONJ">that > lemma="strong:G3956 lemma.TR:πας" morph="robinson:A-NSM">whosoever > src="18" lemma="strong:G4100 lemma.TR:πιστευων" 
>> morph="robinson:V-PAP-NSM">believeth in him > lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" 
>> type="x-split-1793">should > morph="robinson:PRT-N">not > type="x-split-1793">perish, > morph="robinson:CONJ">but > morph="robinson:V-PAS-3S">have everlasting > lemma="strong:G lemma.TR:ζωην" morph="robinson:N-ASF">life.> eID="John.3.16"/>
>>
>> Best regards,
>>
>> David
>>
>> Sent with Proton Mail secure email.
>> ---
>>
>> sword-devel mailing list: sword-devel@crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>>
>> Instructions to unsubscribe/change your settings at above page
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Front-end feature

2023-06-27 Thread Troy A. Griffitts
Yes, SWORDWeb uses these to highlight parallel words. You'll see this when you 
click q word in either the TR or KJV here:

https://crosswire.org/study/parallelstudy.jsp?del=all=KJV=TR=Treg=NASB

On June 27, 2023 9:42:24 AM GMT+02:00, David Haslam  
wrote:
>Are there any SWORD front-end apps that can display the src numbers that ae 
>part of the KJV markup in the NT to record the original word position in the 
>TR ?  e.g.
>
>marker="¶"/>morph="robinson:T-NSM"/>morph="robinson:T-ASM"/>morph="robinson:CONJ">For God src="1" lemma="strong:G3779 lemma.TR:ουτως" morph="robinson:ADV">so src="3" lemma="strong:G25 lemma.TR:ηγαπησεν" 
>morph="robinson:V-AAI-3S">loved the world, morph="robinson:CONJ">that he gave lemma="strong:G846 lemma.TR:αυτου" morph="robinson:P-GSM">his lemma="strong:G3439 lemma.TR:μονογενη" morph="robinson:A-ASM">only 
>begotten Son, lemma="strong:G2443 lemma.TR:ινα" morph="robinson:CONJ">that lemma="strong:G3956 lemma.TR:πας" morph="robinson:A-NSM">whosoever src="18" lemma="strong:G4100 lemma.TR:πιστευων" 
>morph="robinson:V-PAP-NSM">believeth in him should 
>not src="22" lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" 
>type="x-split-1793">perish, morph="robinson:CONJ">but morph="robinson:V-PAS-3S">have everlasting lemma="strong:G lemma.TR:ζωην" morph="robinson:N-ASF">life.eID="John.3.16"/>
>
>
>
>
>
>
>Best regards,
>
>David
>
>Sent with Proton Mail secure email.
>___
>sword-devel mailing list: sword-devel@crosswire.org
>http://crosswire.org/mailman/listinfo/sword-devel
>Instructions to unsubscribe/change your settings at above page

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


[sword-devel] Front-end feature

2023-06-27 Thread David Haslam
Are there any SWORD front-end apps that can display the src numbers that ae 
part of the KJV markup in the NT to record the original word position in the TR 
?  e.g.

For God so loved the world, that he gave his only 
begotten Son, that whosoever believeth in him should not perish, but have everlasting life.






Best regards,

David

Sent with Proton Mail secure email.
___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page