wiki:PageToPdfPlugin

Export Wiki pages as PDFs

Notice: This plugin is deprecated in favor of TracWikiToPdfPlugin.

Description

This plugin uses the new content conversion API in Trac's trunk to export Wiki pages to a PDF. The link appears in the Download in other formats list at the bottom of Wiki pages.

This plugin uses htmldoc to perform the conversion.

Note: The IContentConverter API is subject to change until 0.10 ships.

Note: The plugin requires at least Trac 0.10.

See also: CombineWikiPlugin, TracWikiToPdfPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for PageToPdfPlugin are here.

If you have any issues, create a new ticket.

defect

41 / 41

enhancement

9 / 9

task

1 / 1

Download

Download the zipped source from here.

Source

You can check out PageToPdfPlugin from here using Subversion, or browse the source with Trac.

Configuration

Initial rendering to HTML uses the default_charset entry under [trac]. This must be set correctly (the default is usually sufficient).

PageToPdfPlugin has relatively sane defaults. However, these can be overridden by the [pagetopdf] section of trac.ini. For example, if you are using a recent version of htmldoc you may need to specify the character set manually (see htmldoc supported charset).

[pagetopdf]
size = A4
charset = iso-8859-15

All options are passed directly to htmldoc, so refer to its documentation for more information.

Recent Changes

2100 by tonin on 2007-03-12 14:09:55
PageToPdfPlugin:

Replacing characters without equivalent in the desired output charset (fix #1076).

2050 by tonin on 2007-02-27 19:16:05
PageToPdfPlugin:

Fix #1076 better default_charset.

1462 by coderanger on 2006-10-31 03:25:31
PageToPdfPlugin:

Allow non-standard ports. Fixes #853.

(more)

Author/Contributors

Author: athomas
Maintainer: none
Contributors: tonin

Last modified 4 months ago Last modified on Jan 27, 2016, 7:10:42 AM