mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
Cmake test environment.
Expanded search for an image to \ecvpicture{} in the preamble.
This commit is contained in:
parent
1d591a0985
commit
9422053f49
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user