This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: how to change the displayed style of<lineannotation>?
On Wed, Nov 13, 2002 at 05:05:05PM -0500, Robert P. J. Day wrote:
> On Wed, 13 Nov 2002, Bob Stayton wrote:
>
> > On Wed, Nov 13, 2002 at 06:05:26AM -0500, Robert P. J. Day wrote:
> > >
> > > currently, in a <screen> element, anything i put in a
> > > <lineannotation> element is displayed in regular, courier font.
> > > what's the easiest way to have that italic, times roman
> > > instead?
> > >
> > > is there a specific XSL stylesheet directive for doing this,
> > > or should i go through the CSS decoration? and am i making any
> > > sense for this early in the morning?
> >
> > It looks like the XSL stylesheets don't give you much
> > help on this. There is no parameter for this,
> > and currently 'lineannotation' is not
> > wrapped in a <span class="lineannotation"> for HTML output,
> > so CSS won't know how to select it. It currently
> > just does plain character sequence:
> >
> > <xsl:template match="lineannotation">
> > <xsl:call-template name="inline.charseq"/>
> > </xsl:template>
> >
> > You'd have to customize this template to add the <span> so
> > CSS would work:
> >
> > <xsl:template match="lineannotation">
> > <span class="lineannotation"><xsl:call-template name="inline.charseq"/></span>
> > </xsl:template>
> >
> >
> > I think this might make a good feature request for
> > the stylesheets.
>
> um ... ok, and how would i go about doing this?
Go to:
http://sourceforge.net/projects/docbook/
You have to join SourceForge to be able to submit bug
reports. After you do that, you can select
Tracker -> Feature Requests -> Submit New
and then fill in the form.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com