« Return to Thread: line breaks in

Re: line breaks in </lineannotation>

by Bob Stayton :: Rate this Message:

Reply to Author | View in Thread

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@...


----- Original Message -----
From: "Sam Steingold" <sds@...>
To: "Bob Stayton" <bobs@...>
Cc: <docbook-apps@...>
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@...> wrote:
>
> <xsl:template match="title/text()" mode="no.anchor.mode">
>  <xsl:value-of select="translate(., ' ', ' ')"/>
> </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>



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...

 « Return to Thread: line breaks in