Vote #62399
完了Add pdf export for WIKI page
100%
説明
Add pdf export for WIKI page.
User can click a "pdf" link in wiki page to export content as pdf file.
journals
+1
Is there nay possibility that this feature will be integrated into 0.8?
--------------------------------------------------------------------------------
+ 1000 !
This *IS* a must have to create documentations in the wiki sub system and then being able to produce paper versions of those.
--------------------------------------------------------------------------------
Would it be possible to get that for 0.8.2 ?
--------------------------------------------------------------------------------
+1 for me too
PDF-export would be really nice to have, no need for local pdf printers anymore.
--------------------------------------------------------------------------------
+1
This is important feature.
--------------------------------------------------------------------------------
+1
I would also love to see this added.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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 :/
--------------------------------------------------------------------------------
+1 This would be a really useful feature
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Mediawiki provides this feature through a plugin, and i use it a lot.
I'd love to have this with redmine too :-)
--------------------------------------------------------------------------------
#3463 is related to this one.
Maybe this could help - http://github.com/mbleigh/princely
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Hi All, I'd love this one. By now, I have to export to HTML and merge the files before converting in PDF...
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
why not skip the html part, and instead go textile to xml, that would seem simple enough, then use xsl-fo to generate pdf?
--------------------------------------------------------------------------------
Hope to have this feature, +1~!
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
You could maybe make use of "Apache FOP":http://xmlgraphics.apache.org/fop/
--------------------------------------------------------------------------------
+1
Have form for issue export in PDF is great.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
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).
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Solved by the wonderful DocPu-Plugin:
http://www.redmine.org/plugins/redmine_doc_pu
--------------------------------------------------------------------------------
Hey, i dont agree. This plugin is probably very cool, but it's not what this ticket is about. As said in the description
<pre>
User can click a "pdf" link in wiki page to export content as pdf file.
</pre>
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 :-(
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
Looks as the "knowledgebase plugin":http://www.redmine.org/boards/3/topics/11643?r=23621 already ships wiki kind export. Maybe functional migration is possible here
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Just another plugin: https://github.com/amartel/redmine_pdf_wiki
--------------------------------------------------------------------------------
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). [[Pflaster verfugen|http://www.mainbrick.com/shop/product/pflasterfugenmoertel/pflasterfugenmoertel-wassertolerant-und-allwettertauglich.html]] For example MoinMoin has DocBook export.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I committed this feature from r7739 to r7742.
I posted a new patch at http://www.redmine.org/issues/3261#note-16
--------------------------------------------------------------------------------
Thank you!!!
--------------------------------------------------------------------------------
Yuhu!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,3463,Export all wiki pages to PDF
relates,Closed,3261,support attachment images in PDF export
relates,Closed,9533,Redmine Wiki Gchart LaTeX-style Formula plugin and PDF export
duplicates,Closed,1468,Adding PDF Export to wiki
duplicates,Closed,1786,Also available in: PDF for Wiki-Pages