This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Hanging indents with default page-masters (fo)


On Thu, Jun 05, 2003 at 06:21:24PM -0700, Christopher R. Maden wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Currently, the XSL print stylesheets set the right body page left margin to 
> $page.margin.inner, and the left body page left margin to 
> $page.margin.outer.  Titles are then outdented from that point by 
> $title.margin.left.
> 
> This makes it impossible to use the standard page templates with a gutter 
> and hanging titles.  For example, if I want a 0.25-inch margin, 0.1-inch 
> gutter, and 1.25-inch outdented titles, the left body margin will be 1.6 
> inches on right pages and 1.5 inches on left pages.  However, the right 
> body margin will be 0.25 inches on right pages and 0.35 inches on left 
> pages.  This means that I can't just use $page.margin.inner and .outer.
> 
> There are two ways, I think, to parameterize the DocBook stylesheets to 
> allow this kind of format.  I think the best way is just to add a 
> body.margin.left (and .right, for completeness) parameter, corresponding to 
> body.margin.top and .bottom.
> 
> The other way is to have $page.margin.{inner|outer} reflect the edge of 
> printing, and for $title.margin.left to both be added to text flow and then 
> to be subtracted for hanging titles.  I think this might break too many 
> legacy stylesheets that depend on the DocBook ones, though.

You are right that the $title.margin.left parameter is not
handled properly for double-sided output.
I filed a SourceForge item (#751470) on this.
Hopefully it will get fixed in the next release.

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]