Frontmatter and Backmatter with Chemistry

Post here questions and problems related to editing and publishing DITA content.
carlisaac
Posts: 11
Joined: Fri Jan 17, 2014 7:25 pm

Frontmatter and Backmatter with Chemistry

Post by carlisaac »

I'm using Chemistry to generate a PDF of my DITAmap and am trying to find a way of styling the frontmatter and backmatter. I have one topic that contains frontmatter, which needs to appear after the cover page but before the TOC. I also have 3-5 topics that container backmatter to be placed at the end of the guide and be excluded from the TOC.

I tried targeting the page using @page matter-page but no matter what, I can't get the output styled correctly. The only thing I've learned is that I should probably have gone with a bookmap for this, but now it's unfortunately too late.

If anyone has any ideas on how I can do this, I would be immensely grateful.

Many thanks!
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Re: Frontmatter and Backmatter with Chemistry

Post by Dan »

I think you should use the outputclass="before-toc" attribute on the topic refs in the DITA Map that you want them to move before the TOC, plus the @toc="no" for the topics you want excluded from the TOC. Have you tried this?

Many regards,
Dan
Post Reply