OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: one more question about italics and <lineannotation>s

  (ok, one more question and i should be able to get back to work
and type furiously for a while.)

  a while back, i put in a request that <lineannonation>s should
be automatically italicized, since that makes more sense if you're
commenting lines of code to see the annotation in a different

  currently, with the 1.61.0 stylesheets, that's exactly
what happens, as the following excerpt from fo/inline.xsl

<xsl:template match="lineannotation">
  <fo:inline font-style="italic">
    <xsl:call-template name="inline.charseq"/>

  so far, so good, but it's still not ideal, as the l.a.
is, by default, rendered in italicized monospace font,
which still doesn't look great.  i'd like to customize
my stylesheet one more time to have l.a.s be the italicized
form of the standard serif font, which is the way i've
seen *most* books do it.

  not being an expert at FO stuff yet, what would it take
to customize the above to add that the font body should
be non-monospace?

  and what are the chances of extending the definition
of <lineannotation> to support something like this?  having
it restricted to italicized monospace is a bit inflexible.

  thanks for all the advice thus far.  some day, i hope to
be able to contribute something back. :-)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]