Changes between Version 12 and Version 13 of PageToDocIntegration


Ignore:
Timestamp:
Dec 18, 2016, 8:14:12 PM (7 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • PageToDocIntegration

    v12 v13  
    3939 * '''HTML Tidy''' Install [http://tidy.sourceforge.net/ HTML Tidy] (Windows: www.paehl.com/open_source/?download=tidy.zip).
    4040 * '''XSLTProc''' Make sure xsltproc is available. If not, install from [http://xmlsoft.org/XSLT/xsltproc2.html] (Windows: www.zlatkovic.com/pub/libxml/)
    41   * From the linked page Click Downloads and download iconv, libxslt, libxml2, zlib
    42   * Test that it has been installed correctly by running xsltproc: it should output a help page
    43   * On windows - the binaries for all the XSLTProc tools either need to be in one directory; if this directory is not on the search path then please specify the `xsltprocpath` configuration setting
     41  * From the linked page Click Downloads and download iconv, libxslt, libxml2, zlib.
     42  * Test that it has been installed correctly by running xsltproc: it should output a help page.
     43  * On windows - the binaries for all the XSLTProc tools either need to be in one directory; if this directory is not on the search path then please specify the `xsltprocpath` configuration setting.
    4444
    45 === PageToDocIntegration Plugin
     45=== Installation steps
    4646
    4747 * Use easy_install.py !PageToDocIntegration
     
    5757}}}
    5858 * Install plugin.
    59   * The same can be done by adding the following line to the `[components]` section of your `trac.ini` file, for example:
     59  * To enable this plugin, add the following to your `trac.ini` file:
    6060{{{#!ini
    6161[components]
     
    6969Configuration options are applied in `trac\environment\path\conf\trac.ini` and the parameters are in the `[pagetodoc]` section, which you will need to add as documented in the installation instructions.
    7070
    71 || `xsltfile` || '''(Required)''' The path to the XSLT file to use for transforming the wiki HTML output. Specify the filepath of `html_filtered.xslt` shipped with !PageToDocIntegration ||
    72 || `tidypath` || ''(Optional)'' Path to tidy executable. If left empty then the executable search path is used. [[BR]]Added in [5406] hoping it helps to resolve issues like #4396 ||
    73 || `xsltprocpath` || ''(Optional)'' Path to xlstproc executable. If left empty then the executable search path is used. [[BR]]Added in [5406] hoping it helps to resolve issues like #4396 ||
    74 || `replace_host` || ''(Optional)'' Two strings separated by a comma. A replace operation is performed on the image URL finding the first part and replacing with the 2nd part.[[BR]]Added in [5401] hoping it fixes #3507||
    75 || `img_max_x` || ''(Optional)'' max image width? Used to calculate if image needs to be resized. Default is 0 ||
    76 || `img_max_y` || ''(Optional)'' max image height? Used to calculate if image needs to be resized. Default is 0 ||
    77 || `dpi` || ''(Optional)'' dots per inch? Used to calculate if image needs to be resized. Default is 96||
     71|| `xsltfile` || '''(Required)''' The path to the XSLT file to use for transforming the wiki HTML output. Specify the filepath of `html_filtered.xslt` shipped with !PageToDocIntegration. ||
     72|| `tidypath` || ''(Optional)'' Path to tidy executable. If left empty then the executable search path is used. [[BR]]Added in [5406] hoping it helps to resolve issues like #4396. ||
     73|| `xsltprocpath` || ''(Optional)'' Path to xlstproc executable. If left empty then the executable search path is used. [[BR]]Added in [5406] hoping it helps to resolve issues like #4396. ||
     74|| `replace_host` || ''(Optional)'' Two strings separated by a comma. A replace operation is performed on the image URL finding the first part and replacing with the 2nd part.[[BR]]Added in [5401] hoping it fixes #3507. ||
     75|| `img_max_x` || ''(Optional)'' Maximum image width. Used to calculate if image needs to be resized. Default is 0. ||
     76|| `img_max_y` || ''(Optional)'' Maximum image height. Used to calculate if image needs to be resized. Default is 0. ||
     77|| `dpi` || ''(Optional)'' Dots per inch. Used to calculate if image needs to be resized. Default is 96. ||
     78
     79An example `[pagetodoc]` section would look as follows:
    7880
    7981{{{#!ini