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] Indentation Problem in FOP Output


Bob,

Yep no problem.

Russell

>Hi Russell,
>Would you mind replying to the mailing list?  The answer to this thread
>should go in the list archive so others can find it.
>
>Bob Stayton
>Sagehill Enterprises
>DocBook Consulting
>bobs@sagehill.net
>
>
>----- Original Message ----- 
>From: "Russell Seymour" <russell.seymour@turtlesystems.co.uk>
>To: "'Bob Stayton'" <bobs@sagehill.net>
>Sent: Wednesday, March 01, 2006 9:04 AM
>Subject: RE: [docbook-apps] Indentation Problem in FOP Output
>
>
>  
>
>>Bob,
>>
>>That fixed it, thanks very much.
>>
>>Russell
>>
>>-----Original Message-----
>>From: Bob Stayton [mailto:bobs@sagehill.net]
>>Sent: 01 March 2006 16:53
>>To: Russell Seymour
>>Subject: Re: [docbook-apps] Indentation Problem in FOP Output
>>
>>Ah, I think you need to upgrade to version 1.69.1, as several issues
>>related to indents in fop were addressed in that version.
>>
>>Bob Stayton
>>Sagehill Enterprises
>>DocBook Consulting
>>bobs@sagehill.net
>>
>>
>>----- Original Message ----- 
>>From: "Russell Seymour" <russell.seymour@turtlesystems.co.uk>
>>To: "'Bob Stayton'" <bobs@sagehill.net>
>>Sent: Wednesday, March 01, 2006 8:50 AM
>>Subject: RE: [docbook-apps] Indentation Problem in FOP Output
>>
>>
>>    
>>
>>>Bob,
>>>
>>>I am using stylesheets version 1.68.1.
>>>
>>>Yep I am setting fop.extensions to 1 in my customisation layer.
>>>
>>>Russell
>>>
>>>-----Original Message-----
>>>From: Bob Stayton [mailto:bobs@sagehill.net]
>>>Sent: 01 March 2006 16:40
>>>To: Russell Seymour
>>>Subject: Re: [docbook-apps] Indentation Problem in FOP Output
>>>
>>>Hi Russell,
>>>What version of the stylesheets are you using?  The current version is
>>>1.69.1.
>>>
>>>Can you confirm that you are setting fop.extensions to 1?
>>>
>>>Bob Stayton
>>>Sagehill Enterprises
>>>DocBook Consulting
>>>bobs@sagehill.net
>>>
>>>
>>>----- Original Message ----- 
>>>From: "Russell Seymour" <russell.seymour@turtlesystems.co.uk>
>>>To: "'Bob Stayton'" <bobs@sagehill.net>
>>>Sent: Wednesday, March 01, 2006 4:30 AM
>>>Subject: RE: [docbook-apps] Indentation Problem in FOP Output
>>>
>>>
>>>      
>>>
>>>>Bob,
>>>>
>>>>Thanks for this information, I tried what you suggested but it has
>>>>        
>>>>
>not
>  
>
>>>>changed my output.
>>>>
>>>>The output of my document looks something like the following:
>>>>
>>>>Contents
>>>>        Introduction                    1
>>>>        Overview                        2
>>>>    Proposal                            3
>>>>    Approach                            4
>>>>        Appendix                        5
>>>>
>>>>So the thing that is happening here is that the titles set by the
>>>>        
>>>>
>level
>  
>
>>1
>>    
>>
>>>>sections are being indented more than the level 2 titles in the
>>>>        
>>>>
>>contents
>>    
>>
>>>>page.
>>>>
>>>>The second thing that is happening is that the paragraphs under the
>>>>        
>>>>
>>>section
>>>      
>>>
>>>>titles are being indented by an amount.  I get something like:
>>>>
>>>>Section Title
>>>>        This is where all the text is being placed.
>>>>
>>>>        Blah blah blah
>>>>
>>>>TABLE TABLE TABLE
>>>>
>>>>Here you can see the indent (I hope), because the table that is there
>>>>        
>>>>
>>is
>>    
>>
>>>on
>>>      
>>>
>>>>the margin line as I would expect.
>>>>
>>>>So I need to sort out the indenting and I am struggling.  The margin
>>>>parameters I have set are:
>>>>
>>>><xsl:param name="page.margin.inner">20mm</xsl:param>
>>>><xsl:param name="page.margin.outer">20mm</xsl:param>
>>>><xsl:param name="title.margin.left">0pt</xsl:param>
>>>>
>>>>Does that make sense?  I can send final output of a document if the
>>>>        
>>>>
>>above
>>    
>>
>>>>(attempted) illustrations are not clear.
>>>>
>>>>Thanks very much, Russell
>>>>
>>>>-----Original Message-----
>>>>From: Bob Stayton [mailto:bobs@sagehill.net]
>>>>Sent: 28 February 2006 22:09
>>>>To: Russell Seymour; docbook-apps@lists.oasis-open.org
>>>>Subject: Re: [docbook-apps] Indentation Problem in FOP Output
>>>>
>>>>Hi,
>>>>Well, the DocBook XSL stylesheet indents text relative to section
>>>>        
>>>>
>>>headings
>>>      
>>>
>>>>as part of the default page design.  You can control that in FOP
>>>>        
>>>>
>0.20.5
>  
>
>>>by
>>>      
>>>
>>>>setting the title.margin.left stylesheet parameter to 0pt.  See:
>>>>
>>>>
>>>>        
>>>>
>http://docbook.sourceforge.net/release/xsl/current/doc/fo/title.margin.left.
>  
>
>>>>html
>>>>
>>>>I'm assuming you are also setting the fop.extensions parameter to 1.
>>>>
>>>>The TOC indents section entries also by design.  You can set the
>>>>toc.indent.width parameter to 0 (not 0pt) to avoid the indent:
>>>>
>>>>
>>>>        
>>>>
>http://docbook.sourceforge.net/release/xsl/current/doc/fo/toc.indent.width.h
>  
>
>>>>tml
>>>>
>>>>Bob Stayton
>>>>Sagehill Enterprises
>>>>DocBook Consulting
>>>>bobs@sagehill.net
>>>>
>>>>
>>>>----- Original Message ----- 
>>>>From: "Russell Seymour" <russell.seymour@turtlesystems.co.uk>
>>>>To: <docbook-apps@lists.oasis-open.org>
>>>>Sent: Tuesday, February 28, 2006 7:41 AM
>>>>Subject: [docbook-apps] Indentation Problem in FOP Output
>>>>
>>>>
>>>>        
>>>>
>>>>>Good afternoon list,
>>>>>
>>>>>
>>>>>
>>>>>I have a docbook document that I am transforming to PDF using
>>>>>          
>>>>>
>>Xsltproc
>>    
>>
>>>>and
>>>>        
>>>>
>>>>>FOP (0.20.5) on Linux.
>>>>>
>>>>>
>>>>>
>>>>>I have an issue where all the paragraphs and the level 1 sections
>>>>>          
>>>>>
>in
>  
>
>>>the
>>>      
>>>
>>>>>contents page are all indented.  I do not have any customisation
>>>>>          
>>>>>
>for
>  
>
>>>>>indentation at all so I am at a loss to understand where this is
>>>>>          
>>>>>
>>>creeping
>>>      
>>>
>>>>>in.
>>>>>
>>>>>
>>>>>
>>>>>Does anyone have any idea on this and how I maybe able to get
>>>>>          
>>>>>
>around
>  
>
>>>it?
>>>      
>>>
>>>>I
>>>>        
>>>>
>>>>>can supply any additional information as required.
>>>>>
>>>>>
>>>>>
>>>>>Thanks Russell
>>>>>
>>>>>
>>>>>
>>>>>  _____
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>Russell Seymour
>>>>>
>>>>>Turtlesystems
>>>>>
>>>>>
>>>>>
>>>>>07970 704919
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>
>>>
>>>      
>>>
>>
>>
>>
>>    
>>
>
>
>  
>



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