Next in thread → Next in month →

Re: [docbook-apps] no header and footer rules on first page

From
Bob Stayton <>
Date
2006-06-27T06:16:15+00:00
ID
004401c699b1$275aa1b0$6700a8c0@totoro
Thread
Re: [docbook-apps] no header and footer rules on first page
Well, that information is there in the 
book, but perhaps not under the subheadings that you were looking at.  
In

 

http://www.sagehill.net/docbookxsl/PrintHeaders.html

 

you will find:

"The header.table template in fo/pagesetup.xsl lays out the table rows and cells 
in the page header. Likewise the footer.table lays 
out the footer area. You can customize either template to write a table to 
display whatever combination of rows and cells and spans you want, expressed in 
XSL-FO table elements."

and

"If you want to change which page classes have these rule lines, then you 
will need to customize the template files that create the tables that format the 
headers or footers. These templates are named header.table and footer.table, 
and they are located in fo/pagesetup.xsl."

and

"If you find the table layout used in headers and footer to be too 
restrictive, you can always replace the header or footer table with your own 
XSL-FO layout. You'll need to customize the template named header.table or footer.table 
from fo/pagesetup.xsl. You can keep the same 
template name and template parameters, but you can customize how the information 
is used within the header or footer space."

I don't mean to criticize you for not finding the 
information, because I know that finding the right information is not always 
easy.  It is always a struggle to organize and present complex information 
like these stylesheets in a way that makes it easy to find what you are looking 
for.

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

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

  
From: 
   
  

  
To:  
  

  
Sent: Saturday, June 24, 2006 10:44 
  AM

  
Subject: RE: [docbook-apps] no header and 
  footer rules on first page

  

First of all: Thank you very much for your answers. It realy 
  helps to find a solution for the described problems.
After I writing this 
  email, I find the right parts in pagesetup.xsl. I copied the templates for 
  content.header, footer.header, header.table and footer.table in my 
  customization layer and costumized them. It's a pity, that this isn't 
  described in die DocBook-XSL-Guide and I have searched a long time by myself 
  for the right solution without any help. Only a little hint to look into the 
  pagesetup.xsl and search for above-named templates would be very 
  nice.
Sorry for worrying you with my stupid question.

Best 
  regards

 schrieb:
  Hello 
    everybody,

I want to turn off header and footer rules on titlepage, 
    but can't find a solution in the DocBook-XSL-Guide. The position of text in 
    header is positioned on the top. I want to have it on the middle or 
    bottom.

Any suggestion?

Thank you very much.

Best 
    regards,
Leeloo

    

  

  
  Keine Lust auf Tippen? Rufen Sie Ihre Freunde einfach an.
Yahoo! 
  Messenger. Jetzt installieren .
Next in thread → Next in month →