cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Configuration: Task filed

HTMLDOC gets called with --no-toc no matter what

In the file:

templates\view.genpdf.tmpl

it appears that the button gets installed on the skin with a parameter pdftoclevels=0, which then is encoded into the url that the button press leads to, and no matter what other topic preferences variables, or web preferences variables you set (eg GENPDFADDON_TOCLEVELS), the --no-toc parameter gets passed to HTMLDOC and therefore the .pdf file won't have a TOC.
Not sure why this is coded this way. It's safe to modify the template to remove the parameter. I've opened Foswikitask:Item8090 to address this.

-- GeorgeClark - 28 Mar 2009

QuestionForm edit

Subject Configuration
Extension GenPDFAddOn
Version
Status Task filed
Topic revision: r2 - 28 Mar 2009, GeorgeClark - This page was cached on 23 Jun 2018 - 22:58.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy