| 1 | WeBWorK |
1 | WeBWorK |
| 2 | Program Generation Language |
2 | Program Generation Language |
| 3 | Version 2.3.1 |
3 | Version 2.3.2 |
| 4 | |
4 | |
| 5 | Copyright 2000-2006, The WeBWorK Project |
5 | Copyright 2000-2007, The WeBWorK Project |
| 6 | All rights reserved. |
6 | All rights reserved. |
| 7 | |
7 | |
| 8 | Introduction |
8 | Introduction |
| 9 | |
9 | |
| 10 | The [1]WeBWorKTeam is pleased to announce the release of PG 2.3.1. |
10 | The [2]WeBWorKTeam is pleased to announce the release of PG 2.3.2. |
| 11 | This release builds on PG 2.3.0, adding several bug fixes and |
11 | This version builds on PG 2.3.1, adding several bug fixes and |
| 12 | low-impact feature enhancements. Changes include: |
12 | low-impact feature enhancements. Changes include: |
| 13 | |
13 | |
| 14 | * Allow the _check subroutine in the BOP and UOP classes to affect |
14 | * [3]MathObjects: Use Perl reals rather than [4]MathObjects reals |
| 15 | the isConstant property. |
15 | for adaptive parameters in matrices. |
| 16 | * Allow matrices to set their own templates (instead of using "c" |
16 | * [5]MathObjects: Add a new operator // to be the same as / except |
| 17 | for all columns), and handle missing open and close delimiters |
17 | its TeX form is a/b rather than \frac{a}{b}. This makes it |
| 18 | better. |
18 | possible get horizontal fractions in exponents, for example, where |
| 19 | * Fixed unit checking so that units can include spaces (like 4 ft / |
19 | vertical fractions often don't look so good. |
| 20 | min). Also fixed a problem where units were not being reported as |
20 | * [6]MathObjects: Fix a problem with the TeX representation used in |
| 21 | part of the student's entered answer. |
21 | previewing students' answers. (Specifically, a + b would be |
| 22 | * Fix problem with formula comparisons involving vector-valued |
22 | represented as a\quadb. Now it is represented as a \quad b.) |
| 23 | formulas. The coordinates for the vectors used in checking |
23 | * [7]MathObjects: Fix a problem with the custom list checker. |
| 24 | equality were plain Perl reals rather than Parser-based reals, and |
24 | * [8]MathObjects: Added a Vector2D context that has i and j defined |
| 25 | so the comparisons were being done using exact rather than fuzzy |
25 | as vectors in 2-space so that they can be used to generate vectors |
| 26 | comparisons. |
26 | in 2D. This avoids students getting the "incorrect number of |
| 27 | * Make vector ijk mode use the TeX definitions from the i, j and k |
27 | coordinates" error. |
| 28 | constants as defined in the context, if they exist, otherwise fall |
28 | * [9]MathObjects: Modified the way the Parser-based versions of the |
| 29 | back on the defaults. |
29 | traditional answer checkers get copies of their contexts. They now |
| 30 | * Fixed problem where a zero with units would me marked as "not |
30 | use a new method getCopy to obtain the copy either from the |
| 31 | looking like a number with units". |
31 | problem's context table or the default table (rather than only |
| 32 | * Fixed bad check for if the complex number is 1, which caused the |
32 | from the default). That way the instructor can use |
| 33 | reduce function to incorrectly remove the complex number when used |
33 | parserCustomization.pl to customize the contexts used by the |
| 34 | in multiplication. |
34 | answer checkers. |
| 35 | * Improve error handling in the PGasu.pl macro package. |
35 | * [10]MathObjects: Clear the error message in Context before it is |
| 36 | * Fixed a problem with function checking when vars are specified |
36 | used in an answer checker (prevents bleeding of one error into a |
| 37 | with limits and the vars are not in alphabetical order. (The |
37 | later answer). |
| 38 | Parser expects the limits and test points to have coordinates |
|
|
| 39 | specified in alphabetical order, so they need to be reordered if |
|
|
| 40 | the author has them in another order.) |
|
|
| 41 | * Use \cdot when a number is followed by a numeric fraction. (See |
|
|
| 42 | bug_small.gif [2]Bug #1114.) |
|
|
| 43 | * Fixed a problem with checking Matrices of dimension 1 ╳ n. |
|
|
| 44 | (See bug_small.gif [3]Bug #1122.) |
|
|
| 45 | * Fixed a problem where str_cmp would not accept blank answers. (See |
|
|
| 46 | bug_small.gif [4]Bug #1123.) Note that the "n questions remain |
|
|
| 47 | unanswered" message will give away how many blank entries there |
|
|
| 48 | are supposed to be, so there is not really much point in using it. |
|
|
| 49 | * Fixed a problem where email could not be sent from PG problems. |
|
|
| 50 | * Allow overridden Parser classes to generate error messages that |
|
|
| 51 | the student will see. (For formulas, error messages are trapped |
|
|
| 52 | silently by the overridden == and will not be seen. This lets |
|
|
| 53 | Parser objects force a message to be seen.) |
|
|
| 54 | * Updated NumberWithUnits to use Parser::Legacy::NumberWithUnits |
|
|
| 55 | rather than having a separate implementation here. This will |
|
|
| 56 | guarantee that it is consistent with num_cmp() and prevents |
|
|
| 57 | unneeded duplication of code. |
|
|
| 58 | * Fixed a problem where the TeX version included two copies of the |
|
|
| 59 | units (one in TeX mode and one from the string() output). |
|
|
| 60 | * Security: Tighten constraints on which macro files can be loaded |
|
|
| 61 | without restriction. Previously, any macro file whose name |
|
|
| 62 | contained the strings dangerousMacros.pl, PG.pl, or IO.pl would be |
|
|
| 63 | loaded without restriction. |
|
|
| 64 | |
38 | |
| 65 | Installation |
39 | Installation |
| 66 | |
40 | |
| 67 | Refer to [5]InstallationManualV2pt3. This document covers installation |
41 | Refer to [11]InstallationManualV2pt3. This document covers |
| 68 | and upgrading of both WeBWorK and PG. |
42 | installation and upgrading of both WeBWorK and PG. |
| 69 | |
43 | |
| 70 | Help |
44 | Help |
| 71 | |
45 | |
| 72 | If you need help installing or using PG, visit the [6]WeBWorK |
46 | If you need help installing or using PG, visit the [12]WeBWorK |
| 73 | discussion group and post your question there. The developers and many |
47 | discussion group and post your question there. The developers and many |
| 74 | experienced WeBWorK users monitor this forum. |
48 | experienced WeBWorK users monitor this forum. |
| 75 | |
49 | |
| 76 | Bug Reports & Feature Requests |
50 | Bug Reports & Feature Requests |
| 77 | |
51 | |
| 78 | Please submit bug reports and feature requests at |
52 | Please submit bug reports and feature requests at |
| 79 | [7]http://bugs.webwork.rochester.edu/. |
53 | [13]http://bugs.webwork.rochester.edu/. |
| 80 | |
54 | |
| 81 | -- [8]SamHathaway - 03 Nov 2006 |
55 | -- [14]SamHathaway - 15 Jan 2007 |
|
|
56 | -- [15]SamHathaway - 05 May 2007 (updated for release) |
| 82 | |
57 | |
| 83 | References |
58 | References |
| 84 | |
59 | |
|
|
60 | 1. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/WebRss?skin=rss&contenttype=text/xml |
| 85 | 1. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/WeBWorKTeam |
61 | 2. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/WeBWorKTeam |
| 86 | 2. http://bugs.webwork.rochester.edu/show_bug.cgi?id=1114 |
62 | 3. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
| 87 | 3. http://bugs.webwork.rochester.edu/show_bug.cgi?id=1122 |
63 | 4. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
| 88 | 4. http://bugs.webwork.rochester.edu/show_bug.cgi?id=1123 |
64 | 5. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
|
|
65 | 6. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
|
|
66 | 7. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
|
|
67 | 8. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
|
|
68 | 9. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
|
|
69 | 10. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/MathObjects |
| 89 | 5. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/InstallationManualV2pt3 |
70 | 11. http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/InstallationManualV2pt3 |
| 90 | 6. http://webhost.math.rochester.edu/webworkdocs/discuss/ |
71 | 12. http://webhost.math.rochester.edu/webworkdocs/discuss/ |
| 91 | 7. http://bugs.webwork.rochester.edu/ |
72 | 13. http://bugs.webwork.rochester.edu/ |
| 92 | 8. http://devel.webwork.rochester.edu/twiki/bin/view/Main/SamHathaway |
73 | 14. http://devel.webwork.rochester.edu/twiki/bin/view/Main/SamHathaway |
|
|
74 | 15. http://devel.webwork.rochester.edu/twiki/bin/view/Main/SamHathaway |