Next in thread → Next in month →

Re: [docbook-apps] Forcing a chapter to start on new page (FO)

From
Bob Stayton <>
Date
2010-03-02T23:44:50+00:00
ID
014901caba62$4b05c0b0$eda631b8@pazu
Thread
Re: [docbook-apps] Forcing a chapter to start on new page (FO)
Hi Jeff,

I would suggest you download the stylesheets and 
change this reference to a local file path.  Trying to run the stylesheets 
from a remote site is slow and subject to network glitches.

 

Bob Stayton
Sagehill Enterprises


 

 

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

  
From: 
  Jeffrey 
  Trimble 

  
To: Bob Stayton 

  
Cc: DocBook Apps 

  
Sent: Tuesday, March 02, 2010 5:38 
  AM

  
Subject: Re: [docbook-apps] Forcing a 
  chapter to start on new page (FO)

  

Bob, 
  

  
Thanks.  I tried it, but I got numerous FO errors.  Here's some 
  specifics that

  
may be why I got the errors:

  

  
Docbook.xml 4.5

  
FOP .94

  

  
In my pint.xsl style sheet I have the following reference:

  

  
<xsl:import 
  href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/> 

  

  
It seems to have been the culprit, but 
  I'm not much help since this isn't my area of expertise.

  

  
Any thoughts?

  

  
TIA,

  

  
Jeff

  

  

  
On Mar 1, 2010, at 12:21 AM, Bob Stayton wrote:

  
    
Hi,
You could set the stylesheet parameter named double.sided to 1. 
     That will force new chapters to start on an odd page.

Bob 
    Stayton
Sagehill Enterprises


----- 
    Original Message ----- From: "Jeffrey Trimble" 
    <>
To: "DocBook Apps" 
    <>
Sent: Sunday, February 28, 2010 
    3:54 PM
Subject: [docbook-apps] Forcing a chapter to start on new page 
    (FO)

    Is there a quick (and maybe dirty) way to force 
      each chapter to start  on a new page (odd number page) via the 
      print.xsl

    stylesheet for PDF generation?

    

    For example, my Chapter 1 is only one page. 
       Chapter 2 begins on page  two, instead of page 
3.

    

    Thanks in advance,

    

    

    Jeffrey Trimble

    System LIbrarian

    William F.  Maag Library

    Youngstown State University

    330.941.2483 (Office)

    

    http://www.maag.ysu.edu

    http://digital.maag.ysu.edu

    "The spice must flow..."

    

    

    ---------------------------------------------------------------------

    To unsubscribe, e-mail: 
      

    For additional commands, e-mail: 
      

    

    

---------------------------------------------------------------------
To 
    unsubscribe, e-mail: 
For 
    additional commands, e-mail: 
    

  

  

  

  

  

  

  
Jeffrey Trimble

  
System LIbrarian

  
William F.  Maag Library

  
Youngstown State University

  
330.941.2483 (Office)

  


  
http://www.maag.ysu.edu

  
http://digital.maag.ysu.edu

  
"The spice must 
  flow..."
Next in thread → Next in month →