This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Line Numbering not working in <programlisting> tag.
- To: Jonathan Marks <jm at cmex dot org>
- Subject: Re: DOCBOOK: Line Numbering not working in <programlisting> tag.
- From: Michel Goossens <Michel dot Goossens at cern dot ch>
- Date: Wed, 05 Sep 2001 09:25:50 +0200 (METDST)
- Cc: DocBook <docbook at lists dot oasis-open dot org>
- List-Id: <docbook.lists.oasis-open.org>
> Using Dsssl 1.72, and xml 4.1.2, the programlisting tag igores the
> linenumbering="numbered" attrib, and produces the same grey box in fixed
> width font (without line numbers) as if the attribute was not specified.
>
> Example use:
> <sect1>
> <title>This is a Title</title>
> <para>
> This is a paragraph, listing follows.
> </para>
> <programlisting linenumbering="numbered">
> Listing line 1
> line 2
> 3rd line
> etc.
> </programlisting>
> </sect1>
>
> Perhaps someone can see what I'm doing wrong.
You need at least to activate the extensions mechanism with
the following in your XSLT stylesheet,
<xsl:param name="use.extensions" select="1"/>
and, of course, you need also to put the extension jar file for saxon or
xalan in your class path. mg
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>