diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3experimental/l3graphics')
-rw-r--r-- | Master/texmf-dist/tex/latex/l3experimental/l3graphics/l3graphics.sty | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3graphics/l3graphics.sty b/Master/texmf-dist/tex/latex/l3experimental/l3graphics/l3graphics.sty index 3b4f473f480..9b13f3782aa 100644 --- a/Master/texmf-dist/tex/latex/l3experimental/l3graphics/l3graphics.sty +++ b/Master/texmf-dist/tex/latex/l3experimental/l3graphics/l3graphics.sty @@ -20,8 +20,9 @@ %% %% File: l3graphics.dtx \RequirePackage{expl3} -\ProvidesExplPackage{l3graphics}{2022-04-10}{} +\ProvidesExplPackage{l3graphics}{2022-04-20}{} {L3 Experimental graphics inclusion support} +\dim_new:N \l__graphics_internal_dim \ior_new:N \l__graphics_internal_ior \tl_new:N \l__graphics_internal_tl \scan_new:N \s__graphics_stop @@ -292,8 +293,18 @@ \seq_set_eq:NN \l_file_search_path_seq \l_graphics_search_path_seq \file_get_full_name:nNTF {#1} \l__graphics_full_name_str { - \str_if_eq:eeT { \l__graphics_full_name_str } { #1 .tex } + \str_if_eq:eeTF { \l__graphics_full_name_str } { #1 .tex } { \__graphics_get_full_name:n {#1} } + { + \file_parse_full_name:VNNN \l__graphics_full_name_str + \l__graphics_dir_str \l__graphics_name_str \l__graphics_ext_str + \seq_map_inline:Nn \l_graphics_search_ext_seq + { + \str_if_eq:nVT {##1} \l__graphics_ext_str + { \seq_map_break:n { \use_none:nn } } + } + \__graphics_get_full_name:n {#1} + } } { \__graphics_get_full_name:n {#1} } \exp_args:NNNV \group_end: |