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: userinput/sgmltag in TOC


Sorry for the empty post just before this one.

I've just joined docbook-apps, and I a have question about
customization of the DocBook-XML stylesheets.  I would very much
appreciate any suggestions.  We're currently using version 1.60.1
of the stylesheets with xsltproc.  These comments apply to the FO
stylesheets.

I use <userinput> and <sgmltag> elements inside my section
titles, and they are rendered correctly in the actual title, but
in the table of contents they are rendered in the same font as
everything else.  I would prefer that <userinput> elements be
rendered in monospaced type, and that <sgmltag> elements appear
as they do in regular text, with the <...> around them and in
monospaced type.

I'm guessing that I need something like the match="userinput"
template in inline.xsl, only with a mode="..." attribute that
causes the template to fire during TOC construction.  But it's
not obvious to me what mode I want, or even whether this will
work.

By the way, the reason we don't use the newer 1.61.2 stylesheets
is that for some reason those want to use "#" as the hyphenation
character.  Is anyone else having this problem?

Best regards,
John Shipman (john@nmt.edu), Applications Specialist, NM Tech Computer Center,
Speare 128, Socorro, NM 87801, (505) 835-5950, http://www.nmt.edu/~john
  ``Let's go outside and commiserate with nature.''  --Dave Farber


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