Re: [patch] libfo-compat.xsl and significant space

Tim Waugh <[email protected]> Fri, 10 Jun 2005 17:17:43 +0100
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
FWIW, the current CVS libfo-compat.xsl still gets significant space
wrong.

Tim.
*/

On Thu, Mar 10, 2005 at 04:21:13PM +0000, Tony Graham wrote:

> Tim Waugh <[email protected]> writes:
> 
> > On Thu, Mar 10, 2005 at 12:34:23AM +0000, Tony Graham wrote:
> >
> >> Thanks, but instead I added <xsl:preserve-space> and listed all the
> >> FOs with #PCDATA in their content model.  Please confirm whether or
> >> not that does the job.
> >
> > It doesn't.  I get things like this:
> >
> > press<fo:inline font-weight="bold">F8</fo:inline>for the menu
> >
> > from a DocBook para fragment that had:
> >
> >     press <keycap>F8</keycap>
> >     for the menu
> 
> This template rule may be the problem:
> 
>   <xsl:template match="text()">
>     <xsl:value-of select="normalize-space()"/>
>   </xsl:template>
> 
> The real problem, for xmlroff, is the whitespace at the beginning of
> the lines.
> 
> I'll look again at your whitespace patch.
[...]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCqb0nHU/d4jnpWe0RAnnXAJ9Sr6/QcABvKGuepW1d0N4W/6Te3ACfYEZo
1AEb3ek+8w0fs3Q9XAchEjI=
=OLXf
-----END PGP SIGNATURE-----