I've finished installing trunk release of WeBWorK on Fedora 15. All of the demo problems I've tested work, but when I attempt to generate a hardcopy I get the following TeX error:
Failed to convert TeX to PDF with command '
cd /opt/webwork/courses/myTestCourse/html/tmp/hardcopy/work.3lz_MtIN && /usr/bin/pdflatex --shell-escape >pdflatex.stdout 2>pdflatex.stderr hardcopy
' (exit=70 signal=0 core=0).I have pdfTeX version 3.1415926-1.40.11-2.2 (TeX Live 2010) installed. The first relevant TeX error in the log is:
! Missing $ inserted. <inserted text> $ l.326 sqrt(2.1^ 2 + 7.3^2) m or 7.60 m or 759.61 cm or ... I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed.
Also, pdflatex.stderr contains nothing. I've seen similar errors to this one on a few older threads. The subroutine in the PGbasicmacros.pl file is defined as:
sub CARET { MODES( TeX => '\\verb+^+', Latex2HTML => '\\verb+^+', HTML => '^' ); };
I've made no changes to PGbasicmacros.pl. Any ideas?
-Kurt