[sword-devel] SWORD filters - specifying default state after installing module?
Karl Kleinpaste
karl at kleinpaste.org
Wed Jun 4 07:23:26 EDT 2025
On 6/3/25 5:31 PM, Greg Hellings wrote:
> Do most apps even maintain this as a per-module setting?
Yes, Xiphos maintains per-module state for options, whose initial states
are intended to be maximally featureful short of being visually or
academically intrusive, meaning these default on:
- Headings, footnotes, xrefs, red words, Japanese glosses¹, Greek
accents, Hebrew vowel points, Hebrew cantillation, commentary-by-chapter²
These default off:
- Strong's, morphology, lemmas, transliteration, xlit forms
As well, presence of Feature=NoParagraphs determines a module's initial
state of verse-per-line, and initial state of variant is Primary.
The semantic of the "headings" option covers both actual headings as
well as :0 introductory material.
Lastly, there is a small set of truly Xiphos-only options:
- Respect font faces defaults on -- a module's internal font specs pass
unmolested, but can be ignored (destroyed during rendering) so that the
module's overall font choice continues to be used.
- Italic headings defaults off -- the filters generate simple bold;
turning this on adds italic.
- Doublespace defaults off.
- Image content defaults on -- images can be excluded from what's
rendered into the pane.
Options made available in the context menu's Module Options list are
just the set supported by the module, so e.g. NASB's options doesn't
offer glosses, vowel points, or accents.
--karl
¹ E.g. see modules JapBungo or JapKougo. Yeah, it's a dodgy choice for
default on. But it's what I was asked to do in 2017.
² The ancient habit of GnomeSword was that the commentary pane displayed
just the current verse's content, rather than the whole chapter's. The
"by chapter" option came into existence as default in 2009.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250604/d9864250/attachment.htm>
More information about the sword-devel
mailing list