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



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