Hi,

I wonder which wiki page download mechanism people prefer do generate
HTML, text, or PDF? I'm not satisfied with the solutions I tried, so
maybe I need some pointers:

* the PDF plugins based on htmldoc cannot handle images - is this a
   known limitation or a misconfiguration on my side?

* AFAIK htmldoc cannot handle non-European languages. I didn't try
   recently, but I'm sure it was a problem not too long ago - maybe
   reportlab would be the better tool to produce PDF with Python?

* the text download gives me the wiki source code - it would make
   more sense to pipe the HTML page through w3m (text based browser,
   that can handle most languages and even tables)

* saving the HTML in the web browser gives me the complete page, but
   it would be more useful without the trac headers and footers. There
   was a patch for trac 0.8(?) to have an HTML download, but it does
   not work for 0.11

* ODF download fails on some pages with "SyntaxError: not well-formed
   (invalid token): line x, column y". A page with multiple PNGs
   crashes OpenOffice 3.0...

* I tried the DocBook download, but it didn't work for me (sorry, I
   don't remember the error message, because I experimented with dozens of
   plugins that night)

* no mechanism can save e.g. diagrams generated by the graphviz plugin

My current workaround is:

1. Save the wiki page with the scrapbook Firefox/Iceweasel extension

2. Delete headers and footers with scrapbooks DOM eraser tool

3. Save as text or HTML, or print into PDF file from the browser

4. Delete saved page in scrapbook

This works, but with an HTML download without headers/footers I could
save steps 1 and 2 and replace 4 with an "rm".

I'm sure, there are better ways, right?

Thanks in advance!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to