Changes between Version 28 and Version 29 of TracMathPlugin


Ignore:
Timestamp:
Sep 29, 2011 9:13:14 PM (3 years ago)
Author:
mitar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracMathPlugin

    v28 v29  
    3030}}}  
    3131 
    32 The settings default to a linux environment where `latex_cmd` is `/usr/bin/latex` and `dvipng_cmd` is `/usr/bin/dvipng`, and `cache_dir` is `/tmp/tracmath`. You can override these settings by including in your `trac.ini` file settings such as: 
     32The settings default to a linux environment where `pdflatex_cmd` is `/usr/bin/pdflatex` and `gs_cmd` is `/usr/bin/gs`, and `cache_dir` is `tmcache`, relative to project dir. You can override these settings by including in your `trac.ini` file settings such as: 
    3333 
    3434{{{ 
    3535 [tracmath] 
    36  latex_cmd = <location of your latex binary> 
    37  dvipng_cmd = <location of dvipng> 
    38  cache_dir = <cache directory> 
     36 pdflatex_cmd = <location of your pdflatex binary> 
     37 gs_cmd = <location of your gs binary> 
     38 cache_dir = <cache directory, relative to project dir or absolute> 
    3939 max_png = <max number of pngs in cache - defaults to 500> 
    40  use_dollars = enabled 
    41  compression = 6 
     40 use_dollars = True 
     41 invalid_commands = <list of invalid commands in LaTeX source> 
     42 png_resolution = <PNG resolution when rendering - defaults to 110> 
    4243}}} 
    4344 
     
    4546 
    4647{{{ 
    47  latex_cmd = ""C:/Program Files/MiKTeX 2.7/miktex/bin/latex.exe"" 
    48  dvipng_cmd = ""C:/Program Files/MiKTeX 2.7/miktex/bin/dvipng.exe"" 
     48 pdflatex_cmd = ""C:/Program Files/MiKTeX 2.7/miktex/bin/pdflatex.exe"" 
     49 gs_cmd = ""C:/Program Files/GhostScript/bin/gs.exe"" 
    4950}}}  
    5051 
    5152== Additional Requirements == 
    52 dvipng and latex 
     53pdflatex and ghostscript 
    5354 
    5455== Bugs/Feature Requests ==  
     
    7778== Release Notes == 
    7879 
     80=== Version 0.5 === 
     81 * Document template is now Trac template 
     82 * Validates input to prevent dangerous LaTeX commands 
     83 * Using pdflatex and gs to support wider number of LaTeX packages (like TikZ) 
     84 
    7985=== Version 0.4 === 
    8086 * Added `compression` option to control the png compression level. Set it to a number from 1 (lower) to 9 (higher) 
     
    96102'''Maintainer:''' [wiki:kisielk] [[BR]] 
    97103'''Author:''' [wiki:rlotun] [[BR]] 
     104'''Contributors':: [wiki:mitar] [[BR]]