Opened 9 years ago

Closed 8 years ago

#6213 closed enhancement (fixed)

Ignore TOC generated by TocMacro

Reported by: Kurt Smolderen Owned by: Álvaro Iradier
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 8 years ago by Álvaro Iradier

Status: newassigned

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 8 years ago by Álvaro Iradier

Resolution: fixed
Status: assignedclosed

(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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Álvaro Iradier.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.