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