Re: DOCBOOK-APPS: programlisting extra line

From
Marko Petersen <>
Date
2002-11-09T21:41:57+00:00
ID
Thread
Re: DOCBOOK-APPS: programlisting extra line
Hi,

just end your CDATA and programmlisting directly after your last
code word. An example for the code you sent:

<programmlisting>
<![CDATA[
blah blah blah ]]!></programmlisting><!-- ends in the same line -->

This should work. A tip: you do not have to encapsulate code
in tables, just set the following parameter:

<xsl:param name="shade.verbatim" select="1"/>

Greetings,

Marko

At 21:28 09.11.2002 +0000, ion wrote:
>Does anyone have a suitable solution to the "extra line" problem
>illustrated by the XHTML code below:
>
>
>blah blah blah
>I encapsulate programlistings and screen sections in tables so
>that they are shaded, but, I get the extra line that is produced
>by the code above. Any ideas on how to remove it?
>
>
>\.-~-./
>-.ion.-
>/.-~-.\