[system] / trunk / webwork2 / lib / WeBWorK / ContentGenerator / Hardcopy.pm Repository:
ViewVC logotype

Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm

Parent Directory Parent Directory


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

Revision 1157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 14:26:10 2003 UTC (9 years, 11 months ago) by gage
File length: 21436 byte(s)
Diff to previous 1156 , to selected 669
Hardcopy now appends a copy of the tex output to error message.
Clean up of temp files is pretty good.
The output needs some cosmetic work.
It still seems a little slow to me.
This answers the bulk of bug #82.  Resubmit cosmetic details,
feature requests, etc. as new bug.
--Mike

Revision 1156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 13:53:19 2003 UTC (9 years, 11 months ago) by gage
File length: 20898 byte(s)
Diff to previous 1153 , to selected 669
This is a fairly stable version of Hardcopy.  It reports
part of the TeX log errors along with whater pdf was
produced.  This partially satisfies the requests in
bug #82
--Mike

Revision 1153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 02:20:06 2003 UTC (9 years, 11 months ago) by gage
File length: 20435 byte(s)
Diff to previous 1146 , to selected 669
Hardcopy now does a reasonable job of reading the TeX log file, cutting
off the initial errors.

If there are tex errors then these are reported and one can optionally
download a pdf file if this was created.

Have not yet added the TeX file output -- Need to see how this is
handled in 1.8 first.

Good stopping point.  Good night.

--Mike

Revision 1146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:33:28 2003 UTC (9 years, 11 months ago) by sh002i
File length: 17720 byte(s)
Diff to previous 1113 , to selected 669
made some small improvements in error handling. changed calls to tempdir
to calls to makeTempDirectory
-sam

Revision 1113 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 02:04:13 2003 UTC (9 years, 11 months ago) by gage
File length: 16681 byte(s)
Diff to previous 973 , to selected 669
(1) Moved order in which snippets are assembled.  Only one preamble and one postamble are used
for a single download (also a single run of TeX). The postamble ends the document and nothing
else in the file will be read by TeX.
(2) Modified the getSetTeX and getProblemTeX subroutines to include a username (for sets)
and a user object (for problems) so that problems and sets can be made for different students.
The new identifier is the first arguement.
$self->getSetTeX($effectiveUserName, $setName);

and

$self->getProblemTeX($effectiveUser,$setName, 0, $setHeader);

It seems to work pretty well, but perhaps a bit slow still.

--Mike

Revision 973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 2 20:17:19 2003 UTC (9 years, 11 months ago) by sh002i
File length: 15835 byte(s)
Diff to previous 924 , to selected 669
removed annoying debug output.
-sam

Revision 924 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 01:38:55 2003 UTC (9 years, 11 months ago) by malsyned
File length: 15883 byte(s)
Diff to previous 919 , to selected 669
Added a helpful comment to Authz
Fixed bug #15 in hardcopy
Gave ProblemSetList the proper db calls, now that SQL databases are
working.
-Dennis

Revision 919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 00:24:27 2003 UTC (9 years, 11 months ago) by sh002i
File length: 15887 byte(s)
Diff to previous 818 , to selected 669
changed ->id to ->whatever_id
-sam

Revision 818 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 25 04:51:37 2003 UTC (10 years ago) by sh002i
File length: 15837 byte(s)
Diff to previous 809 , to selected 669
modev more content generators over to the new WWDBv2 API. fixed some
bugs.
-sam

Revision 809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 17 21:30:57 2003 UTC (10 years, 1 month ago) by sh002i
File length: 16008 byte(s)
Diff to previous 739 , to selected 669
changed the name of the "courseEnvironment" field in the
ContentGenerator object to "ce", to match the style and conciesness of
the existing "r" and new "db" fields.
-sam

Revision 739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 20:49:49 2003 UTC (10 years, 3 months ago) by sh002i
File length: 16128 byte(s)
Diff to previous 738 , to selected 669
1. fixed some formatting in Problem
2. hardcopy allows correct answers, hints, solutions to be shown
3. privileged users are allowed to view/download "not yet open" sets
-sam

