[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: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 7 Jan 2017 18:44:00 -0000
Re:  [XSL-FO] marginal notes
At 2017-01-07 17:19 +0000, Geert Bormans geert@xxxxxxxxxxxxxxxxxxx wrote:
I need to add marginal notes to a two column layout in XSL-FO
(I am using Antenna House)
And in general this works well using floats

<fo:change-bar-begin change-bar-class="CBP-{generate-id()}" change-bar-offset="5mm">
<fo:float float="outside">


I am facing two issues now

1. The float="outside" works well in a one column layout to put my notes in the left margin on even pages and the right margin on odd pages
However I can't seem to figure out how to put margins on the left for the left column and on the right for the right column

I think you might be out of luck, but I would experiment by implementing the columns as two flow areas of one column each instead of one flow area with two columns. I just cannot readily recall what "inside" and "outside" are w.r.t. arbitrary flow areas.


And I haven't looked up the Antenna House extensions.

2. In my XML a set of lines make up a paragraph, the "lines" are numbered and I need the "number" in the margin
Sometimes 2 "lines" start on the same physical line in the column and the marginal notes in the side bar are printed at the same location
Is there a way to fix it in a way that a second float is printed below the first when both are on the same height?
I have been playing with markers but ca,t get any pleasing result

Have you tried the clear= property? I think you have a copy of my book (or the free preview on my web site) ... check out the diagram in Chapter 7, Section 2, "The interaction of blocks and floats".


I hope this helps. Please forgive me for not taking the time to mock up examples to test myself.

. . . . . . Ken


-- Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Streaming hands-on XSLT/XPath 2 training @US$45: http://goo.gl/Dd9qBK | Crane Softwrights Ltd. _ _ _ _ _ _ http://www.CraneSoftwrights.com/s/ | G Ken Holman _ _ _ _ _ _ _ _ _ _ mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ blog _ _ _ _ _ http://plus.google.com/+GKenHolman-Crane/posts | Legal business disclaimers: _ _ http://www.CraneSoftwrights.com/legal |

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.