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]

Re: 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.-
/.-~-.\






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