Dear all,

I am getting an error in pyx 0.14 whenever I load the package
"lmodern". The relevant error lines seem to be

File "/usr/lib/python3/dist-packages/pyx/text.py", line 1114, in _execute
    raise TexResultError("unhandled TeX response (might be an error)")
The expression passed to TeX was:
  \ProcessPyXBox{\tiny{}\setbox0\hbox{$\vcenter{\vrule
width0pt}$}\PyXDimenVShift=\ht0\setbox0\hbox{{\gdef\PyXBoxHAlign{0.50000}\gdef\PyXFlushHAlign{0.50000}\PyXragged{}$\displaystyle{0}$}}\lower\PyXDimenVShift\box0%
  }{2}%
  \PyXInput{12}%
After parsing the return message from TeX, the following was left:
  *
  (/usr/share/texmf/tex/latex/lm/omslmsy.fd)
  (/usr/share/texmf/tex/latex/lm/omxlmex.fd)
  (cut after 5 lines; use errordetail.full for all output)
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyx/text.py", line 1022, in _cleanup
    self.do_finish()
  File "/usr/lib/python3/dist-packages/pyx/text.py", line 1225, in do_finish
    raise ValueError("end of dvifile expected but further pages follow")


Removing the line

    pyx.text.preamble("\usepackage{lmodern}")

solves the problem, but unfortunately I need this package. For the
record, there was no error at all in the former version of PyX. Do you
know what may be going on?

Thanks a lot!
Dani

------------------------------------------------------------------------------
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to