]> git.lyx.org Git - lyx.git/commitdiff
Cmake test environment.
authorKornel Benko <kornel@lyx.org>
Sat, 7 Dec 2013 12:06:27 +0000 (13:06 +0100)
committerKornel Benko <kornel@lyx.org>
Sat, 7 Dec 2013 12:06:27 +0000 (13:06 +0100)
Expanded search for an image to \ecvpicture{} in the preamble.

development/autotests/lyxStatus.pm

index 05537e7acb93d6c280ea59a89b98f8a9b9927b66..9b917cc34572a02fb1d4a23687fa777f426e6562 100644 (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);
   }