[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [XSL-FO] marginal notes

Subject: Re: [XSL-FO] marginal notes
From: "Geert Bormans geert@xxxxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Jun 2014 06:19:14 -0000
Re:  [XSL-FO] marginal notes
Thanks a lot Tony, that surely gives me something to look at

----- Original Message -----
From: "Tony Graham tgraham@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, June 11, 2014 12:06:28 AM
Subject: Re:  [XSL-FO] marginal notes

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

Antenna House, as an extension, allows fo:float within fo:change-bar-begin
[1], so use that with 'change-bar-placement="outside".

You can use 'text-align="outside"' [3] to align the numbers to the outside
of the page.

You may also be able to use Antenna House's float extension [2], but it's
not clear to me whether or not 'sidenote' applies only to CSS.

Regards,


Tony Graham                                         tgraham@xxxxxxxxxx
Consultant                                       http://www.mentea.net
Chair, Print and Page Layout Community Group @ W3C    XML Guild member
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
Mentea       XML, XSL-FO and XSLT consulting, training and programming

[1] http://antennahouse.com/xslfo/extension.htm#fo.change-bar-begin
[2] http://antennahouse.com/xslfo/float-extension.htm
[3] http://www.w3.org/TR/xsl/#text-align

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.