Omit sub table of contents in epub target

Post here questions and problems related to editing and publishing DITA content.
IsleofGough
Posts: 34
Joined: Fri Dec 02, 2016 9:55 pm

Omit sub table of contents in epub target

Post by IsleofGough »

When I export a DITA book map to ePub, I get a mini TOC every time I have nested topics. Is there a way of turning this off?
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Omit sub table of contents in epub target

Post by Radu »

Hi,
If you edit the transformation scenario, in the Parameters list there are various EPUB-related parameters, I think you can set the "epub.exclude.auto.rellinks" parameter to "true" to achieve what you want.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
IsleofGough
Posts: 34
Joined: Fri Dec 02, 2016 9:55 pm

Re: Omit sub table of contents in epub target

Post by IsleofGough »

Thanks. That looks a lot better. So far I'm finding that Docbook export has much better defaults than DITA for ePubs. I can get close with a DITA Bookman but I still need to edit the ePub afterwards with Sigil or some other editing program.
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Omit sub table of contents in epub target

Post by Radu »

Hi,
If you have an improvement suggestion for the DITA to EPUB output you can maybe consider adding an issue for it here:
https://github.com/dita4publishers/org. ... pub/issues
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply