Opened 16 years ago

Closed 11 years ago

#1121 closed defect (wontfix)

TOC macro doesn't work correctly with plugin

Reported by: Tonin Owned by: Alec Thomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


When using the TocMacro, the table of content displayed on the PDF document is always the table of content of the index page of the wiki.

Attachments (0)

Change History (3)

comment:1 Changed 15 years ago by tno@…

Trac Release: 0.100.11

In my case (Trac 11rc1), I'm having an error message:

Error: Macro TOC(None) failed
'NoneType' object has no attribute 'endswith'

Similarly, the BackLinksMenuMacro fails, not with an error message but with a complete list of all wiki pages like this:

Pages linking to None:

To a complete newbie, this looks like an otherwise implicit plugin/macro parameter being forgotten when generating PDF

comment:2 Changed 11 years ago by Ryan J Ollos

Deprecated, please see the TracWikiToPdfPlugin.

comment:3 Changed 11 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.