Changes between Version 31 and Version 32 of TracWikiToPdfPlugin


Ignore:
Timestamp:
May 7, 2009, 1:49:39 PM (6 years ago)
Author:
grigi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracWikiToPdfPlugin

    v31 v32  
     1[[TOC(TracWikiToPdfPlugin,TracWikiToPdfPlugin/Doc0.10,TracWikiToPdfPlugin/Doc0.11)]]
    12= Trac WikiToPDF =
    23
     
    1011
    1112For 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#).
    12 
    13 '''NEW''': 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).
    1413
    1514!WikiToPdf also adds support to some wiki formatting that didn't work with !CombineWikiPlugin neither !PageToPdfPlugin:
     
    4140[[Image(wiki:TracWikiToPdfPlugin:wikitopdf-page.png)]]
    4241
    43 == Example ==
     42== Usage ==
    4443
    45 Configurations WikiToPDF in file ''trac.ini'', more information about HTMLDOC (http://www.htmldoc.org/htmldoc.html#CMDREF)
    46 
    47 {{{
    48 [components]
    49 wikitopdf.* = enabled
    50 
    51 [wikitopdf]
    52 # base_dir is the Apache DocumentRoot, It is need to get PDF files with images.
    53 base_dir = /path/to/DocumentRoot
    54 
    55 # path to folder used to get a cover files. (key corrected from pathtocover to titlefile)
    56 titlefile = /path/to/cover
    57 
    58 # this are parameters functionality PDF links
    59 link = http://servername/trac-project
    60 folder_name = trac-project
    61 
    62 [wikitopdf-admin]
    63 # HTMLDOC options. See the link above.
    64 size = A4
    65 right = 1.5cm
    66 left = 1.5cm
    67 top = 1.5cm
    68 bottom = 1.5cm
    69 no-links = None
    70 toctitle = Summary
    71 numbered = None
    72 linkstyle = plain
    73 header = l
    74 footer = .r1
    75 logoimage = /path/to/header-logo.png
    76 
    77 [wikitopdf-page]
    78 # HTMLDOC options. See the link above.
    79 size = A4
    80 right = 1.5cm
    81 left = 1.5cm
    82 top = 1.5cm
    83 bottom = 1.5cm
    84 no-links = None
    85 linkstyle = plain
    86 header = l
    87 footer = .r1
    88 logoimage = /path/to/header-logo.png
    89 }}}
     44 * [wiki:TracWikiToPdfPlugin/Doc0.10 0.10 Manual]
     45 * [wiki:TracWikiToPdfPlugin/Doc0.11 0.11 Manual]
    9046
    9147== Download and Source ==