PDF with CSS: back-page

kmank
Posts: 91
Joined: Mon Apr 19, 2010 5:33 pm

PDF with CSS: back-page

Post by kmank » Thu May 09, 2019 5:00 pm

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!

Dan
Posts: 385
Joined: Mon Feb 03, 2003 10:56 am

Re: PDF with CSS: back-page

Post by Dan » Mon May 13, 2019 3:41 pm

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

Post Reply