> -----Original Message----- > From: Yann Bonnaillie [mailto:[EMAIL PROTECTED] >
Hi, > Yes I could, but it won't be very nice, and it would take a very long > time to do that... Aaahh... Blasted laziness! What do you mean exactly by 'not very nice'? AFAICT, it would be: a) far more 'appropriate' to enclose each paragraph in a fo:block. This neatly complies with the spec stating that "The fo:block formatting object is commonly used for formatting paragraphs, ..." http://www.w3.org/TR/xsl/slice6.html#fo_block For special cases, like blocks of code, you can always insert a nested fo:block that overrides the alignment properties from the parent fo:block (--should work, apart from a few nasty side-effects in quite exotic cases) b) it can't be *that* difficult to make a slight adjustment to the module creating the DOMs to end the node and start a new one whenever the CR-LF char sequence is encountered The problem would solve itself, because instead of having to worry about it, you just let the formatter do what it was meant to do... > I hope there is another way to solve my problem :) I'm afraid I can't think of any solutions that are 'nice' (in terms of XSL-FO idioms) :-) Greetz, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]