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: Re: [docbook-apps] line breaks in </lineannotation>


Hi Sam,
I noticed the extra space, and it is caused by a trailing space in the 
section title text, not the stylesheet.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: "Bob Stayton" <bobs@sagehill.net>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, June 30, 2009 12:14 PM
Subject: Re: [docbook-apps] line breaks in </lineannotation>


Hi Bob,

On Sun, Jun 28, 2009 at 2:35 PM, Bob Stayton<bobs@sagehill.net> wrote:
>
> <xsl:template match="title/text()" mode="no.anchor.mode">
>  <xsl:value-of select="translate(., '&#10;', '&#32;')"/>
> </xsl:template>

Thanks a lot! Indeed, this is a huge improvement, see:
http://clisp.podval.org/impnotes/mt.html#mt-unsafe
however, programlisting/lineannot is a fixed width environment,
i.e., each extra space is seen on the screen, observe
the spaces between "other" and "mutable" in:
“Hash Tables, Sequences, and other   mutable objects”

Cannot expect perfection :-)

-- 
Sam Steingold <http://sds.podval.org>




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