summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/embedfile
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-04-15 03:02:52 +0000
committerNorbert Preining <norbert@preining.info>2020-04-15 03:02:52 +0000
commite768cc604852d6fe8821592cea67835f67eab0db (patch)
tree06dc26d3571570f9578f59825f6ecc2186dfb47c /macros/latex/contrib/embedfile
parentc7235aafe4ddb8f9800cdf784212d4c53bb53e32 (diff)
CTAN sync 202004150302
Diffstat (limited to 'macros/latex/contrib/embedfile')
-rw-r--r--macros/latex/contrib/embedfile/embedfile.dtx35
-rw-r--r--macros/latex/contrib/embedfile/embedfile.pdfbin391565 -> 397083 bytes
2 files changed, 22 insertions, 13 deletions
diff --git a/macros/latex/contrib/embedfile/embedfile.dtx b/macros/latex/contrib/embedfile/embedfile.dtx
index 1fb0ed84b6..dbdfbaeafc 100644
--- a/macros/latex/contrib/embedfile/embedfile.dtx
+++ b/macros/latex/contrib/embedfile/embedfile.dtx
@@ -1,12 +1,12 @@
% \iffalse meta-comment
%
% File: embedfile.dtx
-% Version: 2019/12/03 v2.9
+% Version: 2020-04-14 v2.10
% Info: Embed files into PDF
%
% Copyright (C)
% 2006-2011 Heiko Oberdiek
-% 2016-2019 Oberdiek Package Support Group
+% 2016-2020 Oberdiek Package Support Group
% https://github.com/ho-tex/embedfile/issues
%
% This work may be distributed and/or modified under the
@@ -89,7 +89,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: embedfile 2019/12/03 v2.9 Embed files into PDF (HO)}
+\Msg{* Package: embedfile 2020-04-14 v2.10 Embed files into PDF (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -101,11 +101,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
@@ -179,7 +179,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{embedfile.drv}%
- [2019/12/03 v2.9 Embed files into PDF (HO)]%
+ [2020-04-14 v2.10 Embed files into PDF (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\begin{document}
@@ -193,7 +193,7 @@ and the derived files
% \GetFileInfo{embedfile.drv}
%
% \title{The \xpackage{embedfile} package}
-% \date{2019/12/03 v2.9}
+% \date{2020-04-14 v2.10}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/embedfile/issues}}}
%
@@ -201,7 +201,7 @@ and the derived files
%
% \begin{abstract}
% This package embeds files to a PDF document.
-% Currently the only supported driver is \pdfTeX\ $>=$ 1.30 in PDF mode.
+% Currently the only supported drivers are \pdfTeX\ $>=$ 1.30 and lua\TeX\ in PDF mode.
% \end{abstract}
%
% \tableofcontents
@@ -302,6 +302,9 @@ and the derived files
% for a list of officially registered types.
% \item[\xoption{desc}]
% The description for the file.
+% \item[\xoption{afrelationship}]
+% This adds the /AFRelationship key to the filespec dicrectory. The value is
+% a pdf name with or without the leading slash.%
% \item[\xoption{stringmethod}]
% The package must convert the values of the keys \xoption{ucfilespec}
% and \xoption{desc} into a PDF string (before version 2.4: \xoption{filespec}
@@ -620,7 +623,7 @@ You need Acrobat Reader 8 or higher.
%<*dtxattach>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{dtx-attach}
- [2019/12/03 v2.9 Embed \string\jobname.dtx (HO)]%
+ [2020-04-14 v2.10 Embed \string\jobname.dtx (HO)]%
\RequirePackage{embedfile}[2019/12/03]
\embedfile[%
stringmethod=escape,%
@@ -711,7 +714,7 @@ You need Acrobat Reader 8 or higher.
\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)]%
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -1376,6 +1379,7 @@ You need Acrobat Reader 8 or higher.
% \end{macro}
% \begin{macro}{\EmFi@embedfile}
% \begin{macrocode}
+\def\EmFi@removeslash#1{\if/#1\else#1\fi}%
\def\EmFi@embedfile[#1]#2{%
\ifEmFi@finished
\EmFi@Error{%
@@ -1412,7 +1416,8 @@ You need Acrobat Reader 8 or higher.
\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
@@ -1454,7 +1459,7 @@ You need Acrobat Reader 8 or higher.
\fi
\ifx\EmFi@@afrelationship\ltx@empty
\else
- /AFRelationship\EmFi@@afrelationship%
+ /AFRelationship/\pdf@escapename{\EmFi@@afrelationship}%
\fi
/EF<<%
/F \the\pdflastobj\ltx@space 0 R%
@@ -1947,7 +1952,7 @@ You need Acrobat Reader 8 or higher.
% \end{Version}
% \begin{Version}{2018/11/01 v2.8}
% \item
-% Remove luatex85 package depenency.
+% Remove luatex85 package dependency.
% \end{Version}
% \begin{Version}{2019/12/03 v2.9}
% \item
@@ -1957,6 +1962,10 @@ You need Acrobat Reader 8 or higher.
% \item
% update to use \xpackage{iftex}
% \end{Version}
+% \begin{Version}{2020-04-14 v2.10}
+% \item Fix issue \#4, the value of afrelationship should not be
+% converted but name escaped.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/macros/latex/contrib/embedfile/embedfile.pdf b/macros/latex/contrib/embedfile/embedfile.pdf
index a91594eaf5..66682ebd9f 100644
--- a/macros/latex/contrib/embedfile/embedfile.pdf
+++ b/macros/latex/contrib/embedfile/embedfile.pdf
Binary files differ