From: Tim W. <tw...@re...> - 2005-06-10 16:17:48
|
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 <tw...@re...> writes: >=20 > > 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=3D"bold">F8</fo:inline>for the menu > > > > from a DocBook para fragment that had: > > > > press <keycap>F8</keycap> > > for the menu >=20 > This template rule may be the problem: >=20 > <xsl:template match=3D"text()"> > <xsl:value-of select=3D"normalize-space()"/> > </xsl:template> >=20 > The real problem, for xmlroff, is the whitespace at the beginning of > the lines. >=20 > I'll look again at your whitespace patch. [...] |