| … | |
… | |
| 125 | if (defined($opts{refresh}) and |
125 | if (defined($opts{refresh}) and |
| 126 | (($opts{refresh} eq "yes") or ($opts{refresh} == 1))) { |
126 | (($opts{refresh} eq "yes") or ($opts{refresh} == 1))) { |
| 127 | $refreshMe = 1; |
127 | $refreshMe = 1; |
| 128 | } |
128 | } |
| 129 | |
129 | |
| 130 | $refreshMe = 1; # Uncomment for testing |
130 | # $refreshMe = 1; # Uncomment for testing |
| 131 | my $latexfilenamebase = $self->{tmppath}.$self->{filenamestart}; |
131 | my $latexfilenamebase = $self->{tmppath}.$self->{filenamestart}; |
| 132 | |
132 | |
| 133 | my $sourcePath = $self->{sourceFile}; |
133 | my $sourcePath = $self->{sourceFile}; |
| 134 | my $tempFile = "${latexfilenamebase}".$self->{count}.".png"; # last image |
134 | my $tempFile = "${latexfilenamebase}".$self->{count}.".png"; # last image |
| 135 | |
135 | |