Opened 16 years ago

Closed 10 years ago

#1247 closed defect (wontfix)

[PATCH] Allow manipulation of htmldoc flags and negation of defaults from trac.ini

Reported by: dclark@… Owned by: Alec Thomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


Currently it is possible to set new options (name = value) and replace the values of default options in the trac.ini [pagetopdf] section, but as far as I could tell it was not possible to negate default options (this was annoying because I wanted to use book format, not webpage format), and setting keys with empty string values looks sort of odd. The patch allows the extra values "yes" and "no" to be attached to each key in the [pagetopdf] section. If a value is "yes", the key's value gets set to "None"; if it is "no", the key gets removed from the defaults.


book = yes
color = yes
numbered = yes
title = yes
webpage = no

Attachments (1) (1.1 KB) - added by dclark@… 16 years ago.
patch to allow negation and better looking setting of flags

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by dclark@…

Attachment: added

patch to allow negation and better looking setting of flags

comment:1 Changed 14 years ago by pierreolivier6@…


This is an up to date version of this patch :

comment:2 Changed 14 years ago by pierreolivier6@…

comment:3 Changed 10 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Deprecated, please see the TracWikiToPdfPlugin.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
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.