Chapter within a chapter

Post here questions and problems related to editing and publishing DITA content.
pmkdita
Posts: 2
Joined: Fri Jan 27, 2017 7:10 pm

Chapter within a chapter

Post by pmkdita »

Hi,

Can I add a chapter within a chapter for a chm output? I am using XML Author 18.0. Thank you!

Regards,
PK
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Chapter within a chapter

Post by Radu »

Hi,

The DITA BookMap specialization which you are already probably using disallows inserting chapters inside chapters.
You could possibly create your own DITA DTD specialization similar to the bookmap but removing the limitation.
Or as an alternative on the topicrefs that you want shown as chapters set an @outputclass attribute with a specific value and then create a PDF customization which would match those specific topicrefs and apply chapter-like processing on it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
pmkdita
Posts: 2
Joined: Fri Jan 27, 2017 7:10 pm

Re: Chapter within a chapter

Post by pmkdita »

Thanks Radu. I ended up just inserting article map inside a article map to develop the required output hierarchy.

Regards,
PK
Post Reply