Feature #401
Add pdf export for WIKI page
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Toshi MARUYAMA | % Done: | 100% |
|
| Category: | Wiki | |||
| Target version: | 1.3.0 | |||
| Resolution: |
Description
Add pdf export for WIKI page.
User can click a "pdf" link in wiki page to export content as pdf file.
Related issues
Associated revisions
test: functional: wiki: add tests to show html and txt (#401)
pdf: lib: add a method to export wiki (#401)
Contributed by Jun NAITOH.
pdf: add a new feature to export wiki pdf (#401)
Contributed by Jun NAITOH.
test: functional: wiki: add tests to show pdf (#401)
History
#1 Updated by Toni Kerschbaum over 3 years ago
+1
Is there nay possibility that this feature will be integrated into 0.8?
#2 Updated by Damien Couderc over 3 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.
#3 Updated by Damien Couderc over 3 years ago
Would it be possible to get that for 0.8.2 ?
#4 Updated by Anton Dollmaier about 3 years ago
+1 for me too
PDF-export would be really nice to have, no need for local pdf printers anymore.
#5 Updated by Adam Kubica about 3 years ago
+1
This is important feature.
#6 Updated by Kiall Mac Innes about 3 years ago
+1
I would also love to see this added.
#7 Updated by Oskar Nordquist about 3 years ago
+1
#8 Updated by John Cole about 3 years ago
+1
#9 Updated by Tim Sjöstrand about 3 years ago
+1
#10 Updated by Cristi Harjoi about 3 years ago
+1
#11 Updated by Michael Aye about 3 years ago
+1
#12 Updated by Olafur Gislason about 3 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.
#13 Updated by Andrew Chaika about 3 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.
#14 Updated by Damien Couderc about 3 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 :/
#15 Updated by Stewart MacArthur about 3 years ago
+1 This would be a really useful feature
#16 Updated by Colan Schwartz about 3 years ago
+1
#17 Updated by Thomas Capricelli over 2 years ago
Mediawiki provides this feature through a plugin, and i use it a lot.
I'd love to have this with redmine too :-)
#18 Updated by Enderson Maia over 2 years ago
#3463 is related to this one.
Maybe this could help - http://github.com/mbleigh/princely
#19 Updated by Felix Schäfer over 2 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.
#20 Updated by Gabriel Lemarie over 2 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...
#21 Updated by K Digidi about 2 years ago
+1
#22 Updated by Thomas Wacker almost 2 years ago
+1
#23 Updated by Eric Voisard almost 2 years ago
+1
#24 Updated by Jason Eacott almost 2 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?
#25 Updated by Dylan Yee almost 2 years ago
Hope to have this feature, +1~!
#26 Updated by Terence Mill almost 2 years ago
+1
#27 Updated by Hervé Ménager almost 2 years ago
+1
#28 Updated by Bertrand Néron almost 2 years ago
+1
#29 Updated by Terence Mill almost 2 years ago
You could maybe make use of Apache FOP
#30 Updated by Guilhem Lettron almost 2 years ago
+1
Have form for issue export in PDF is great.
#31 Updated by Werner Marcus almost 2 years ago
+1
#32 Updated by Adam Kubica almost 2 years ago
+1
#33 Updated by Marton Danoczy over 1 year ago
+1
#34 Updated by Colan Schwartz over 1 year 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?
#35 Updated by Arnaud Martel over 1 year 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).
#36 Updated by Eugene Seliverstov over 1 year 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.
#37 Updated by Ian DeFazio over 1 year ago
+1
#38 Updated by Quirin Lohr over 1 year ago
+1
#39 Updated by Christian Mayr over 1 year ago
- Status changed from New to Resolved
Solved by the wonderful DocPu-Plugin:
http://www.redmine.org/plugins/redmine_doc_pu
#40 Updated by Thomas Capricelli over 1 year 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 :-(
#41 Updated by Joshua Villagomez about 1 year 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.
#42 Updated by Etienne Massip about 1 year ago
- Status changed from Resolved to New
#43 Updated by Terence Mill about 1 year 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?
#44 Updated by Terence Mill about 1 year ago
Looks as the knowledgebase plugin already ships wiki kind export. Maybe functional migration is possible here
#45 Updated by Toshi MARUYAMA about 1 year ago
- Category set to Wiki
#46 Updated by Josh Davidson 9 months ago
+1
#47 Updated by Terence Mill 9 months ago
Just another plugin: https://github.com/amartel/redmine_pdf_wiki
#48 Updated by Jenny Hanes 8 months 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.
#49 Updated by Matthias Lohr 8 months ago
+1
#50 Updated by Jun NAITOH 7 months ago
- File wiki_pdf_export_app.patch added
- File wiki_pdf_export_lib.patch added
- File 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.
#51 Updated by Toshi MARUYAMA 7 months ago
- Status changed from New to Assigned
- Assignee set to Toshi MARUYAMA
- Target version set to 1.3.0
#52 Updated by Toshi MARUYAMA 7 months 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
#53 Updated by Jun NAITOH 7 months ago
Thank you!!!
#54 Updated by Terence Mill 7 months ago
Yuhu!
#55 Updated by Jean-Philippe Lang 6 months ago
- Status changed from Assigned to Closed
