splitbrain / dokuwiki-plugin-dw2pdf

A fork of Luigi Micco's PDF export plugin for DokuWiki

Home Page:http://www.dokuwiki.org/plugin:dw2pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jeffchulg opened this issue · 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..

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

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...