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] resolution problem.


Hi Adam,
It sounds like you are getting two different versions of the stylesheets.  In version 1.68.0, start-indent was used, and in version 1.69.0 and forward the margin-left property was used.  
 
You didn't mention which XSLFO processor you were using.  If it is FOP, you must be sure to set the stylesheet parameter fop.extensions to 1.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Thursday, April 20, 2006 6:00 PM
Subject: [docbook-apps] resolution problem.

Hi, Iím running docbooks under ant.  Iím using it to generate pdf files so I have docbook-website-2.6.0, docbook-xsl-1.69.0, and docbook-xml-4.5CR2 downloaded and configured.  Iím also using catalog.xml and CatalogManager.properties file so reference file lookups occur locally.  I believe I have everything wired together OK.  When run under ANT the resulting Table of Contents in the PDF file gets goofed up.  Specifically the subsections tabulation/margin is wrong.  The Tabs look like.  Note: This is a text version of the pdf file and hand needed editing, so if the editing doesnít look correct, what you should see is that the subsections are left justified while the chapters are indented into the page rather than the other way around.

 

        1. Scope ...............................................................................................................1

Identification ..............................................................................................................1

System Overview ...................................................................................................... 1

Document Overview ................................................................................................ 2

Relationship to Other Plans .................................................................................... 2

        2. Referenced Documents .................................................................................. 3

 

Furthermore I run the same transform through Oxygen 6.1 with the same transform parameters and get the TOC to appear properly.

 

1. Scope .............................................................................................................................. 1

     Identification ................................................................................................................ 1

     System Overview ......................................................................................................... 1

     Document Overview ................................................................................................... 2

     Relationship to Other Plans ....................................................................................... 2

2. Referenced Documents ................................................................................................ 3

 

 

I check the intermediate output and found that the GOOD version is outputting to the fo file:

 

<fo:block id="toc.d0e1.scope" start-indent="24pt">

 

While the bad one is outputting to the fo file:

 

<fo:block id="toc.d0e1.scope" margin-left="24pt">

 

for the same toc section entry in the source document.

 

Can anyone tell me what I may be doing wrong?

 

Thanks in advance for any help,

Adam

 

 

 

 

 



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