This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: programlisting extra line
- From: Marko Petersen <lg002237 at rzserv2 dot fhnon dot de>
- To: ion <vnhu38f93 at subdimension dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Sat, 09 Nov 2002 22:40:20 +0100
- Subject: 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.-
/.-~-.\