dokuwiki-plugin-dw2pdf icon indicating copy to clipboard operation
dokuwiki-plugin-dw2pdf copied to clipboard

Feature : add a minimum sections count for creating a Table of Contents

Open jeffchulg opened this issue 3 years ago • 2 comments

If there is only one title and 2 or 3 sub titles, then adding a toc is not really necessary.

It would be nice to have a parameter that tells dw2pdf not to add the toc if so..

jeffchulg avatar Mar 31 '22 08:03 jeffchulg

There are settings for manipulating the ToC. Please see https://www.dokuwiki.org/plugin:dw2pdf:configuration#table_of_contents Does these fulfill your needs?

Klap-in avatar Mar 31 '22 11:03 Klap-in

Hi, unfortunately no..

I'll give a try to explain...

Let's say I have following page:

<Title>
<content_no_title>

To me, there is no need to generate an almost empty ToC ... It's when the page starts to have more contents that it's a good point to create ToC. Eventually, having two buttons... one for generating with ToC and one without could be good enough...

jeffchulg avatar Mar 31 '22 12:03 jeffchulg