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 <dfh...@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 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 <scr...@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 <dfh...@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="" lemma="strong:G3588 lemma.TR:ο" morph="robinson:T-NSM"/><w src="" lemma="strong:G3588 lemma.TR:τον" morph="robinson:T-ASM"/><w src="" lemma="strong:G1063 lemma.TR:γαρ" morph="robinson:CONJ">For</w> <w src="" lemma="strong:G3588 strong:G2316 lemma.TR:ο lemma.TR:θεος" morph="robinson:T-NSM robinson:N-NSM">God</w> <w src="" lemma="strong:G3779 lemma.TR:ουτως" morph="robinson:ADV">so</w> <w src="" lemma="strong:G25 lemma.TR:ηγαπησεν" morph="robinson:V-AAI-3S">loved</w> <w src="" lemma="strong:G3588 strong:G2889 lemma.TR:τον lemma.TR:κοσμον" morph="robinson:T-ASM robinson:N-ASM">the world</w>, <w src="" lemma="strong:G5620 lemma.TR:ωστε" morph="robinson:CONJ">that</w> <w src="" lemma="strong:G1325 lemma.TR:εδωκεν" morph="robinson:V-AAI-3S">he gave</w> <w src="" lemma="strong:G846 lemma.TR:αυτου" morph="robinson:P-GSM">his</w> <w src="" lemma="strong:G3439 lemma.TR:μονογενη" morph="robinson:A-ASM">only begotten</w> <w src="" lemma="strong:G3588 strong:G5207 lemma.TR:τον lemma.TR:υιον" morph="robinson:T-ASM robinson:N-ASM">Son</w>, <w src="" lemma="strong:G2443 lemma.TR:ινα" morph="robinson:CONJ">that</w> <w src="" lemma="strong:G3956 lemma.TR:πας" morph="robinson:A-NSM">whosoever</w> <w src="" lemma="strong:G4100 lemma.TR:πιστευων" morph="robinson:V-PAP-NSM">believeth</w> <w src="" lemma="strong:G1519 lemma.TR:εις" morph="robinson:PREP">in</w> <w src="" lemma="strong:G846 lemma.TR:αυτον" morph="robinson:P-ASM">him</w> <w src="" lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" type="x-split-1793">should</w> <w src="" lemma="strong:G3361 lemma.TR:μη" morph="robinson:PRT-N">not</w> <w src="" lemma="strong:G622 lemma.TR:αποληται" morph="robinson:V-2AMS-3S" type="x-split-1793">perish</w>, <w src="" lemma="strong:G235 lemma.TR:αλλ" morph="robinson:CONJ">but</w> <w src="" lemma="strong:G2192 lemma.TR:εχη" morph="robinson:V-PAS-3S">have</w> <w src="" lemma="strong:G166 lemma.TR:αιωνιον" morph="robinson:A-ASF">everlasting</w> <w src="" 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@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 mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to