Project

General

Profile

Actions

Feature #401

closed

Add pdf export for WIKI page

Added by Huang Hai over 17 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
Wiki
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Resolution:

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

Related to Redmine - Feature #3463: Export all wiki pages to PDFClosedJean-Philippe Lang2009-06-08

Actions
Related to Redmine - Feature #3261: support attachment images in PDF exportClosedToshi MARUYAMA2009-04-29

Actions
Related to Redmine - Defect #9533: Redmine Wiki Gchart LaTeX-style Formula plugin and PDF exportClosed2011-11-06

Actions
Has duplicate Redmine - Defect #1468: Adding PDF Export to wikiClosed2008-06-16

Actions
Has duplicate Redmine - Feature #1786: Also available in: PDF for Wiki-PagesClosed2008-08-13

Actions
Actions #1

Updated by Toni Kerschbaum about 16 years ago

+1

Is there nay possibility that this feature will be integrated into 0.8?

Actions #2

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.

Actions #3

Updated by Damien Couderc almost 16 years ago

Would it be possible to get that for 0.8.2 ?

Actions #4

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.

Actions #5

Updated by Adam Kubica over 15 years ago

+1

This is important feature.

Actions #6

Updated by Kiall Mac Innes over 15 years ago

+1

I would also love to see this added.

Actions #7

Updated by Oskar Nordquist over 15 years ago

+1

Actions #8

Updated by John Cole over 15 years ago

+1

Actions #9

Updated by Tim Sjöstrand over 15 years ago

+1

Actions #10

Updated by Cristi Harjoi over 15 years ago

+1

Actions #11

Updated by Michael Aye over 15 years ago

+1

Actions #12

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.

Actions #13

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.

Actions #14

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 :/

Actions #15

Updated by Stewart MacArthur over 15 years ago

+1 This would be a really useful feature

Actions #16

Updated by Colan Schwartz over 15 years ago

+1

Actions #17

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 :-)

Actions #18

Updated by Enderson Maia almost 15 years ago

#3463 is related to this one.

Maybe this could help - http://github.com/mbleigh/princely

Actions #19

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.

Actions #20

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...

Actions #21

Updated by K Digidi over 14 years ago

+1

Actions #22

Updated by Thomas Wacker over 14 years ago

+1

Actions #23

Updated by Eric Voisard over 14 years ago

+1

Actions #24

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?

Actions #25

Updated by Dylan Yee over 14 years ago

Hope to have this feature, +1~!

Actions #26

Updated by Terence Mill over 14 years ago

+1

Actions #27

Updated by Hervé Ménager over 14 years ago

+1

Actions #28

Updated by Bertrand Néron over 14 years ago

+1

Actions #29

Updated by Terence Mill over 14 years ago

You could maybe make use of Apache FOP

Actions #30

Updated by Guilhem Lettron over 14 years ago

+1
Have form for issue export in PDF is great.

Actions #31

Updated by Werner Marcus over 14 years ago

+1

Actions #32

Updated by Adam Kubica over 14 years ago

+1

Actions #33

Updated by Marton Danoczy about 14 years ago

+1

Actions #34

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?

Actions #35

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).

Actions #36

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.

Actions #37

Updated by Ian DeFazio almost 14 years ago

+1

Actions #38

Updated by Quirin Lohr almost 14 years ago

+1

Actions #39

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

Actions #40

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 :-(

Actions #41

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.

Actions #42

Updated by Etienne Massip over 13 years ago

  • Status changed from Resolved to New
Actions #43

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?

Actions #44

Updated by Terence Mill over 13 years ago

Looks as the knowledgebase plugin already ships wiki kind export. Maybe functional migration is possible here

Actions #45

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to Wiki
Actions #46

Updated by Josh Davidson over 13 years ago

+1

Actions #48

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.

Actions #49

Updated by Matthias Lohr about 13 years ago

+1

Actions #50

Updated by Jun NAITOH about 13 years ago

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.

Actions #51

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
Actions #52

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

Actions #53

Updated by Jun NAITOH about 13 years ago

Thank you!!!

Actions #54

Updated by Terence Mill about 13 years ago

Yuhu!

Actions #55

Updated by Jean-Philippe Lang about 13 years ago

  • Status changed from 7 to Closed
Actions

Also available in: Atom PDF