Modify

Opened 13 years ago

Last modified 6 years ago

#9174 new defect

Option to put PageTitle at top of pdf for wikitopdf single page

Reported by: branson Owned by:
Priority: normal Component: TracWikiToPdfPlugin
Severity: normal Keywords: title
Cc: Trac Release: 0.12

Description

It'd be really nice to have an option to add the page title to the TOP of a pdf. We use the breadcrumbs here to show page title and so it's not generally ON the page. Any help appreciated, but I am trying to patch it in myself.

Attachments (0)

Change History (2)

comment:1 Changed 13 years ago by branson

I have added a patch to my version that does this for us, be nice to make it a trac.ini option:

$ diff wikitopdf.py wikitopdf.py.orig
49,51d48
< 
<     # add the title for clarity
<     text = '= !' + req.args.get('page') + ' =\n----\n' + text

comment:2 Changed 6 years ago by Ryan J Ollos

Owner: Diorgenes Felipe Grzesiuk deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.