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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: Line Numbering not working in <programlisting> tag.


Hi,
I would be interested in this as well.  I'm doing some custom XSL files, and if there is an 'extensions  jar' file will some functionality like this, it would be nice to know.  I guess I could start digging around :)
 
Thanks,
Roy
----- Original Message -----
Cc: DocBook
Sent: Wednesday, September 05, 2001 3:25 AM
Subject: Re: DOCBOOK: Line Numbering not working in <programlisting> tag.

> 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>


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


Powered by eList eXpress LLC