From: Mike G. v. a. <we...@ma...> - 2008-07-25 17:41:28
|
Log Message: ----------- PGbasicmacros: I've used "\lq\lq{}" instead of "``" in $LQ to prevent conflict with the ``....`` construct. I also changed $RQ to "\rq\rq{}" for consistency. In unionMacros.pl I removed the redefinition of $LQ and $RQ in parserOrientation.pl I changed the definition of ^ to use \char94 instead of \char`\^ In prob6.pg I changed \char`\{ to \char123 and also \char`\} to \char125 In prob10.pg I changed \char`\< to \char60 (and > to \char62) The pdf file works now for setOrientation. Tags: ---- rel-2-4-patches Modified Files: -------------- webwork2/courses.dist/modelCourse/templates/setOrientation: parserOrientation.pl prob06.pg prob10.pg Revision Data ------------- Index: prob06.pg =================================================================== RCS file: /webwork/cvs/system/webwork2/courses.dist/modelCourse/templates/setOrientation/prob06.pg,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -Lcourses.dist/modelCourse/templates/setOrientation/prob06.pg -Lcourses.dist/modelCourse/templates/setOrientation/prob06.pg -u -r1.1.2.1 -r1.1.2.2 --- courses.dist/modelCourse/templates/setOrientation/prob06.pg +++ courses.dist/modelCourse/templates/setOrientation/prob06.pg @@ -30,7 +30,7 @@ $PAR END_TEXT -$BRACES = HTML('{}','\char`\{\char`\}'); +$BRACES = HTML('{}','\char123\char125'); BEGIN_TEXT Index: prob10.pg =================================================================== RCS file: /webwork/cvs/system/webwork2/courses.dist/modelCourse/templates/setOrientation/prob10.pg,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -Lcourses.dist/modelCourse/templates/setOrientation/prob10.pg -Lcourses.dist/modelCourse/templates/setOrientation/prob10.pg -u -r1.1.2.1 -r1.1.2.2 --- courses.dist/modelCourse/templates/setOrientation/prob10.pg +++ courses.dist/modelCourse/templates/setOrientation/prob10.pg @@ -46,8 +46,8 @@ $P = non_zero_point3D(); -$LANGLE = HTML('<',"\char`\<"); -$RANGLE = HTML('>',"\char`\>"); +$LANGLE = HTML('<',"\char60 "); +$RANGLE = HTML('>',"\char62 "); Context()->flags->set(ijk=>1); Context()->texStrings; Index: parserOrientation.pl =================================================================== RCS file: /webwork/cvs/system/webwork2/courses.dist/modelCourse/templates/setOrientation/parserOrientation.pl,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -Lcourses.dist/modelCourse/templates/setOrientation/parserOrientation.pl -Lcourses.dist/modelCourse/templates/setOrientation/parserOrientation.pl -u -r1.1.2.1 -r1.1.2.2 --- courses.dist/modelCourse/templates/setOrientation/parserOrientation.pl +++ courses.dist/modelCourse/templates/setOrientation/parserOrientation.pl @@ -13,7 +13,7 @@ # Special use of CARET to have it work in non-math mode # $CARET = MODES( - TeX => '\hbox{\texttt{\char`\^}}', + TeX => '\hbox{\texttt{\char94}}', Latex2HTML => '^', HTML => '^' ); |