[Home] [By Thread] [By Date] [Recent Entries]
On 14-02-07 11:20 AM, Graydon wrote:
On Fri, Feb 07, 2014 at 10:43:22AM -0800, Martin Holmes scripsit: [recto-verso text and translationHas anyone every done anything like this, and if so, do you have any advice? I can imagine that it might be done in a horribly manual fashion by trial and error, working page-by-page, but I really don't want to get into that. I'm happy to pre-process the text multiple times before it goes to the XSL:FO stage., Perhaps there are ways to measure (for instance) how much space a paragraph will take, and then adjust page-margins or spacing by small increments to preserve alignment between the two texts, but I haven't seen examples of such an approach. I can see this working well within a page, in much the same way as the table works now in XHTML. If I do have to go with two columns in a single page, though, I'd go for the table approach because that allows me to have an additional left column with a paragraph number in it.
No, that's what is going to be problematic, for sure. It's possible there's a formatter extension that does what you want? That's almost got to be easier than figuring out how to multi-pass adjust separate flows, since straight XSL-FO won't tell you how full the page is, you're not supposed to want to know that. :) I don't know of any formatter extensions that do this, but I haven't looked very hard yet. Cheers, Martin
|

Cart



