Changes between Version 1 and Version 2 of LatexFormulaMacro


Ignore:
Timestamp:
Jul 26, 2005, 6:11:30 PM (19 years ago)
Author:
Valient Gough
Comment:

add note about known bug

Legend:

Unmodified
Added
Removed
Modified
  • LatexFormulaMacro

    v1 v2  
    77The images are named based on a sha1 hash of the formula and parameters, so that images don't have to be regenerated every time they are viewed.
    88
     9In order to create the image from the formula text, the following is performed:
     10  1. create .tex file in temporary directory
     11  1. run latex on .tex file to produce .dvi file
     12  1. run dvips on .dvi file to produce .eps file
     13  1. run convert on .eps file to produce .jpg file
     14
     15If the image doesn't exist, I get an internal error after the first run.  But then the second time everything is good.  The only error in the logs is this:
     16
     17... malformed header from script. Bad header=This is TeX, Version 3.14159 (: /home/httpd/vhosts/default/cgi-bin/trac.cgi
     18
     19I don't know what's causing the problem.  If you hit preview after entering a formula, you'll get an internal error page.  Hit back and hit preview again and then it works.
     20
    921== Bugs/Feature Requests ==
     22
     23There is one known bug, see the description above.
    1024
    1125Existing bugs and feature requests for LatexFormulaMacro are