TEI P5 to pdf

Here should go questions about transforming XML with XSLT and FOP.
paperdigits
Posts: 2
Joined: Thu Aug 12, 2010 9:31 am

TEI P5 to pdf

Post by paperdigits »

Forgive this incredibly nubile question, but how/where can i customize the header/footer content for TEI P5 & P5 Lite?

Thanks!
-Mica
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: TEI P5 to pdf

Post by sorin_ristache »

Hello,

The TEI XSL stylesheets provide no parameter for customizing the header or footer in the PDF output. You will have to customize some XSLT templates for that. For the main header of the document (main title, author, date, institution) you have to customize the named template Header from the [Oxygen-folder]/frameworks/tei/xml/tei/stylesheet/fo2/textstructure.xsl stylesheet. This named template calls other named templates: generateTitle, generateAuthor, generateDate. For other headers (section headers, running header) you should look at the named template header from [Oxygen-folder]/frameworks/tei/xml/tei/stylesheet/common/linking.xsl.


Regards,
Sorin
Post Reply