Opened 7 years ago

Closed 7 years ago

#6213 closed enhancement (fixed)

Ignore TOC generated by TocMacro

Reported by: ksmolder Owned by: airadier
Priority: normal Component: TracWikiPrintPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


When exporting a wiki page to PDF book, the table of contents is generated twice when the wiki page uses te plugin: Once as TOC generated by TracWikiPrintPlugin, and once as 'page content' from the TocMacro. It should be nice if the availability of the TOC could be detected in order to generate it only once.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by airadier

  • Status changed from new to assigned

I think this is already done for PageOutline... should be easy to fix for TocMacro. I'll take a look. Patches are welcome.

comment:2 Changed 7 years ago by airadier

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7699]) New version 1.7

  • Improvements resolving image links
  • Added WIKIPRINT_ADMIN and WIKIPRINT_FILESYSTEM permissions (fixes #6250)
  • Replace [[TOC]] with Table of Contents (fixes #6213), and support parameters in TOC and PageOutline macros

Add Comment

Modify Ticket

as closed The owner will remain airadier.
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.