Modify

Opened 15 years ago

Closed 15 years ago

Last modified 3 years ago

#4747 closed enhancement (fixed)

Missing PS and HTML export

Reported by: izzy Owned by: Diorgenes Felipe Grzesiuk
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 15 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 15 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 15 years ago by Nickolas Grigoriadis

Resolution: fixed
Status: newclosed

Applied patch to [5578]

comment:2 Changed 15 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Diorgenes Felipe Grzesiuk.
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.