Users have to care only, if they need hand-made presentation markup. Then use the HTML comments understood by the HTMLDOC tool -- see section 4 'tbd' of the manual.
You have a simple page without <h1> headline: the plugin creates a simple PDF. Then:
You have a large document -- typically with a lot of includes -- and supplied a =<h1> headline. Then:
pdftitle.tmpl
.
Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%
, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
data/debug.txt
)
Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.
PdfPlugin.zip
in your twiki installation directory. Content:
File: | Description: |
---|---|
data/TWiki/PdfPlugin.txt | Plugin topic |
lib/TWiki/Plugins/PdfPlugin.pm | Plugin Perl module |
templates/view.pdf.tmpl | skin=pdf to render page body as pdf |
templates/pdfcall.tmpl | commandline for external call to HTMLDOC |
templates/pdftitle.tmpl | separate titlepage template for any skin, if in book mode |
bin/view
to use this plugin
Plugin Author: | PeterKlausner? |
Plugin Version: | 24 Sep 2002 (V1.000) |
Change History: | |
24 Oct 2002: | Initial version submitted |
CPAN Dependencies: | none |
Other Dependencies: | HTMLDOC from http://www.easysw.com/htmldoc/ |
Perl Version: | 5.005 |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/PdfPlugin |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/PdfPluginDev |
Related Topics:
-- PeterKlausner? - 24 Oct 2002