Subject: [xsl] Re: XSL:FO approach for facing-page translation From: Martin Holmes <mholmes@xxxxxxx> Date: Fri, 07 Feb 2014 13:27:23 -0800 |
The only way I can think of to do this would be a multi-pass process that operates on the intermediate area tree. If you emitted both language streams as separate flows, one for verso pages and one for recto pages, where you included IDs on blocks to allow you to correlate the two language versions, you could then examine the area tree to see for each pair which was deeper and set the vertical extent of the corresponding block to match. Re-rendering the two flows should then result in them being properly synchronized.
See Tony Graham's paper from last year's Balisage for implementation guidance: http://www.balisage.net/Proceedings/vol10/html/Graham01/BalisageVol10-Graha m01.html
Cheers, Martin
Cheers,
Eliot
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL:FO approach for facin, Eliot Kimber | Thread | Re: [xsl] XSL:FO approach for facin, Tony Graham |
[xsl] Re: XSL:FO approach for facin, Martin Holmes | Date | Re: [xsl] XSL:FO approach for facin, Martin Holmes |
Month |