Next in thread → Next in month →

Re: [docbook-apps] resolution problem.

From
"Cob Rtayton"
Date
2006-04-21T17:56:32+00:00
ID
06bd01c6656d$710918a0$6400a8c0@totoro
Thread
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


 

 

  
----- Original Message ----- 

  
From: 
  Adam 
  Perry-Pelletier 

  
To:  
  

  
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
Next in thread → Next in month →