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

Diff of /trunk/pg/macros/PGbasicmacros.pl

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

Revision 1157 Revision 1158
1363 1363
1364 my $out; 1364 my $out;
1365 if($displayMode eq "HTML_tth") { 1365 if($displayMode eq "HTML_tth") {
1366 $out = tth($in_delim); 1366 $out = tth($in_delim);
1367 } elsif ($displayMode eq "HTML_dpng") { 1367 } elsif ($displayMode eq "HTML_dpng") {
1368 # for jj's version of ImageGenerator
1368 #$out = $envir{'imagegen'}->add($in_delim); 1369 $out = $envir{'imagegen'}->add($in_delim);
1370 # for my version of ImageGenerator
1369 $out = $envir{'imagegen'}->add($in, $mode); 1371 #$out = $envir{'imagegen'}->add($in, $mode);
1370 } elsif ($displayMode eq "HTML_img") { 1372 } elsif ($displayMode eq "HTML_img") {
1371 $out = math2img($in, $mode); 1373 $out = math2img($in, $mode);
1372 } else { 1374 } else {
1373 $out = "\\($in\\)" if $mode eq "inline"; 1375 $out = "\\($in\\)" if $mode eq "inline";
1374 $out = "\\[$in\\]" if $mode eq "display"; 1376 $out = "\\[$in\\]" if $mode eq "display";

Legend:
Removed from v.1157  
changed lines
  Added in v.1158

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9