From: Kornel Benko Date: Mon, 25 Mar 2019 19:50:58 +0000 (+0100) Subject: Cmake export tests: X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2340 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=78059a49afb25838c8736b4c4d1d3632cc422628;p=features.git Cmake export tests: Added missing file to make Europass_CV-files compilable lyxStatus.pm: Added handling for inserted files with used extension --- diff --git a/development/autotests/lyxStatus.pm b/development/autotests/lyxStatus.pm index 14a0048032..6c3001953f 100644 --- a/development/autotests/lyxStatus.pm +++ b/development/autotests/lyxStatus.pm @@ -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 index 0000000000..4218aa268f Binary files /dev/null and b/lib/examples/Curricula_Vitae/REPLACEphoto.jpg differ diff --git a/lib/examples/de/Curricula_Vitae/Europass_CV_%282013%29.lyx b/lib/examples/de/Curricula_Vitae/Europass_CV_%282013%29.lyx index 1581f2b6ff..7092736b3b 100644 --- a/lib/examples/de/Curricula_Vitae/Europass_CV_%282013%29.lyx +++ b/lib/examples/de/Curricula_Vitae/Europass_CV_%282013%29.lyx @@ -316,7 +316,7 @@ width=3.5cm \end_inset -REPLACEphoto.jpg +../../Curricula_Vitae/REPLACEphoto.jpg \end_layout \end_inset