OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: docbook-apps indexdiv/title letters overprinting column one in a two column index


Yep, I noticed the same thing. I've been meaning to log a bug/rfe about it since it shows up in the default output of the fo stylesheets. Here's what I did in my customization layer (diff is based on fo/autoidx.xsl in 1.60.1 of the docbook xsls). 

In pagesetup.xsl, in about 5 places (the simple-page-master for index-first, index-odd..., on fo:region-body), add a column-gap attribute. column-gap="48pt" worked for me, but what works for you may depend on what you've set title.margin.left to.

Let me know if this little hack doesn't make sense.

David

Index: autoidx.xsl
===================================================================
RCS file: /export/CVS/src/docmodules/doctools/1.0/DocShared/xsl/docbook/motive-pdf/autoidx.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
19c19
<      $Id: autoidx.xsl,v 1.1 2003/02/05 04:01:28 dcramer Exp $
---
>      $Id: autoidx.xsl,v 1.2 2003/02/17 04:30:26 dcramer Exp $
76c76
<   <fo:block>
---
>   <fo:block  margin-left="{$title.margin.left}">
186c186
<     <fo:block start-indent="1pc">
---
>     <fo:block start-indent="-2pc">
238c238
<     <fo:block start-indent="2pc">
---
>     <fo:block start-indent="-1pc">

-----Original Message-----
From: Paul A. Hoadley [mailto:paulh@logicsquad.net]
Sent: Tuesday, March 18, 2003 8:16 AM
To: docbook-apps@lists.oasis-open.org
Subject: docbook-apps indexdiv/title letters overprinting column one in
a two column index


Hello,

I'm using XSL stylesheets 1.60.1, with v1.19 of fo/index.xsl, then XEP
to generate PS and PDF.

The bold letters which are the indexdiv/titles are being printed too
far left in the second column of a two-column index, and, in fact,
they overwrite text in the first column.  I gather from
fo/pagesetup.xsl that a multi-column index is truly a multi-column
page-master, and not a table on a single-column page.  I am not
familiar with setting up a multi-column page in XSL-FO -- are the
margins of each column specified independently?  If so, I wonder
whether the left margin in the second column is too far left?  If not,
I am open to other suggestions as to the cause.  Has anyone else seen
this in a multicolumn index?

(I get the same behaviour with an stylesheet-generated index and an
index included as an entity.)


-- 
Paul.

mailto:paulh@logicsquad.net
mailto:phoadley@maths.adelaide.edu.au


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]