= Trac WikiToPDF = == 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 licence page, for example. At the end of each wiki page there is a link named !WikiToPdf and works like Athomas !PageToPdfPlugin plugin but takes into account the parameters on trac.ini (see bellow) and passes them to htmldoc. Alternatively, it's possible to select one or more wiki pages and generate one single PDF file just like Coderangers 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. !WikiToPdf also adds support to some wiki formatting that didn't work with !CombineWikiPlugin neither !PageToPdfPlugin: {{{ - Tables (||Table||) - Images ([[Image(wiki:Page:image.png, 100%)]]) - Code blocks ({{{ code }}}) }}} Documentation page: [[Image(wiki:TracWikiToPdfPlugin:wikitopdf-admin.png, 100%)]] Howto page: [[Image(wiki:TracWikiToPdfPlugin:wikitopdf-admin.png, 100%)]] == Bugs/Feature Requests == Existing bugs and feature requests for TracWikiToPdfPlugin are [report:9?COMPONENT=TracWikiToPdfPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracWikiToPdfPlugin&owner=diorgenes new ticket]. == Download == Download the zipped source from [download:tracwikitopdfplugin here]. == Source == You can check out TracWikiToPdfPlugin from [http://trac-hacks.org/svn/tracwikitopdfplugin here] using Subversion, or [source:tracwikitopdfplugin browse the source] with Trac. == Example == Configurations WikiToPDF in file ''trac.ini'', more information about HTMLDOC (http://www.htmldoc.org/htmldoc.html#CMDREF) {{{ [wikitopdf] base_dir = /path/to/DocumentRoot titlefile = /path/to/capa_file.html [wikitopdf-admin] size = A4 right = 1.5cm left = 1.5cm top = 1.5cm bottom = 1.5cm no-links = None toctitle = Sumary numbered = None linkstyle = plain header = l footer = .r1 logoimage = /path/to/logo_file.png [wikitopdf-page] size = A4 right = 1.5cm left = 1.5cm top = 1.5cm bottom = 1.5cm no-links = None linkstyle = plain header = l footer = .r1 logoimage = /path/to/logo_file.png }}} == Recent Changes == [[ChangeLog(tracwikitopdfplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:diorgenes] [[BR]] '''Contributors:'''