Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

PmWiki2PDF-v2

Summary: Generate a PDF
Version: 2011-02-15
Prerequisites: Requires at least PmWiki version: 2.2.x; last tested on PmWiki version: 2.2.35
Status: Stable
Maintainer: the_CName,
Discussion: PmWiki2PDF-v2-Talk

Questions answered by this recipe

All sections are optional, you can remove those that do not apply to your recipe, and add new ones.

Description

PmWiki2PDF v2 : Generate a PDF by PmWiki Pages.

Installation

Once the archive is downloaded, you must decompress and then upload it to your webspace hosting your pmwiki in the directory /cookbook/.

Configuration

Templates

=> Modify [your template].tmpl to include this code:

<a href="$PageUrl?action=pdf" title="Read this web page on format .pdf" >
<acronym title="Portable Document Format" lang="en">PDF</acronym>
</a>

or

=> Modify your GroupHeader, or GroupFooter, or your page by editing, and add this code:

%right% '-[[{$FullName}?action=pdf | PDF]]-'

==> or upload an icone pdf (please, view in package): %right% '-[[{$FullName}?action=pdf | Attach:acrobat.png]]-'

Config file pmwiki

You need to add in the file config pmwiki, the following `PHP code:

include_once('cookbook/pmwiki2pdf-v2/pmwiki2pdf.php');

and this - since the element 'dl' is not supported:

DisableMarkup('dl');

This is being done, save your config file and upload it again on the web space on your PmWiki.

Config file cookbook PmWiki2PDF

The file config.php is really intended to set certain options.

Options to:

  • Management pdf file - used to generate it, obtaining the necessary information.
  • display the copyright included in the pdf
  • other possible actions.

Other Files

It is also possible to modify the following files:

Usage

Notes

Change log / Release notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

the_CName

Comments

See discussion at PmWiki2PDF-v2-Talk

User notes +1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on November 18, 2011, at 03:04 AM