Revision 738 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 19:09:28 2003 UTC (10 years, 3 months ago) by sh002i
File length: 18070 byte(s)
Diff to previous 737 , to selected 669
ProblemSet and Problem no longer allow problem sets that are "not yet
open" to be viewed. oopsies.
-sam

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 18 07:04:13 2003 UTC (10 years, 3 months ago) by sh002i
File length: 17080 byte(s)
Diff to previous 722 , to selected 669
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 22:29:19 2003 UTC (10 years, 3 months ago) by malsyned
File length: 9916 byte(s)
Diff to previous 716 , to selected 669
effectiveUser audit complete on Hardcopy.pm.  That means all the
ContentGenerators are all checked and clear.
-Dennis

Revision 716 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 24 22:38:52 2003 UTC (10 years, 3 months ago) by sh002i
File length: 9765 byte(s)
Diff to previous 669
hardcopy new respects effectiveUser
-sam

Revision 669 - (view) (download) (as text) (annotate) - [selected]
Modified Fri Dec 6 17:42:02 2002 UTC (10 years, 5 months ago) by sh002i
File length: 9747 byte(s)
Diff to previous 641
added feedback links to a bunch of modules.
-sam

Revision 641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 21:47:25 2002 UTC (10 years, 6 months ago) by sh002i
File length: 9007 byte(s)
Diff to previous 616 , to selected 669
fixed hardcopy generation for sets named "0" (a false, but defined value)
added error and warning reporting.
-sam

Revision 616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 30 20:16:56 2002 UTC (10 years, 6 months ago) by sh002i
File length: 7190 byte(s)
Diff to previous 614 , to selected 669
finished some stuff up. hardcopy deletes its temp files.
-sam

Revision 614 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 28 21:26:35 2002 UTC (10 years, 6 months ago) by sh002i
File length: 7191 byte(s)
Diff to previous 607 , to selected 669
small changes to support hardcopy work.
-sam

Revision 607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 25 20:56:49 2002 UTC (10 years, 6 months ago) by sh002i
File length: 7215 byte(s)
Diff to previous 562 , to selected 669
re-formatted &alias (in dangerousMacros) so that it's more readable.
mostly just made sure indentations where correct and tabs and spaces
were used where apprropriate.
-sam

Revision 562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by sh002i
File length: 7054 byte(s)
Diff to previous 547 , to selected 669
- created macros/IO.pl, which is loaded with no opmask by PG.pm. It is a copy
  of WeBWorK::PG::IO.pm, with some changes to make it work as a macro package.
  The translator no longer shares IO.pm's functions with the safe compartment.
  This is a BAD THING, and should be reconsidered when the Translator is
  revised.
- Changed many (but not all) checks for HTML or HTML_tth modes to match /^HTML/
  in the macros.
- changed &header to &head in Problem.pm
- Added problem environment variables for gif2eps and png2eps and modified
  &dangerousMacros::alias to use them
- fixed MOST of the harmless warnings in the system. there's still the "Use
  of uninitialized value in null operation" warning in template(), tho.

Still to come:

- make images in PDFs work
- fix TTH mode character encodings on mac (maybe)
- have logout button invalidate key
- Pretty die messages (from outside of the translator)
- Feedback - need nice modular way of sending email
- Options - email address and password

Revision 547 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 13 20:54:59 2002 UTC (10 years, 8 months ago) by sh002i
File length: 6956 byte(s)
Diff to previous 502 , to selected 669
fixed hardcopy generation (errors in EV3_math_general and the
hardcopySetHeader.
-sam

Revision 502 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 22 21:11:53 2002 UTC (10 years, 9 months ago) by sh002i
File length: 6973 byte(s)
Diff to previous 494 , to selected 669
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam

Revision 494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 9 months ago) by sh002i
File length: 3960 byte(s)
Diff to previous 492 , to selected 669
updated copyright header.
-sam

Revision 492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 15:34:35 2002 UTC (10 years, 9 months ago) by sh002i
File length: 3982 byte(s)
Diff to previous 478 , to selected 669
made progress towards working hardcopy generation. next, i have to fix
the call to pdflatex. screw pip. it's not working right, and it doesn't
give me any speed gain, since latex has to goofily write the WHOLE DAMN
FILE in whatever order it pleases before letting me have it.
-sam

Revision 478 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Aug 20 01:10:31 2002 UTC (10 years, 9 months ago) by sh002i
File length: 2447 byte(s)
Diff to selected 669
added Hardcopy.
TODO:
	&getMultiSetTeX
	figure out what to do about making several sets into 1 TeX \doc
	make PDF generation code (minimize temp file use!)
		(to this end, module-ize pip? haha.)
-sam

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