I'm still getting a traceback with mpl0.83 when trying to
> run tex_demo.py under Windows (both Win98 and Win2k). Has
> anyone got this going under Windows? thanks, Gary R.
> This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) entering
> extended mode ! Undefined control sequence. <*> 'C:\cygwin
> \home\gary\.matplotlib\tex.cache\30565a8911a6bb487e3745c0ea3c8...
I don't have a tex distro on win32 and have no immediate plans to
install one, so you may need to hunt this one down yourself. It looks
like there may be an errant newline after c:\cygwin, though this could
be an artifact of your post.
I suggest opening up site-packages/matplotlib/texmanager.py and adding
print statements to figure out what is going on with the various dirs,
eg, printing the value of texcache and the various files and commands
that the code tries to create and run. In particular, in make_dvi,
print out
tex, fname and command after the call to
command = self.get_tex_command(tex, fname)
print 'COMMAND', command
print 'TEX', tex
print 'FNAME', fname
paste these commands into an editor and try and call them with
stdin, stdout, stderr = os.popen3(command)
verbose.report(''.join(stdout.readlines()), 'debug-annoying')
err = ''.join(stderr.readlines())
if err: verbose.report(err, 'helpful')
just as texmanager does, and try and sort out what the cause of the
error is. Let me know if you learn anything -- good luck!
Thanks!
JDH