Modify

Opened 11 years ago

Closed 11 years ago

#837 closed enhancement (fixed)

PageToPdfPlugin patch for page size

Reported by: Johan Risberg Owned by: Alec Thomas
Priority: normal Component: PageToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Non US users might appreciate a printout in other than 'Letter' format.

The attached patch makes the plugin read the config file for a page size parameter, which is passed to htmldoc.

trac.ini:

[pagetopdf]
pagesize = A4

Attachments (1)

pagetopdf.patch (1.3 KB) - added by Johan Risberg 11 years ago.
Page size parameter patch

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Johan Risberg

Attachment: pagetopdf.patch added

Page size parameter patch

comment:1 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

(In [1421]) Any configuration items in the [pagetopdf] section will be passed through to htmldoc as command line arguments. Closes #664 and #837 (override charset and size, respectively).

comment:2 Changed 11 years ago by Johan Risberg

Resolution: fixed
Status: closedreopened

Nice work! Unfortunately the new code searches in trac.ini for the section [tracpdf]}}, not {{{[pagetopdf] as described.

comment:3 Changed 11 years ago by Alec Thomas

Resolution: fixed
Status: reopenedclosed

(In [1441]) Whoops, wrong section. Fixes #837.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.