This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] 1 line too much in programlistings
- From: Joachim Ziegler <ziegler at mpi-sb dot mpg dot de>
- To: DocBook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 14 Jan 2004 14:48:37 +0100
- Subject: [docbook-apps] 1 line too much in programlistings
- Organization: Max-Planck-Institut für Informatik
Hello,
is the following a bug or a feature of the stylesheets?
I use external code like this:
<programlisting linenumbering="numbered"><textobject><textdata
fileref="Code/StringCountDArray.C"/></textobject></programlisting>
When I transform this to pdf by the XSLT stylesheets with
<xsl:param name="linenumbering.everyNth" select="1"/>
the counter always counts 1 line more than the file actually contains.
There is always an extra blank line at the end.
(Yes, I've checked for "invisible" blank lines at the end of my
listings; there are none. And in HTML output, everything is ok.)
Joachim
--
Joachim Ziegler Stuhlsatzenhausweg 85
Max-Planck-Institut für Informatik 66123 Saarbrücken, Germany
Email: ziegler@mpi-sb.mpg.de Tel.: (+49) 0681 9325-127
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.