[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 1490 Revision 1550
1816 my $imageURL = alias(shift @image_list); 1816 my $imageURL = alias(shift @image_list);
1817 my $out=""; 1817 my $out="";
1818 1818
1819 if ($displayMode eq 'TeX') { 1819 if ($displayMode eq 'TeX') {
1820 my $imagePath = $imageURL; # in TeX mode, alias gives us a path, not a URL 1820 my $imagePath = $imageURL; # in TeX mode, alias gives us a path, not a URL
1821 if ($envir->{texDisposition} eq "pdf") { 1821 if (defined $envir->{texDisposition} and $envir->{texDisposition} eq "pdf") {
1822 # We're going to create PDF files with our TeX (using pdflatex), so 1822 # We're going to create PDF files with our TeX (using pdflatex), so
1823 # alias should have given us the path to a PNG image. What we need 1823 # alias should have given us the path to a PNG image. What we need
1824 # to do is find out the dimmensions of this image, since pdflatex 1824 # to do is find out the dimmensions of this image, since pdflatex
1825 # is too dumb to live. 1825 # is too dumb to live.
1826 1826

Legend:
Removed from v.1490  
changed lines
  Added in v.1550

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9