[sword-devel] Front-end feature

David Haslam dfhdfh at protonmail.com
Thu Jun 29 04:35:13 EDT 2023


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 <[refdoc at gmx.net](mailto:On Thu, Jun 29, 2023 at 08:24, Peter von Kaehne <<a href=)> 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 <dfhdfh at protonmail.com> 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 <scribe at crosswire.org> 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&add=KJV&add=TR&add=Treg&add=NASB
>>>
>>> On June 27, 2023 9:42:24 AM GMT+02:00, David Haslam <dfhdfh at protonmail.com> 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.
>>>>
>>>> <verse osisID="John.3.16" sID="John.3.16"/><milestone type="x-p" marker="¶"/><w src="17" lemma="strong:G3588 lemma.TR:ο" morph="robinson:T-NSM"/><w src="12" lemma="strong:G3588 lemma.TR:τον" morph="robinson:T-ASM"/><w src="2" lemma="strong:G1063 lemma.TR:γαρ" morph="robinson:CONJ">For</w> <w src="4 5" lemma="strong:G3588 strong:G2316 lemma.TR:ο lemma.TR:θεος" morph="robinson:T-NSM robinson:N-NSM">God</w> <w src="1" lemma="strong:G3779 lemma.TR:ουτως" morph="robinson:ADV">so</w> <w src="3" lemma="strong:G25 lemma.TR:ηγαπησεν" morph="robinson:V-AAI-3S">loved</w> <w src="6 7" lemma="strong:G3588 strong:G2889 lemma.TR:τον lemma.TR:κοσμον" morph="robinson:T-ASM robinson:N-ASM">the world</w>, <w src="8" lemma="strong:G5620 lemma.TR:ωστε" morph="robinson:CONJ">that</w> <w src="14" lemma="strong:G1325 lemma.TR:εδωκεν" morph="robinson:V-AAI-3S">he gave</w> <w src="11" lemma="strong:G846 lemma.TR:αυτου" morph="robinson:P-GSM">his</w> <w src="13" lemma="strong:G3439 lemma.TR:μονογενη" morph="robinson:A-ASM">only begotten</w> <w src="9 10" lemma="strong:G3588 strong:G5207 lemma.TR:τον lemma.TR:υιον" morph="robinson:T-ASM robinson:N-ASM">Son</w>, <w src="15" lemma="strong:G2443 lemma.TR:ινα" morph="robinson:CONJ">that</w> <w src="16" lemma="strong:G3956 lemma.TR:πας" morph="robinson:A-NSM">whosoever</w> <w src="18" lemma="strong:G4100 lemma.TR:πιστευων" morph="robinson:V-PAP-NSM">believeth</w> <w src="19" lemma="strong:G1519 lemma.TR:εις" morph="robinson:PREP">in</w> <w src="20" lemma="strong:G846 lemma.TR:αυτον" morph="robinson:P-ASM">him</w> <w src="22" lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" type="x-split-1793">should</w> <w src="21" lemma="strong:G3361 lemma.TR:μη" morph="robinson:PRT-N">not</w> <w src="22" lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" type="x-split-1793">perish</w>, <w src="23" lemma="strong:G235 lemma.TR:αλλ" morph="robinson:CONJ">but</w> <w src="24" lemma="strong:G2192 lemma.TR:εχη" morph="robinson:V-PAS-3S">have</w> <w src="26" lemma="strong:G166 lemma.TR:αιωνιον" morph="robinson:A-ASF">everlasting</w> <w src="25" lemma="strong:G2222 lemma.TR:ζωην" morph="robinson:N-ASF">life</w>.<verse eID="John.3.16"/>
>>>>
>>>> Best regards,
>>>>
>>>> David
>>>>
>>>> Sent with Proton Mail secure email.
>>>> ---------------------------------------------------------------
>>>>
>>>> sword-devel mailing list: sword-devel at 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 at crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20230629/b73759e0/attachment-0001.htm>


More information about the sword-devel mailing list