diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-14 21:07:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-14 21:07:10 +0000 |
commit | 9d8396f8aeb1c162f4e71d3f62deab0421881d87 (patch) | |
tree | d7917fb204502ac24e76edd71a24436b99ca2d4b /Master/texmf-dist/tex/generic | |
parent | 4dd077824d5a2afeccebe741a2d58963a6cc2587 (diff) |
embedfile (14apr20)
git-svn-id: svn://tug.org/texlive/trunk@54739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/embedfile/embedfile.sty | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/embedfile/embedfile.sty b/Master/texmf-dist/tex/generic/embedfile/embedfile.sty index 86e58515f18..656cddeec72 100644 --- a/Master/texmf-dist/tex/generic/embedfile/embedfile.sty +++ b/Master/texmf-dist/tex/generic/embedfile/embedfile.sty @@ -9,11 +9,11 @@ %% This is a generated file. %% %% Project: embedfile -%% Version: 2019/12/03 v2.9 +%% Version: 2020-04-14 v2.10 %% %% Copyright (C) %% 2006-2011 Heiko Oberdiek -%% 2016-2019 Oberdiek Package Support Group +%% 2016-2020 Oberdiek Package Support Group %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -109,7 +109,7 @@ \fi \expandafter\x\csname ver@embedfile.sty\endcsname \ProvidesPackage{embedfile}% - [2019/12/03 v2.9 Embed files into PDF (HO)]% + [2020-04-14 v2.10 Embed files into PDF (HO)]% \begingroup\catcode61\catcode48\catcode32=10\relax% \catcode13=5 % ^^M \endlinechar=13 % @@ -513,6 +513,7 @@ \def\embedfile{% \ltx@ifnextchar[\EmFi@embedfile{\EmFi@embedfile[]}% } +\def\EmFi@removeslash#1{\if/#1\else#1\fi}% \def\EmFi@embedfile[#1]#2{% \ifEmFi@finished \EmFi@Error{% @@ -549,7 +550,8 @@ \ifx\EmFi@afrelationship\ltx@empty \let\EmFi@@afrelationship\ltx@empty \else - \EmFi@convert\EmFi@afrelationship\EmFi@@afrelationship + \expandafter\edef\expandafter\EmFi@@afrelationship\expandafter + {\expandafter\EmFi@removeslash\EmFi@afrelationship} \fi \ifEmFi@item \let\do\EmFi@do @@ -591,7 +593,7 @@ \fi \ifx\EmFi@@afrelationship\ltx@empty \else - /AFRelationship\EmFi@@afrelationship% + /AFRelationship/\pdf@escapename{\EmFi@@afrelationship}% \fi /EF<<% /F \the\pdflastobj\ltx@space 0 R% |