Opened 6 years ago

Closed 5 years ago

#4345 closed enhancement (fixed)

optionally skip toc macro when not inline

Reported by: izzy Owned by: diorgenes
Priority: normal Component: TracWikiToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


We use the TOC macro a lot. Exporting a complete book (i.e. a collection of pages), the interpretation of the generated TOC on each and every page makes the generated PDF hard to handle sometimes - since the TOC is not rendered as it is on the page, but full-screen (like "inline") instead. Here it would be very helpful to turn the TOC macro off for the PDF export: The block to cut-off then is easily selectable by its DIV CLASS "wiki-toc".

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by grigi

The last patch in #3493 will always exclude the TOC macro. It might be worth it to have a look at what that patch provides.

comment:2 Changed 6 years ago by izzy

Thank you! I will update our installation and check.

comment:3 Changed 6 years ago by izzy

Well - that's a bunch of patches attached to that ticket. Do I have to install all of them? Is the last one "cumulative"? Will they be integrated into the repository code in the nearer future?

comment:4 Changed 6 years ago by izzy

I must learn reading - you said "the last one". After downloading it and fixing the files syntax, I applied the patch - and it solves this issue, thank you! Hope it will be integrated soon...

comment:5 Changed 5 years ago by grigi

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

The current version in svn (2.3.0) has the patch added.

Add Comment

Modify Ticket

as closed .
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.