Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeffchulg opened this issue Mar 31, 2022 · 2 comments
Open

Comments

@jeffchulg
Copy link

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

@Klap-in
Copy link
Collaborator

Klap-in commented Mar 31, 2022

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

@jeffchulg
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants