[ww-bugs] Bug 3603: New: beginproblem() in BEGIN_TEXT

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Mon Feb 15 19:39:19 EST 2016


http://bugs.webwork.maa.org/show_bug.cgi?id=3603

           Summary: beginproblem() in BEGIN_TEXT
           Product: Problem Libraries
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Library (OPL)
        AssignedTo: jj at asu.edu
        ReportedBy: goehle at gmail.com
        Web browser ---
           version:


Created an attachment (id=243)
 --> (http://bugs.webwork.maa.org/attachment.cgi?id=243)
List of problem pg files.  

There are a number of problems where the beginproblem() portion is in a
BEGIN_TEXT block.  E.G.

BEGIN_TEXT
\{beginproblem()\}


This leads to issues when you print hardcopies because the beginproblem command
outputs LaTeX macro definitions which are used.  The PGML macro definitions
include the bac-tick character (`) which is then processed as MathObject math
to be typeset.  That fails, and causes problems when rendering hardcopies. 

There isn't really a way to fix this because of how BEGIN_TEXT and beginproblem
work so for all of the affected problems the beginproblem call should be put in
TEXT() as usual.  

I have attached a list of the problems I could find.  Alternatively you could
use the same grep command I did. 

grep -Przl '(?s)BEGIN_TEXT.*\\\{\s*beginproblem\(\)\s*\\\}.*END_TEXT' .

-- 
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the webwork-bugs mailing list