Forum How do I...?

Page footer from first input document on all output pages

Stephan
Hi,

I create one output pdf from two input documents.

prince doc1.html doc2.html -s user.css -o doc.pdf

The first input document contains a html table which I want to go into the footer of every (!) page of the output document.


user.css :
#footer{ prince-flow: static(footer) }

@page {
        @bottom-left{ content: flow(footer) };
        @bottom-right{ content:  "Page: " counter(page) " / " counter(pages)  }
    }


doc1.html:
   <div id="footer">
        <table>
        <tr><td>cell 11 </td><td>cell12</td></tr>

        <tr><td>cell 21 </td><td>cell22</td></tr>
        </table>
    </div>


The result is that only on the first pages (from doc1) get the table footer (bottom-left) .
However the bottom-right footer is found on ALL pages.

Is there a way to get the footer on all output pages without repeating it in doc2.html?

Thanks for help.

Stephan
mikeday
When run in Prince 6.0 rev 5, neither of the two footers should be repeated in subsequent documents, although the generated content footer can be if it is taken from an external style sheet applied to every document. At the moment there is no mechanism for taking content from one document and including it in every document.