[system] / trunk / pg / macros / contextCurrency.pl Repository:
ViewVC logotype

Log of /trunk/pg/macros/contextCurrency.pl

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 5551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 20:48:05 2007 UTC (12 years, 2 months ago) by sh002i
File length: 16299 byte(s)
Diff to previous 5515
improved formatting for docs -- these were in pod sections but were all
formatted as verbatim sections, and i moved them into normal paragraphs,
lists, etc. should make things more readable from the web.

Revision 5515 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 12:11:39 2007 UTC (12 years, 2 months ago) by dpvc
File length: 16723 byte(s)
Diff to previous 5514
One last change to make hardcopy work properly.

Revision 5514 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 12:06:09 2007 UTC (12 years, 2 months ago) by dpvc
File length: 16659 byte(s)
Diff to previous 5513
Make sure comma's are represented correctly in TeX mode.  (They need
to be enclosed in braces to get the spacing right.)

Revision 5513 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 12:01:56 2007 UTC (12 years, 2 months ago) by dpvc
File length: 16618 byte(s)
Diff to previous 5512
This was accidentally removed in the last update.  OOPS!

Revision 5512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 11:58:05 2007 UTC (12 years, 2 months ago) by dpvc
File length: 16316 byte(s)
Diff to previous 5441
Handle TeX special characters better when used as the currency
symbol.  (Quote them when displayMode is TeX.)

Revision 5441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 28 22:40:15 2007 UTC (12 years, 3 months ago) by dpvc
File length: 16530 byte(s)
Diff to previous 5385
Add context names for the context(s) created here.

Revision 5385 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 19 20:02:41 2007 UTC (12 years, 3 months ago) by dpvc
File length: 16496 byte(s)
Diff to previous 5373
Added context flags to more finely control the allowed entry format
(e.g., force the use of commas, force the use of decimal places, and
so on.)  See the documentation at the top of the file for details.

Revision 5373 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 19 02:01:57 2007 UTC (12 years, 3 months ago) by dpvc
File length: 15318 byte(s)
Diff to previous 5370
Normalized comments and headers to that they will format their POD
documentation properly.  (I know that the POD processing was supposed
to strip off the initial #, but that doesn't seem to happen, so I've
added a space throughout.)

Revision 5370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 19 00:48:19 2007 UTC (12 years, 3 months ago) by dpvc
File length: 15274 byte(s)
Diff to previous 5344
Updated calls to Parser::Context->getCopy to remove unneeded undef
argument.

Revision 5344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 17 16:11:55 2007 UTC (12 years, 3 months ago) by dpvc
File length: 15249 byte(s)
Diff to previous 5343
Incorrectly had promoteReals to 1 instead of 0 (left over from
testing).  Now added promoteReals to the context in addition to the
answer cmp method, and produce error messages when computations are
performed between currency and reals.  (The message is not as good as
it should be, but to do it right would require overriding all the
operators.  I need to work out a better way of hooking into the type
checking mechanism for the operators.)

Revision 5343 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Aug 17 02:01:07 2007 UTC (12 years, 3 months ago) by dpvc
File length: 15038 byte(s)
This file implements a context in which students can provide answers
that are monitary values.  You can control the currency symbol and the
characters used for commas and decimals (for potential localization in
the future).

See the comments in the file for more details and examples.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9