[sword-devel] TEI Question
The following example uses module: Cawdrey with key: abrogate In the debugger before the TEI to HTML filtering I see the following text: abrogate, take away, disanull, disallow, The question is about the first token, entryFree n="abrogate". Should it cause any visible text to be displayed? I ask because in both BibleTime and Xiphos, the word "abrogate" appears twice in the final HTML text. It seems that either the first abrogate should not be displayed by sword, or the formatting of Cawdrey is wrong. Gary Holmlund ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] TEI Question
On 7/21/20 11:44 AM, Gary Holmlund wrote: > The question is about the first token, entryFree n="abrogate". Should > it cause any visible text to be displayed? It's certainly true that the XHTML visual rendering of an entry includes both the "entryFree" as well as the "orth" form, which are usually the same. $diatheke -b Cawdrey -f xhtml -k abrogate [...preamble deleted...] abrogateabrogate, take away, disanull, disallow, The preamble block includes nothing for "orth," and for "entryFree," it contains just "{display:block;}" which has no visual manifestation or distinguishing feature that I can see in Xiphos. ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] TEI Question
I think what we are seeing in BibleTime can in part also be reproduced by diatheke, for example the output of diatheke -b Cawdrey -f HTMLHREF -k abricot also contains abricotabricot which renders visually as a single bold word "abricotabricot" (without spacing between). For more context, please see the respective BibleTime issue: https://github.com/bibletime/bibletime/issues/213 Best regards, J On 21.07.20 20:19, Karl Kleinpaste wrote: > On 7/21/20 11:44 AM, Gary Holmlund wrote: >> The question is about the first token, entryFree n="abrogate". Should >> it cause any visible text to be displayed? > > It's certainly true that the XHTML visual rendering of an entry includes > both the "entryFree" as well as the "orth" form, which are usually the same. > > $diatheke -b Cawdrey -f xhtml -k abrogate > [...preamble deleted...] > abrogate class="orth">abrogate, take away, disanull, > disallow, > > The preamble block includes nothing for "orth," and for "entryFree," it > contains just "{display:block;}" which has no visual manifestation or > distinguishing feature that I can see in Xiphos. > > > > ___ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page