Changes between Initial Version and Version 1 of TracWikiToPdfPlugin/Doc0.10


Ignore:
Timestamp:
May 6, 2009, 4:22:34 PM (15 years ago)
Author:
Nickolas Grigoriadis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracWikiToPdfPlugin/Doc0.10

    v1 v1  
     1[[TOC(TracWikiToPdfPlugin,TracWikiToPdfPlugin/*)]]
     2= 0.10 Manual =
     3
     4For 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#).
     5
     6NEW: Patch #4616 supports the definition of a document on a wiki page - there is no need any more to enter a title and select all pages each time you want to create a PDF. And better even - any user can do it. The patch is for the Trac 0.10 version of the plugin: just replace the wikitopdf.py with the patched one in #4616 (mvlcek).
     7
     8WikiToPdf also adds support to some wiki formatting that didn't work with CombineWikiPlugin neither PageToPdfPlugin:
     9
     10 - Tables (`||Table||`)
     11 - Images (`[[Image(wiki:Page:image.png)]]`)  Attention - don't use this format `[[Image(image.png)]]`
     12 - Code blocks (`{{{ code }}}`)
     13
     14ATTENTION: 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!
     15
     16== Example ==
     17
     18Configurations WikiToPDF in file trac.ini, more information about HTMLDOC (http://www.htmldoc.org/htmldoc.html#CMDREF)
     19{{{
     20[components]
     21wikitopdf.* = enabled
     22
     23[wikitopdf]
     24# base_dir is the Apache DocumentRoot, It is need to get PDF files with images.
     25base_dir = /path/to/DocumentRoot
     26
     27# path to folder used to get a cover files. (key corrected from pathtocover to titlefile)
     28titlefile = /path/to/cover
     29
     30# this are parameters functionality PDF links
     31link = http://servername/trac-project
     32folder_name = trac-project
     33
     34[wikitopdf-admin]
     35# HTMLDOC options. See the link above.
     36size = A4
     37right = 1.5cm
     38left = 1.5cm
     39top = 1.5cm
     40bottom = 1.5cm
     41no-links = None
     42toctitle = Summary
     43numbered = None
     44linkstyle = plain
     45header = l
     46footer = .r1
     47logoimage = /path/to/header-logo.png
     48
     49[wikitopdf-page]
     50# HTMLDOC options. See the link above.
     51size = A4
     52right = 1.5cm
     53left = 1.5cm
     54top = 1.5cm
     55bottom = 1.5cm
     56no-links = None
     57linkstyle = plain
     58header = l
     59footer = .r1
     60logoimage = /path/to/header-logo.png
     61}}}