Changes between Version 10 and Version 11 of PageToDocIntegration
- Timestamp:
- Nov 8, 2015, 4:01:21 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PageToDocIntegration
v10 v11 1 = A Trac plugin for export of wiki pages to MS Word = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 >Hi[[BR]] 4 >Mark here.[[BR]] 5 >As Lucas is moving on - I would like to thank him for this plugin. I have some ideas for change - but for now will restrict myself to trying to fix the issues already logged.[[BR]] 6 >Mark 3 = A Trac plugin for export of wiki pages to MS Word 7 4 8 == Description ==5 == Description 9 6 10 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. 11 8 12 9 The plugin works as follows: 13 * Ask 's Trac to generate the HTML10 * Asks Trac to generate the HTML. 14 11 * Cleanup and validation using HTML Tidy. 15 * Transformation using a XSLT stylesheet 12 * Transformation using a XSLT stylesheet. 16 13 * Offering a zip file with wiki page and images for downloading. 17 14 18 == Installation: == 19 === Dependencies === 15 == Bugs/Feature Requests 16 17 Existing bugs and feature requests for !PageToDocIntegration are 18 [report:9?COMPONENT=PageToDocIntegration here]. 19 20 If you have any issues, create a 21 [/newticket?component=PageToDocIntegration new ticket]. 22 23 [[TicketQuery(component=PageToDocIntegration&group=type,format=progress)]] 24 25 == Download 26 27 Download the zipped source from [export:pagetodocintegration here]. 28 29 == Source 30 31 You can check out PageToDocIntegration from [/svn/pagetodocintegration here] using Subversion, or [source:pagetodocintegration browse the source] with Trac. 32 33 == Installation 34 35 === Dependencies 36 20 37 * '''HTML Tidy''' Install [http://tidy.sourceforge.net/ HTML Tidy] (Windows: www.paehl.com/open_source/?download=tidy.zip). 21 38 * '''XSLTProc''' Make sure xsltproc is available. If not, install from [http://xmlsoft.org/XSLT/xsltproc2.html] (Windows: www.zlatkovic.com/pub/libxml/) … … 24 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) 25 42 26 === PageToDocIntegration Plugin === 43 === PageToDocIntegration Plugin 44 27 45 * Use easy_install.py !PageToDocIntegration 28 46 * or … … 32 50 * Save the [source:/pagetodocintegration/html_filtered.xslt XSLT stylesheet] onto your disk. 33 51 * Create the following section in your trac.ini (modify path): 34 {{{ 52 {{{#!ini 35 53 [pagetodoc] 36 54 xsltfile = /path/to/your/xsltfile.xslt … … 38 56 * Install plugin. 39 57 * The same can be done by adding the following line to the `[components]` section of your trac.ini file e.g. 40 {{{ 58 {{{#!ini 41 59 [components] 42 60 PageToDoc.* = enabled 43 61 }}} 44 62 45 The plugin is in a alpha state. There are a couple of things to be enhanced.Please enter feedback and bugs (good idea to email me also - see my email address at the bottom of this page).63 Please enter feedback and bugs (good idea to email me also - see my email address at the bottom of this page). 46 64 47 === Configuration === 48 Configuration options are made 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). 65 == Configuration 66 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). 49 68 50 69 || `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 || … … 56 75 || `dpi` || ''(Optional)'' dots per inch? Used to calculate if image needs to be resized. Default is 96|| 57 76 58 {{{ 77 {{{#!ini 59 78 [pagetodoc] 60 79 xsltfile = /path/to/your/xsltfile.xslt … … 67 86 }}} 68 87 69 == Bugs/Feature Requests == 70 71 Existing bugs and feature requests for !PageToDocIntegration are 72 [report:9?COMPONENT=PageToDocIntegration here]. 73 74 If you have any issues, create a 75 [http://trac-hacks.org/newticket?component=PageToDocIntegration&owner=markm new ticket]. 76 77 == Download == 78 79 Download the zipped source from [download:pagetodocintegration here]. 80 81 == Source == 82 83 You can check out !PageToDocIntegration from [http://trac-hacks.org/svn/pagetodocintegration here] using Subversion, or [source:pagetodocintegration browse the source] with Trac. 84 85 == Example == 88 == Example 86 89 87 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. 88 91 89 == Recent Changes ==92 == Recent Changes 90 93 91 94 [[ChangeLog(pagetodocintegration, 3)]] 92 95 93 == Author/Contributors ==96 == Author/Contributors 94 97 95 98 '''Author:''' [wiki:lei] [[BR]] 96 ''' Current Maintainer:''' markm (mark dot m dot mcmahon at gmail dot com) (please email me if you encounter a bug as I do not check here very frequently) [[BR]]99 '''Maintainer:''' markm (mark dot m dot mcmahon at gmail dot com) (please email me if you encounter a bug) [[BR]] 97 100 '''Contributors:''' [[BR]]