]> git.lyx.org Git - lyx.git/commitdiff
Cmake export tests:
authorKornel Benko <kornel@lyx.org>
Mon, 25 Mar 2019 19:50:58 +0000 (20:50 +0100)
committerKornel Benko <kornel@lyx.org>
Mon, 25 Mar 2019 19:50:58 +0000 (20:50 +0100)
Added missing file to make Europass_CV-files compilable
lyxStatus.pm: Added handling for inserted files with used extension

development/autotests/lyxStatus.pm
lib/examples/Curricula_Vitae/REPLACEphoto.jpg [new file with mode: 0644]
lib/examples/de/Curricula_Vitae/Europass_CV_%282013%29.lyx

index 14a00480320b5388802d9d759746fb07f23288bb..6c3001953fe89903541b9831bcd85bce270dc35b 100644 (file)
@@ -276,7 +276,7 @@ sub checkForLayoutStart($)
     $selem{name} = $1;
     unshift(@stack, \%selem);
     if ($selem{name} =~ /^(Picture|Photo)$/ ) {
-      my $rElem = newMatch("ext" => [".eps", ".png"],
+      my $rElem = newMatch("ext" => [".eps", ".png", ""],
                             "filetype" => "copy_only",
                            "search" => qr/^(.+)/,
                            "result" => ["", "", ""]);
diff --git a/lib/examples/Curricula_Vitae/REPLACEphoto.jpg b/lib/examples/Curricula_Vitae/REPLACEphoto.jpg
new file mode 100644 (file)
index 0000000..4218aa2
Binary files /dev/null and b/lib/examples/Curricula_Vitae/REPLACEphoto.jpg differ
index 1581f2b6ff7623c546eb675d80ee8bafc54b569d..7092736b3b4fb189a359ea4e4fe5ec0996bcfc08 100644 (file)
@@ -316,7 +316,7 @@ width=3.5cm
 
 \end_inset
 
-REPLACEphoto.jpg
+../../Curricula_Vitae/REPLACEphoto.jpg
 \end_layout
 
 \end_inset