|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [XSL-FO] marginal notes
Hey Tony,
Thanks a lot, I got it all to work as I need it Here is what I did <xsl:template match="p"> <fo:block> <fo:change-bar-begin change-bar-class="CBP-{generate-id()}" change-bar-offset="14mm"> <fo:float float="outside"> <fo:block><xsl:value-of select="no"/></fo:block> </fo:float> </fo:change-bar-begin> <fo:block text-align="justify" > <xsl:value-of select="al"/> </fo:block> <fo:change-bar-end change-bar-class="CBP-{generate-id()}"/> </fo:block> </xsl:template> And I give the margin where I want the no to appear an extra 14mm (on the right for odd and on the left for even) Works a charm, thanks Geert At 00:06 11/06/2014, you wrote: On Tue, June 10, 2014 10:21 pm, Geert Bormans geert@xxxxxxxxxxxxxxxxxxx wrote: > I am facing the challenge of adding marginal notes to a PDF document using > FO. > I am using Antenna House for this task (though switching to RenderX > for this would be an option) > > The actual note is a number (element "no") inside a paragraph (element > "p") ... > - next issue: the number should be right aligned for the odd pages > and left aligned for the even pages
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart


![Re: [XSL-FO] marginal notes](/images/get_stylus.gif)





