• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I have the April 2006 version of the plugin installed. If I set the GENPDFADDON_TOCLEVELS to 0 to disable the TOC, it has no effect and the TOC appears with the default levels. If I set GENPDFADDON_TOCLEVELS to 1 or 2, the variable is used and it limits the TOC to the appropriate level. If I set the URL version of the variable 'genpdftoclevels' it also has the same behavior as I just described.

I have determined the problem is in GenPDF.pm. The problem is due to incorrect parsing of the options due to an 'undef' variable being equivalent in perl to 0 in a conditional. I will be checking in a corrected version shortly.


The checkins fix this item and updated the documentation. A new release of the plugin has been uploaded to the Plugin web.


Summary PDF Table of contents can't be disabled
ReportedBy TWiki:Main.RickMach
Codebase 4.0.4
SVN Range TWiki-4.1, Sat, 23 Sep 2006, build 11571
AppliesTo Extension
Component GenPDFAddOn
Priority Normal
CurrentState Closed

Checkins 11673 11674 11675 11678
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2006-10-06 - RickMach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback