This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]