[sword-devel] GlobalOptionFilter=OSISExpandAbbreviations
DM Smith
dmsmith at crosswire.org
Mon May 12 19:34:46 EDT 2025
The XSLT for JSword uses the HTML abbr element to display the OSIS abbr element. Most browsers will show the expansion as a tooltip.
Are you thinking that this should be a toggle so that the tooltip shows up? Are you thinking that the expansion should be shown with the (ABBR) following?
In Him,
DM
> On May 12, 2025, at 12:52 PM, David Haslam <dfhdfh at protonmail.com> wrote:
>
> It would be really cool if the SWORD API could be enhanced to support the expansion of the OSIS element abbr.
>
> Example: <abbr type="x-Roman" expansion="30">.xxx.</abbr>
>
> When selected via the enhanced UI in any SWORD front-end app, the expansion value should be displayed in place of the abbreviation.
>
> Please would SWORD (& JSword) developers seriously consider implementing this.
>
> NB. We may soon have a suitable candidate module for testing this functionality.
>
> I would like to see all the numbers that use lowercase Roman numerals which are found within verse text in the Bible module Tyndale suitably encoded using the abbr element. Implementing this enhancement to the OSIS XML source text is eminently scriptable.
>
> Aside: First, we must ensure that all these instances are tidied up, and consistently wrapped between 2 periods as they are in the printed edition. Please refer to my feedback observations sent to the module team.
>
> Best regards,
>
> David
>
> Sent with Proton Mail <https://pr.tn/ref/SWXT9A5YZ67G> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250512/5e93fd0e/attachment.htm>
More information about the sword-devel
mailing list