Modify

Opened 8 years ago

Closed 2 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

Description

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 6 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:
InterMapTxt
SandBox
WikiMacros
WikiHtml
TracQuery
TracStandalone

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

comment:2 Changed 2 years ago by rjollos

Deprecated, please see the TracWikiToPdfPlugin.

comment:3 Changed 2 years ago by rjollos

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.