Modify

Opened 18 years ago

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

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 16 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:
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 12 years ago by Ryan J Ollos

Deprecated, please see the TracWikiToPdfPlugin.

comment:3 Changed 12 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.