Hi,
I've been trying to use --level1-toc and friends to no avail.
I've tried all kinds of different things but in the end, the only thing that lets me get everything into the TOC is to use the --chapter flag:
Code:
--chapter='//*[@class="docPartTitle" or @class="docChapterTitle" or @class="docAppendixTitle" or @class="docPrefaceTitle" or @class="docSection1Title"]'
but this gives me a dead flat hierarchy. Ideally what I want to do is:
Code:
--leve1-toc='//*[@class="docPartTitle" or @class="docAppendixTitle" or @class="docPrefaceTitle"]' --level2-toc='//*[@class="docChapterTitle" or @class="docSection1Title"]'
But no matter how I try to do it, include --no-chapters-in-toc or --use-auto-toc, or --chapter=/, those options don't do anything at all. All I get is the default behaviour (h1, h2 with Part and Chapter in it).
Is this feature not working or am I doing something stupid?
Thanks,
EP