Ticket #76 (closed enhancement: fixed)

Opened 3 years ago

Last modified 5 months ago

Export of wiki-Pages to one PDF-Document

Reported by: jan.linnenkohl@gmx.de Assigned to: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords:
Cc: Trac Release: 0.8

Description

It would be really nice to have an plugin, that collects all wiki pages and put them into a single PDF-ducument. I don't have an idea, how to handle the structure of the PDF-document. I need this feature to get a mobile version of the wiki pages, so that the people at a custumer can also use the informations stored in the wiki pages.

Attachments

Change History

12/04/05 20:10:43 changed by coderanger

It might be slightly simpler to just allow for collecting the Wiki into one big HTML page, and then from this the user could make it a PDF (or print it out, make tarballs, etc)

12/05/05 11:37:05 changed by anonymous

But it would be also very nice to get a navigation inside of the PDF, which would be not so easy in one big HTML page, or?

12/15/05 13:03:27 changed by jornh

Just saw a pointer to this on the Trac mailing list:

http://lists.edgewall.com/archive/trac/2005-April/002729.html

It's about 20 lines of python that should generate the 'one big HTML page'. I have not tried it out myself though

12/15/05 17:43:51 changed by athomas

Actually that script only generates a single HTML page from a single Wiki page.

12/20/05 13:25:19 changed by jouvin@lal.in2p3.fr

In fact this feature should allow to 'export' an arbitrary set of pages, not just all the wiki pages. And it should be able to take into account pseudo hierarchy of pages (wiki page name containing /).

01/05/06 04:42:20 changed by liquidblaze at gmail dot com

  • priority changed from normal to high.

Isn't there already a formatter available for (single page) PDF export? I've seen some sites use it - couldn't that formatter just be modified to output all the pages in a file?

see wwwcherrypy.org/wiki/ for a PDF formatter

01/07/06 03:50:13 changed by athomas

Have a look at trac-ticket:1468 for more information.

01/09/06 08:35:31 changed by athomas

  • milestone deleted.

Milestone 0.9.1 deleted

04/19/06 07:51:47 changed by Trent Apted <tapted@it.usyd.edu.au>

  • release set to 0.8.

See also trac-ticket:2296 (export to LaTeX + pdflatex = much nicer PDF)

04/24/06 19:35:18 changed by pkropf

The gumstix wiki allows for the creation of PDF's by providing a list of the wiki pages and allowing the user to pick and choose which should be included. Its one possible way to provide a UI to create PDF files.

http://www.gumstix.org/tikiwiki/tiki-config_pdf.php?page=Getting+Started

I think it might provide a reasonal initial UI. Thoughts?

05/23/06 13:45:43 changed by anonymous

Couldn't the XsltMacro be used for part of this?

Export the wikipage as an XML document and then apply an XSLT (XSL-FO) to create the PDF.

06/05/06 12:08:47 changed by coderanger

  • priority changed from high to normal.
  • severity changed from blocker to normal.

Reset priority and severity

06/10/06 03:46:49 changed by JamesMills

I'm wondering wether a plugin can't be written that uses pyx.

(follow-up: ↓ 15 ) 06/24/06 06:25:01 changed by athomas

PageToPdfPlugin does the job for a single page. The real trick with exporting a set of pages will be how to select the pages, and how to combine them in a useful way.

A solution for the second problem would be to increment the header depth for all headers in all pages, add a level 1 header to each page with the page name, then concatenate them all and render, possibly adding a PageOutline.

eg.

Two pages

FooBar:

= Foo is good =

BarFoo:

= Bar is good =

becomes:

[[PageOutline]]
= FooBar =
== Foo is good ==

= BarFoo =
== Bar is good ==

(in reply to: ↑ 14 ) 06/28/06 02:42:11 changed by nepo@gmx.net

Replying to athomas:

PageToPdfPlugin does the job for a single page. The real trick with exporting a set of pages will be how to select the pages, and how to combine them in a useful way.

A first version could just export a particular wiki tree, if it has been organized using the hierachical wiki feature (like exporting all pages mywiki/wiki/subtopic1/*)

10/13/06 03:59:07 changed by jwilliams

I see this as a natural extension to TracNav - since TracNav requires you to identify a TOC page, that is the "master list" of pages that you want to be exported.

Different TOCs would give different renderings of the content.

10/13/06 04:45:58 changed by coderanger

  • status changed from new to closed.
  • resolution set to fixed.

See the CombineWikiPlugin. It does this quite nicely.


Add/Change #76 (Export of wiki-Pages to one PDF-Document)




Change Properties
Action