Page 1 of 1

PDF with CSS: back-page

Posted: Thu May 09, 2019 5:00 pm
by kmank
I have been searching through the documentation for anything related to creating a back page (back matter page) - the other bookend to the documented @page front-page, if you will.

Is there documentation I am missing, or is it undocumented or simply not available?

thanks!

Re: PDF with CSS: back-page

Posted: Mon May 13, 2019 3:41 pm
by Dan
We do not have this page defined in the default CSS, but you do have a workaround:

You have to use a DITA bookmap and add a backmatter to it. In this backmatter add a reference to a topic that contains the back-page content. That topic must be marked with a special outputclass attribute value, like 'back-page'. Then, in the CSS, use:

Code: Select all


@page back-page {
// Style it how you wish.
}

.back-page{
   page:back-page;
}


Many regards,
Dan