Ticket #6213 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Ignore TOC generated by TocMacro

Reported by: ksmolder Assigned to: 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

Change History

11/23/09 10:22:18 changed 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.

02/22/10 11:24:11 changed by airadier

  • status changed from assigned to closed.
  • resolution set to fixed.

(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/Change #6213 (Ignore TOC generated by TocMacro)




Change Properties
Action