[css2xslfo-support] <br> tags
Brought to you by:
wdonne
From: Andreas J. <and...@ha...> - 2005-08-02 08:13:04
|
Wolfgang, we have some preformatted text that need to be translated to PDF (using Xinc). <pre>...text..</pre> is translated to <fo:block white-space="pre">. However Xinc does not recognize the white-space attribute. As workaround I generate <div line1<br/> line2<br/> ..</div> This works fine except csstoxslfo generates <fo:block space-after="0.5em"...> which produces large gaps between all lines. So I added br { space-after: 0; } to my stylesheet but I the value for space-after remains unchanged in the generated FO file. Any ideas why? Andreas |