Modify

Opened 3 years ago

Last modified 3 years ago

#9174 new defect

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

Reported by: sandinak Owned by: diorgenes
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 (1)

comment:1 Changed 3 years ago by sandinak

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

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.