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: Saxon and linenumbering


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using Saxon 6.5.3 to process my docbook and turn it into a fo to latter 
turn it into a pdf with fop.
The problem I'm having is with programlisting, I want the lines numbered so I 
open the tag like this: <programlisting linenumbering="numbered"> but I don't 
get it numbered.
I wrote a customization xsl layer in this way: 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0"> 
	<xsl:import 
href="/usr/share/sgml/docbook/xsl-stylesheets-1.62.4/fo/docbook.xsl"/>
<!--	<xsl:include href="common.xsl" /> -->
	<xsl:param name="paper.type" select="'A4'"/>
	<xsl:param name="linenumbering.extension" select="'1'"></xsl:param>
</xsl:stylesheet> 
to enable linenumbering by this:
<xsl:param name="linenumbering.extension" select="'1'"></xsl:param>
but I still don't get it to number lines. I see the extension is there: 
http://saxon.sourceforge.net/saxon6.5.3/extensions.html#linenumber (or maybe 
not ?) but I'mn ot sure how to enable it.
Thank you.
- -- 
Pupeno: pupeno@pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAyRQ2fW48a9PWGkURAteHAJ9JMQ89O9plYXRIzdATPpLeU3KueACeJyiA
ZOJxEx2OCa1glZ/H0vF1i7I=
=xO3u
-----END PGP SIGNATURE-----


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