Opened 10 years ago

Closed 4 years ago

#1121 closed defect (wontfix)

TOC macro doesn't work correctly with plugin

Reported by: tonin Owned by: athomas
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 8 years ago by tno@…

  • Trac Release changed from 0.10 to 0.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 4 years ago by rjollos

Deprecated, please see the TracWikiToPdfPlugin.

comment:3 Changed 4 years ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.