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] 1 line too much in programlistings


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



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