Changes between Version 11 and Version 12 of PageToDocIntegration
- Timestamp:
- Aug 27, 2016, 9:46:02 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PageToDocIntegration
v11 v12 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = A Trac plugin for export ofwiki pages to MS Word3 = Export Trac wiki pages to MS Word 4 4 5 5 == Description 6 6 7 The aim of the plugin is to transform a wiki page so that it can be imported using the HTML import capability of MS Word. After that, a format template can be applied, and the text might be copied into a document template. 7 This plugin allows you to export Trac wiki pages for import into MS Word. The output of this feature makes the wiki pages import-ready using the HTML import capability of MS Word. After that, a format template can be applied, and the text might be copied into a MS Word document template. 8 9 Once installed, a new entry shows up below the '''Download in other formats''' section at the end of the wiki page. Click and save to disk. Extract and open with Word. 8 10 9 11 The plugin works as follows: … … 38 40 * '''XSLTProc''' Make sure xsltproc is available. If not, install from [http://xmlsoft.org/XSLT/xsltproc2.html] (Windows: www.zlatkovic.com/pub/libxml/) 39 41 * From the linked page Click Downloads and download iconv, libxslt, libxml2, zlib 40 * Test that it has been installed correctly by running xsltproc (it should output a help page)41 * 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)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 42 44 43 45 === PageToDocIntegration Plugin … … 49 51 * Copy the .egg file into your Trac Environment plugins directory 50 52 * Save the [source:/pagetodocintegration/html_filtered.xslt XSLT stylesheet] onto your disk. 51 * Create the following section in your trac.ini(modify path):53 * Create the following section in your `trac.ini` file (modify path): 52 54 {{{#!ini 53 55 [pagetodoc] … … 55 57 }}} 56 58 * Install plugin. 57 * The same can be done by adding the following line to the `[components]` section of your trac.ini file e.g.59 * The same can be done by adding the following line to the `[components]` section of your `trac.ini` file, for example: 58 60 {{{#!ini 59 61 [components] … … 65 67 == Configuration 66 68 67 Configuration 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).69 Configuration 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. 68 70 69 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 || … … 86 88 }}} 87 89 88 == Example89 90 Once installed, a new entry shows up below the '''Download in other formats''' section at the end of the page. Click and save to disk. Extract and open with Word.91 92 90 == Recent Changes 93 91