Re: [docbook-apps] line breaks in </lineannotation>

From
Bob Stayton <>
Date
2009-06-30T20:50:30+00:00
ID
005f01c9f9c4$5e6edd80$6400a8c0@pazu
Thread
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



----- Original Message ----- 
From: "Sam Steingold" <>
To: "Bob Stayton" <>
Cc: <>
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<> 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>