PDF with CSS: back-page

Post here questions and problems related to editing and publishing DITA content.
kmank
Posts: 118
Joined: Mon Apr 19, 2010 5:33 pm

PDF with CSS: back-page

Post 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!
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Re: PDF with CSS: back-page

Post 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
Post Reply