[[TOC(TracWikiToPdfPlugin,TracWikiToPdfPlugin/Doc0.10,TracWikiToPdfPlugin/Doc0.11)]] = Create PDFs from wiki pages = == Description == !WikiToPdf was developed based on the work of [wiki:coderanger] and [wiki:athomas]. !WikiToPdf combines the functionality of CombineWikiPlugin and PageToPdfPlugin on only one plugin and allows one to setup a template file used to generate the PDF file with a cover and a license page, for example. See also TracWikiPrintPlugin. At the end of each wiki page there is a link named !WikiToPdf and works like [wiki:athomas] !PageToPdfPlugin plugin but takes into account the parameters on trac.ini (see below) and passes them to htmldoc. Alternatively, it's possible to select one or more wiki pages and generate one single PDF file just like [wiki:coderanger] work with a cover and a licence from a template file. This feature also takes into account the parameters on trac.ini. For now, only those users with WIKI_ADMIN permission can combine wiki pages on one single file. It's possible to define values to title, subtitle, file version and date that are used on the PDF file (the placeholders in the HTML file must be #TITLE#, #SUBJECT#, #VERSAO# and #DATA#). !WikiToPdf also adds support to some wiki formatting that didn't work with !CombineWikiPlugin neither !PageToPdfPlugin: {{{ - Tables (||Table||) - Images ([[Image(wiki:Page:image.png)]]) Attention - don't use this format [[Image(image.png)]] - Code blocks ({{{ code }}}) }}} '''ATTENTION:''' If you want to use a cover file, take care it is encoded in Latin-1 (ISO-8859-1) - otherwise the plugin will fail to use it! == Prerequisites == To use !WikitoPdf plugin you need to install Htmldoc (http://www.htmldoc.org). == Screenshots == '''Combining wiki pages:''' http://trac-hacks.org/browser/tracwikitopdfplugin/0.11/docs/example-documentation.pdf?format=raw [[Image(wiki:TracWikiToPdfPlugin:wikitopdf-admin.png,70%)]] '''Single page:''' http://trac-hacks.org/browser/tracwikitopdfplugin/0.11/docs/example-howto.pdf?format=raw [[Image(wiki:TracWikiToPdfPlugin:wikitopdf-page.png,70%)]] == Usage == * [wiki:TracWikiToPdfPlugin/Doc0.10 0.10 Manual] * [wiki:TracWikiToPdfPlugin/Doc0.11 0.11 Manual] == Download and Source == Download the [download:tracwikitopdfplugin zipped source], check out [/svn/tracwikitopdfplugin using Subversion], or [source:tracwikitopdfplugin browse the source] with Trac. == Bugs/Feature Requests == Existing bugs and feature requests for TracWikiToPdfPlugin are [query:status!=closed&component=TracWikiToPdfPlugin&order=priority here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracWikiToPdfPlugin&owner=diorgenes new ticket]. == Recent Changes == [[ChangeLog(tracwikitopdfplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:diorgenes Diorgenes Felipe Grzesiuk] [[BR]] '''Maintainer:''' [wiki:diorgenes Diorgenes Felipe Grzesiuk] [[BR]] '''Contributors:''' * Edney Matias da Silva (edneymatias@gmail.com) * Holger Lehmann (holger.lehmann@catworkx.de) * Jcole (jcole@carinatek.com)