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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: programlisting extra line

I am already making sure that there are no gaps between
programlisting and content of programlisiting as I am
aware of how the XML spec defines the use of whitespace.

The whole idea of using the table is so that the background
is shaded but across the whole page, not just to the width 
of the text. If you look at the XHTML produced if one uses
just share.verbatim="1", tables are used, the only difference
is that the width is not set to anything so it only goes as
wide as the text.

Oh, and btw, there is no need to use CDATA sections at all,
I always use character entities instead.


----- Original Message ----- 
From: "Marko Petersen" <lg002237@rzserv2.fhnon.de>
To: "ion" <vnhu38f93@subdimension.com>; <docbook-apps@lists.oasis-open.org>
Sent: Saturday, November 09, 2002 9:40 PM
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.-
> >/.-~-.\

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

Powered by eList eXpress LLC