Cmake test environment.

Expanded search for an image to \ecvpicture{} in the preamble.
This commit is contained in:
Kornel Benko 2013-12-07 13:06:27 +01:00
parent 1d591a0985
commit 9422053f49

View File

@ -194,9 +194,9 @@ sub checkForPreamble($)
$selem{name} = $1;
unshift(@stack, \%selem);
my $rElem = &newMatch("ext" => [".eps", ".png"],
"search" => '^\\\\photo(.*\{)(.*)\}',
"fileidx" => 2,
"result" => ["\\photo", "1", "2", "}"]);
"search" => '^\\\\(photo|ecvpicture)(.*\{)(.*)\}',
"fileidx" => 3,
"result" => ["\\", "1", "2", "3", "}"]);
&setMatching([$rElem]);
return(1);
}