Feature #401
closedAdd pdf export for WIKI page
Added by Huang Hai over 17 years ago. Updated about 13 years ago.
100%
Description
Add pdf export for WIKI page.
User can click a "pdf" link in wiki page to export content as pdf file.
Files
wiki_pdf_export_app.patch (1.54 KB) wiki_pdf_export_app.patch | Jun NAITOH, 2011-10-30 02:35 | ||
wiki_pdf_export_lib.patch (1.52 KB) wiki_pdf_export_lib.patch | Jun NAITOH, 2011-10-30 02:35 | ||
TestPage.pdf (472 KB) TestPage.pdf | Jun NAITOH, 2011-10-30 02:35 |
Related issues
Updated by Toni Kerschbaum about 16 years ago
+1
Is there nay possibility that this feature will be integrated into 0.8?
Updated by Damien Couderc almost 16 years ago
+ 1000 !
This IS a must have to create documentations in the wiki sub system and then being able to produce paper versions of those.
Updated by Damien Couderc almost 16 years ago
Would it be possible to get that for 0.8.2 ?
Updated by Anton Dollmaier over 15 years ago
+1 for me too
PDF-export would be really nice to have, no need for local pdf printers anymore.
Updated by Kiall Mac Innes over 15 years ago
+1
I would also love to see this added.
Updated by Olafur Gislason over 15 years ago
+1
Just found this page
http://blog.adsdevshop.com/2007/11/20/easy-pdf-generation-with-ruby-rails-and-htmldoc/
could be helpful to implement this feature into Redmine.
Updated by Andrew Chaika over 15 years ago
Olafur Gislason wrote:
http://blog.adsdevshop.com/2007/11/20/easy-pdf-generation-with-ruby-rails-and-htmldoc/
I have implemented for myself pdf generation with Prince XML, it works well, but it's not free for non personal use.
Updated by Damien Couderc over 15 years ago
I've been thinking a bit on this problem and the "textile to html to pdf solution" is not the cleanest IMHO.
In fact, a direct textile to pdf renderer would be better but it's not an easy task (and should maybe developed outside of the Redmine project).
If only i'd have more spare time to do it :/
Updated by Stewart MacArthur over 15 years ago
+1 This would be a really useful feature
Updated by Thomas Capricelli almost 15 years ago
Mediawiki provides this feature through a plugin, and i use it a lot.
I'd love to have this with redmine too :-)
Updated by Enderson Maia almost 15 years ago
#3463 is related to this one.
Maybe this could help - http://github.com/mbleigh/princely
Updated by Felix Schäfer almost 15 years ago
I was under the impression that redcloth supports exporting textile to LaTeX (although I couldn't find since what version). Not sure how much "other" stuff you'd need to get the LaTeX to pdf (I do have LaTeX installed on my machines, not sure how much of a dependency you would want to make that), but that might be a possible solution too.
Updated by Gabriel Lemarie almost 15 years ago
Hi All, I'd love this one. By now, I have to export to HTML and merge the files before converting in PDF...
Updated by Jason Eacott over 14 years ago
why not skip the html part, and instead go textile to xml, that would seem simple enough, then use xsl-fo to generate pdf?
Updated by Terence Mill over 14 years ago
You could maybe make use of Apache FOP
Updated by Guilhem Lettron over 14 years ago
+1
Have form for issue export in PDF is great.
Updated by Colan Schwartz about 14 years ago
Issues can already be exported to PDF, so there's already code in Redmine that can do this. Can't we just reuse the same code for wiki pages?
Updated by Arnaud Martel about 14 years ago
Colan,
Unfortunately not!!! Issue's pdf export is made with a complete rewrite of the issue using pdf functions... In my opinion, using wkhtmltopdf, as I did for wiki pages, offers a better result (at least for inline images...) even if I perfectly know that is not perfect (call an external application is never the better solution if you want scalability and cross-platform support).
Updated by Evgeny Seliverstov about 14 years ago
It will be good even if redmine will export wiki to docbook. Docbook generation is not platform dependent and easier unlike pdf generation (mentioned wkhtmltopdf can't work on *bsd). For example MoinMoin has DocBook export.
Updated by Christian Mayr almost 14 years ago
- Status changed from New to Resolved
Solved by the wonderful DocPu-Plugin:
http://www.redmine.org/plugins/redmine_doc_pu
Updated by Thomas Capricelli almost 14 years ago
Hey, i dont agree. This plugin is probably very cool, but it's not what this ticket is about. As said in the description
User can click a "pdf" link in wiki page to export content as pdf file.
It's about automatic generation from wiki to pdf.
The plugin is about document publishing, you need the admin of the site to explicitely publish each and every page. Also.. using latex for this seems overkill.
Unfortunately, i'm not allowed to re-open this bug :-(
Updated by Joshua Villagomez over 13 years ago
I agree with Thomas, ideally, a link option for every wiki would be a great feature to have. This gives user ability to export to PDF on the fly. We can't have all users be admins using DocPu. There must be a simpler method.
Updated by Etienne Massip over 13 years ago
- Status changed from Resolved to New
Updated by Terence Mill over 13 years ago
Hey guys, "Arnauds first steps" http://www.redmine.org/issues/3463#note-35 looks very promising. Can the plugin use a hooks for new pdl link in wiki side, better than patching views? Needs some test, also- someone gave it a test?
Updated by Terence Mill over 13 years ago
Looks as the knowledgebase plugin already ships wiki kind export. Maybe functional migration is possible here
Updated by Terence Mill over 13 years ago
Just another plugin: https://github.com/amartel/redmine_pdf_wiki
Updated by Jenny Hanes about 13 years ago
It will be good even if redmine will export wiki to docbook. Docbook generation is not platform dependent and easier unlike pdf generation (mentioned wkhtmltopdf can't work on *bsd). http://www.mainbrick.com/shop/product/pflasterfugenmoertel/pflasterfugenmoertel-wassertolerant-und-allwettertauglich.html For example MoinMoin has DocBook export.
Updated by Jun NAITOH about 13 years ago
- File wiki_pdf_export_app.patch wiki_pdf_export_app.patch added
- File wiki_pdf_export_lib.patch wiki_pdf_export_lib.patch added
- File TestPage.pdf TestPage.pdf added
I wrote PDF export patch for Wiki Page.
This patch need to http://www.redmine.org/issues/3261#note-15 patch.
I tested on Cent OS 6 and Windows XP and JRuby 1.6.2(CentOS 6.0).
If you need include images, you have to install RMagick.
Updated by Toshi MARUYAMA about 13 years ago
- Status changed from New to 7
- Assignee set to Toshi MARUYAMA
- Target version set to 1.3.0
Updated by Toshi MARUYAMA about 13 years ago
- % Done changed from 0 to 100
I committed this feature from r7739 to r7742.
I posted a new patch at http://www.redmine.org/issues/3261#note-16
Updated by Jean-Philippe Lang about 13 years ago
- Status changed from 7 to Closed