Modify

Opened 5 years ago

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

Description

When exporting a wiki page to PDF book, the table of contents is generated twice when the wiki page uses te http://trac-hacks.org/wiki/TocMacro 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 5 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 4 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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from airadier. Next status will be '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.