Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5417 closed enhancement (worksforme)

[PATCH] Provide a stylesheet for use when printing that gets rid of irrelevant data

Reported by: robert.chin@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It would be great to have a special printing stylesheet that gets rid of irrelevant UI widgets (buttons, search fields, etc.) for use when printing. This reduces paper consumption due to margins and other things taking up space.

This is especially useful if trac is used to print revision log PDFs for electronic reading (such as on an ebook reader, or other archival purposes).

Attachments (1)

trac_print_stylesheet.diff (2.4 KB ) - added by robert.chin@… 18 years ago.
Print stylesheet and associated changes to use the media attribute in the href tag

Download all attachments as: .zip

Change History (3)

by robert.chin@…, 18 years ago

Attachment: trac_print_stylesheet.diff added

Print stylesheet and associated changes to use the media attribute in the href tag

comment:1 by Emmanuel Blot, 18 years ago

Keywords: needinfo added

Which release of Trac are you using?
AFAICT, the widgets you're referring to (buttons, search boxes, headers/banners, …) are already discarded for printing.

comment:2 by robert.chin@…, 18 years ago

Resolution: worksforme
Status: newclosed

You're right, I was using an older version of trac as a reference, and didn't bother to check the latest trac head that my development machine was using… oops.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.