Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4747 closed enhancement (fixed)

Missing PS and HTML export

Reported by: izzy Owned by: diorgenes
Priority: normal Component: TracWikiToPdfPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

While the screenshot at least shows PDF and PS as output formats, the 0.11 branch only shows PDF. As for the CSS and page break issues with htmldoc 1.8 (the official stable version in most repositories), I felt the need for HTML export as well - so one could import this to e.g. Open Office, rework the page breaks and styles, and do the final PDF export from there.

Looking at the 0.10 code, it was not hard for me to achieve this (my Python coding is mostly cut-and-paste, since I'm not that familiar with the Python language) - so for me, this plugin now offers PDF (set to version 1.4 as with the original code), PS (using the default PS level), and HTML as well! Since I profited from the code here, I want to share my work as well - so you find a patch attached which was made against r3434 of formats.py and also includes the patch I attached to #4696 (so it is "cumulative"). Feel free to apply it to the repository ;)

Attachments (1)

formats.py.titlefile+multiformat.patch (2.4 KB) - added by izzy 5 years ago.
Additionally supporting PS and HTML export formats (includes patch from #4696 and was made against formats.py r3434)

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by izzy

Additionally supporting PS and HTML export formats (includes patch from #4696 and was made against formats.py r3434)

comment:1 Changed 5 years ago by grigi

  • Resolution set to fixed
  • Status changed from new to closed

Applied patch to [5578]

comment:2 Changed 5 years ago by izzy

Great to see the project is carried on! And thank you for including this patch as well - so it looks like only one patch is left for me to be applied manually, and I have to re-create it since it was including this one (cumulative patch, see #4915) - but that's done easily, since it just have been a few lines.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from diorgenes. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.