Changes between Version 1 and Version 2 of TracWikiToPdfPlugin/Doc0.11
- Timestamp:
- Nov 4, 2015, 10:29:22 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracWikiToPdfPlugin/Doc0.11
v1 v2 1 1 [[TOC(TracWikiToPdfPlugin,TracWikiToPdfPlugin/Doc0.10,TracWikiToPdfPlugin/Doc0.11)]] 2 = 0.11 Manual =3 2 4 For 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#). 3 = 0.11 Manual 5 4 6 WikiToPdf also adds support to some wiki formatting that didn't work with CombineWikiPlugin neither PageToPdfPlugin: 5 For now, only those users with the `WIKI_ADMIN` permission can combine wiki pages on one 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#. 6 7 WikiToPdf also adds support to some wiki formatting that didn't work with the CombineWikiPlugin nor with the PageToPdfPlugin: 7 8 8 9 - Tables (`||Table||`) … … 10 11 - Code blocks (`{{{ code }}}`) 11 12 12 ATTENTION: 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!13 '''Note''': If you want to use a cover file, ensure it is encoded in Latin-1 (ISO-8859-1), otherwise the plugin will fail to use it! 13 14 14 == CSS Support == 15 You can get Syntax highlighting when using the experimental HTMLDoc 1.9. [[BR]] 16 Just a note: htmldoc version htmldoc-1.9.x-!r1586 has broken headers/footers, version htmldoc-1.9.x-!r1563 works fine. 17 You only need the unstable 1.9 version if you want syntax highlighting and/or css support. 18 {{{ 15 == CSS Support 16 17 You can get Syntax highlighting when using the experimental HTMLDoc 1.9. 18 19 Note that htmldoc version htmldoc-1.9.x-!r1586 has broken headers/footers, however version htmldoc-1.9.x-!r1563 works fine. 20 21 You only need the unstable 1.9 version if you want syntax highlighting and/or css support: 22 {{{#!ini 19 23 [wikitopdf] 20 24 css_file = /var/lib/trac/IS/conf/htmldoc.css 21 25 }}} 22 26 23 == Support for Dynamic images == 24 If you want TracWikiToPdfPlugin to handle dynamically generated images, or any images dome by another plugin you need to configure in the trac.ini file: 25 {{{ 27 == Support for Dynamic images 28 29 If you want TracWikiToPdfPlugin to handle dynamically generated images, or any images dome by another plugin you need to configure in the `trac.ini` file: 30 {{{#!ini 26 31 [wikitopdf] 27 32 tmp_dir = /tmp/wikitopdf 28 33 trac_uri = http://trac.blah.is.co.za 29 34 }}} 35 30 36 More information is available at #3493. 31 37 32 == Example ==38 == Example 33 39 34 Configurations WikiToPDF in file trac.ini, more information about HTMLDOC (http://www.htmldoc.org/htmldoc.html#CMDREF)35 {{{ 40 Configurations WikiToPDF in the `trac.ini file`: 41 {{{#!ini 36 42 [components] 37 43 wikitopdf.* = enabled … … 49 55 50 56 [wikitopdf-admin] 51 # HTMLDOC options. See the link above.57 # HTMLDOC options. 52 58 size = A4 53 59 right = 1.5cm … … 65 71 66 72 [wikitopdf-page] 67 # HTMLDOC options. See the link above.73 # HTMLDOC options. 68 74 size = A4 69 75 right = 1.5cm