Parent Directory
|
Revision Log
fixed hardcopy generation (errors in EV3_math_general and the hardcopySetHeader. -sam
1 ################################################################################ 2 # WeBWorK mod_perl (c) 2000-2002 WeBWorK Project 3 # $Id: TODO,v 1.10 2002-09-13 20:54:59 sh002i Exp $ 4 ################################################################################ 5 6 Son of WeBWorK - TODO list 7 8 OK write template file from what we drew on the board 9 OK normalize files: 10 - (c) header on all files 11 - standard order of preamble lines: 12 1. (c) header 13 14 2. package PACKAGENAME; 15 16 3. short summary of the package (pod's NAME section) 17 18 4. use - pragmatic modules 19 5. use - standard perl modules 20 6. use - CPAN modules 21 7. use - webwork modules 22 - ALWAYS use strict and use warnings 23 - use "use base" rather than "our @ISA" 24 - no warnings or errors! 25 - (later on) POD documentation for all files 26 OK fix templating code in ContentGenerator, add new escape functions 27 OK implement the new template 28 OK finish ProblemSets and ProblemSet 29 30 -------------------------------------------------------------------------------- 31 32 DONE New interface to PG.pm 33 DONE - instead of it accessing the database directly, accept $user, 34 $set, and $problem as arguments (instead of $setName, etc.) 35 DONE - UPDATE PG.pm'S DOCS!!!!!!!!!!!!! 36 DONE - Fix Problem.pm and Hardcopy.pm to work with the new interface 37 38 Hardcopy generation 39 DONE - ad-hoc version of &latex2png in Hardcopy.pm (move later) 40 DONE - fix code (heh heh) 41 - fix hardcopySetHeader 42 43 Integration of dvipng method of image generation 44 N/A - choice between writing to a temporary TeX file from within 45 dangerousMacros, or queueing the equations up in RAM and 46 passing them out to the caller (via PG_flags?) who will then 47 call &latex2png 48 DONE - write tempfile from dangerousMacros 49 - PRO: gets it out of RAM 50 - PRO: no dependancies between equations 51 - CON: have to coordinate between latex2png and 52 dangerous macros for tempfile locations 53 FORGET - queue equations in RAM 54 - PRO: all file access and external calls happen 55 outside of the safe compartment. 56 - PRO: latex2png gets to decide where to put files 57 - CON: stuff sits in RAM 58 - CON: uses a package array to queue equations :p 59 60 DONE display of screen set header in ProblemSet.pm (easy) 61 DONE add <!--#if can="blah" warning="1" error="1"--> 62 time and transaction logging 63 make "enter" on the problem form trigger "submit answer", not "redisplay" 64 remove "set" and "prob" from URL generation, remove s/^(set|prob)//; 65 remove webwork-dvipng-xxxxx temp directories when finished with them 66 have logout button invalidate key 67 handling of PG warnings (?!?!?!?!) 68 Options 69 - email address and password 70 - or link to old system 71 Feedback (or link to old system) 72 - need nice modular way of sending email 73 Pretty die messages (from outside of the translator) 74 GD not compiling 75 76 77 -------------------------------------------------------------------------------- 78 79 80 Calling LaTeX/dvipng and PDFLaTeX in a nice way 81 - create LaTeX.pm (?) 82 - &latex2pdf 83 - create secure tempdir 84 - write hardcopy to tex file 85 - call pdflatex 86 - move resulting pdf file to tmp/hardcopy/whatever.pdf 87 - remove tempdir 88 - &latex2png (dvipng method) 89 - create secure tempdir 90 - write equations to tex file 91 - call latex 92 - run dvipng (as per ImageGenerator) on dvi file 93 - move resulting images to tmp/dvipng/whatever.png 94 - remove tempdir 95
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |