I think it would be an odd departure from the norm to not cover for this in the engine, part I if straightforward<br><br>Peter<br><br>Sent from my mobile. Please forgive shortness, typos and weird autocorrects.<div class="quote" style="line-height: 1.5"><br><br>-------- Original Message --------<br>Subject: Re: [sword-devel] intro material CSS<br>From: Karl Kleinpaste <karl@kleinpaste.org><br>To: SWORD Developers' Collaboration Forum <sword-devel@crosswire.org><br>CC: <br><br><br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/08/2018 01:23 PM, Troy A.
Griffitts wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DEE67341-BC9B-479C-908A-08D380A06631@crosswire.org">they
don't really want to show Verse 0 before a chapter intro, so ifa
frontends want to show them with some special formatting, wouldn't
it be fine for the frontend to put a <div class="intro">
around it?</blockquote>
<font face="FreeSerif"><br>
My initial take was indeed simply to wrap italics around intro
material, though I was even more blunt with plain ol'
<i></i>.<br>
<br>
But Greg's countersuggestion after I committed the change and
closed the report was that CSS is the right weapon. And in fact I
had already thought so. But the problem as I see it is in making
it a one-off thing in Xiphos, thus completely unlike any other
frontend. Is it not appropriate that, when requesting verse 0, the
material come back from the engine with an appropriate class wrap,
with a default class handler (e.g. italics) the way it already
does for other modifiable items, like transChange and
wordsOfJesus? That would take care of any XHTML-driven UI in the
first place. Then specifically for Xiphos, the use of
PreferredCSSXHTML (that is, style.css) would let power users
change italics to smaller fonts or colored text or whatever.<br>
<br>
Anyway... I can do it myself for Xiphos. I just figure that
generality would say that the engine is well-positioned to provide
this when verse 0 is requested. My <i></i> hack for
now is a stopgap, a placeholder until/unless the engine can
provide this generality.</font><br>
</body>
</html>
</blockquote></div>