Modify

Opened 16 years ago

Closed 16 years ago

#4345 closed enhancement (fixed)

optionally skip toc macro when not inline

Reported by: izzy Owned by: Diorgenes Felipe Grzesiuk
Priority: normal Component: TracWikiToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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 16 years ago by Nickolas Grigoriadis

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 16 years ago by izzy

Thank you! I will update our installation and check.

comment:3 Changed 16 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 16 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 16 years ago by Nickolas Grigoriadis

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Diorgenes Felipe Grzesiuk.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.