[publican-list] Custom Header/Footer
Jeffrey Fearn
jfearn at redhat.com
Thu Dec 10 04:07:32 UTC 2009
Josh Kayse wrote:
> On 11/23/2009 04:03 PM, Paul Morgan wrote:
>> On Mon, Nov 23, 2009 at 03:52:12PM -0500, Josh Kayse wrote:
>>
>>> I'm attempting to switch our documentation to publican at my workplace
>>> and was wondering if publican supports custom headers/footers on each
>>> page for PDF output or top and bottom of HTML output. Could I use the
>>> override.css for the HTML output? We want to include something like
>>> "Our
>>> Company" at the top and bottom of each page.
>>>
>> Here's a stylesheet I hacked together that has running footers and
>> headers. The stylesheet belongs in a "brand" directory, such as
>> /usr/share/publican/xsl/mybrand/pdf.xsl
>>
>> hth,
>> -paul
>>
>>
>>
> <snip>
>
> Thanks! That works great. The only problem I'm running in to now is I
> cannot seem to get the header/footer to show up on the first page.
> Here's my current version of the pdf.xsl
You probably need to override the preface.titlepage.recto template to
get headers and footers on the cover page.
Cheers, Jeff.
--
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY
More information about the publican-list
mailing list