LaTex filter setup - Windows 2003 - Apache - problem

LaTex filter setup - Windows 2003 - Apache - problem

by Gregor Lenart -
Number of replies: 0

Hi,

I have a problem of setting up Latex filter into our Moodle 1.9.5 server. I have following configuration:

- Windows 2003
- Apache
- LiveTex (latext.exe, dvips.exe)
- ImageMagick

I have followed LaTex setup guides for Windows, but now I am stuck with folling error from the tex debugger page:

---------------------------
If the following image displays correctly, set your Administration->Server->HTTP setting for slasharguments to file.php/1/pic.jpg:

Otherwise set it to file.php?file=/1/pic.jpg It should display correctly as

If neither equation image displays correctly, please seek further help at moodle.org at the Mathematics Tools Forum
No text output available

---------- 

Upon making test with other debug steps (/filter/tex/texdebug.php) I got following ouputs:

---------- 
<br />

<b>Deprecated</b>:  Function eregi() is deprecated in <b>C:\wamp\www\lib\filelib.php</b> on line <b>499</b><br />
<br />
<b>Warning</b>:  filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\moodledata/temp/latex/ab0f120050794397df18d69127ee6597.gif in <b>C:\wamp\www\lib\filelib.php</b> on line <b>672</b><br />
<br />
<b>Warning</b>:  filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for C:\wamp\moodledata/temp/latex/ab0f120050794397df18d69127ee6597.gif in <b>C:\wamp\www\lib\filelib.php</b> on line <b>673</b><br />
<br />
<b>Warning</b>:  fopen(C:\wamp\moodledata/temp/latex/ab0f120050794397df18d69127ee6597.gif) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in <b>C:\wamp\www\lib\filelib.php</b> on line <b>987</b><br />
-------------------------

Checking executables

latex executable (c:\tex\bin\win32\latex.exe) is readable
dvips executable (c:\tex\bin\win32\dvips.exe) is readable
convert executable (c:\ImageMagick-6.7.2-Q16\convert.exe) is readable

base filename for expression is 'f547fb41ef106f2895b97444f335b00f'

Processing TeX expression:

\sqrt{x+y}
$ c:\tex\bin\win32\latex.exe --interaction=nonstopmode C:\wamp\moodledata/temp/latex/md5.tex
OUTPUT: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011)
 restricted \write18 enabled.
entering extended mode
(c:/wamp/moodledata/temp/latex/md5.tex
LaTeX2e <2011/06/27>
Babel  and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
 icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
 lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(c:/tex/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(c:/tex/texmf-dist/tex/latex/base/size12.clo))
(c:/tex/texmf-dist/tex/latex/base/inputenc.sty
(c:/tex/texmf-dist/tex/latex/base/latin1.def))
(c:/tex/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/tex/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/tex/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/tex/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/tex/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/tex/texmf-dist/tex/latex/amsfonts/amsfonts.sty)
(c:/tex/texmf-dist/tex/latex/amsfonts/amssymb.sty)
(c:/tex/texmf-dist/tex/latex/base/latexsym.sty) (./md5.aux)
(c:/tex/texmf-dist/tex/latex/amsfonts/umsa.fd)
(c:/tex/texmf-dist/tex/latex/amsfonts/umsb.fd)
(c:/tex/texmf-dist/tex/latex/base/ulasy.fd) [1] (./md5.aux) )
Output written on md5.dvi (1 page, 336 bytes).
Transcript written on md5.log.
RETURN CODE: 0
$ c:\tex\bin\win32\dvips.exe -q -E C:\wamp\moodledata/temp/latex/f547fb41ef106f2895b97444f335b00f.dvi
OUTPUT: 
RETURN CODE: 1
$ c:\ImageMagick-6.7.2-Q16\convert.exe -density 240 -trim C:\wamp\moodledata/temp/latex/f547fb41ef106f2895b97444f335b00f.ps C:\wamp\moodledata/temp/latex/f547fb41ef106f2895b97444f335b00f.gif 
OUTPUT: 
RETURN CODE: 1

-------------

Any help or pointing to direction to solve this issue would apreciated.

Gregor

Average of ratings: -