Page 1 of 1

Frontmatter and Backmatter with Chemistry

Posted: Mon Nov 26, 2018 9:03 pm
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!

Re: Frontmatter and Backmatter with Chemistry

Posted: Wed Nov 28, 2018 3:44 pm
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