<!-- 2. bis (n-1). page -->
<fo:conditional-page-master-reference
master-reference="middle"
page-position="rest" />
<!-- /2. bis (n-1). page -->
<!-- last Seite -->
<fo:conditional-page-master-reference
master-reference="last"
page-position="last" />
<!-- /last Seite -->
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
I want to put a special sentece in the footer region of the last page of every document I create. To reach this I tried:
Most of the times it works properly. But when the document ist only one page long (first page = last page) I don't get the text at the end of the document because FOP uses "first-after" and not "last-after". What must I do that my Stylesheets works even in this case.