[sword-devel] Rendering added words for languages that don't use italics?
greg.hellings at gmail.com
Thu Jun 2 12:45:09 MST 2011
On Wed, Jun 1, 2011 at 6:32 PM, David (Mailing List Addy)
<davidslists at gmx.net> wrote:
> On Friday, May 27, 2011 11:29:47 AM Greg Hellings wrote:
>> Of course, that provides no help to those modules who might use
>> markers (NIV-inspired half brackets, full brackets, I've seen texts that
>> an asterisk to mark such words, etc) for added text. In a browser
>> more widely varied among SWORD applications than is CSS support (I
>> imagine that JSword can support JS at all, currently Xiphos probably
>> And of course, I choose to completely ignore non-HTML front ends as
>> being worthy of consideration) and is even less desirable than CSS.
> Actually, that can be handled with CSS purely, I have worked on most if
> not all of the Bibletime CSS templates (and am working on a CSS3 one)
> and there is a :before and :after pseudo-selectors, and a content
> command you can use to add content such as brackets or whatever
> [Unicode] character you wish (for half-brackets for instance) here's a
> snippet from the CSS for putting 's around footnote numbers. And
> this is well supported in WebKit which BT currently uses, and has used
> for a while (or the parent KHTML engine) and probably Gecko, or other
> rendering engines.
I did not realize that WebKit had picked up this particular
pseudoclass already. I knew it was coming in CSS3, but I haven't
followed its adoption closely. Well that makes the problem
straightforward to solve for BibleTime and (soon) Xiphos if support
for module CSS was adopted.
More information about the sword-devel