[system] / trunk / webwork / system / courseScripts / dangerousMacros.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/courseScripts/dangerousMacros.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 35 Revision 36
367 367
368my ($tthPreambleFile, $tthPreambleContents); # the contents of this file will not change during problem compilation 368my ($tthPreambleFile, $tthPreambleContents); # the contents of this file will not change during problem compilation
369 # it only needs to be read once 369 # it only needs to be read once
370sub tth { 370sub tth {
371 my $inputString = shift; 371 my $inputString = shift;
372 372
373 # read the contents of the tthPreamble.tex file, unless it has already been read 373 # read the contents of the tthPreamble.tex file, unless it has already been read
374 unless ( defined( $tthPreambleContents) ) { 374 unless ( defined( $tthPreambleContents) ) {
375 $tthPreambleFile = "${main::templateDirectory}tthPreamble.tex" if ( -r "${main::templateDirectory}tthPreamble.tex" ); 375 $tthPreambleFile = "${main::templateDirectory}tthPreamble.tex" if ( -r "${main::templateDirectory}tthPreamble.tex" );
376 if ( defined($tthPreambleFile) ) { 376 if ( defined($tthPreambleFile) ) {
377 local(*TTHIN); 377 local(*TTHIN);

Legend:
Removed from v.35  
changed lines
  Added in v.36

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9