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

Re: How to Create Side Heads in XSL-FO

Subject: Re: How to Create Side Heads in XSL-FO
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2002 08:53:39 -0500
side heads
At 2002-01-23 08:26 -0500, I wrote:
At 2002-01-22 18:15 -0600, W. Eliot Kimber wrote:
Can anyone offer some advice? For example, I need to format a chapter
title on a page where the body text is indented to 72pts creating an
offset column layout. The chapter number is left justified against the
page edge (left margin) and the title text is in the offset column.

What obvious thing about block placement am I missing in order to see
how to solve this problem in the simplest way?

Given your use of the phrase "block placement", I suppose you could put an inline-container in your block, forcing the size to fit your chapter number and causing the effect of indenting the title text.

In retrospect, I would definitely use either a list or table instead of inlining a container because you don't necessarily know the title will fit on a single line. If the title wraps, you need it to wrap at your indent location rather than the left margin, which would happen if you had just used a container in a block for your chapter number.

At 2002-01-22 18:15 -0600, W. Eliot Kimber wrote:
I'm just starting out trying to create a production FO style and I'm
somewhat stymied by how to create "side heads" (a search in the archives
on "side head" returned no hits).

The appropriate XSLFO terminology would be "start float" or "a float on the start side of the flow". But I don't think any vendor implements this yet.

................ Ken

-- Upcoming: 3-days XSLT/XPath and/or 2-days XSLFO - Feb 18-22, 2002

G. Ken Holman                mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                        Definitive XSLT & XPath
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1               Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books(electronic, printed),
articles, training(instructor-live,Internet-live,web/CD,licensed)
Next public training:  02-02-11,12,14,15,18,21,03-04,05,06,08,11,
-                                04-08,09,10,12,05-14,15,06-04,07

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.