texlive[54739] Master/texmf-dist: embedfile (14apr20)
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 14 23:07:10 CEST 2020
Revision: 54739
http://tug.org/svn/texlive?view=revision&revision=54739
Author: karl
Date: 2020-04-14 23:07:10 +0200 (Tue, 14 Apr 2020)
Log Message:
-----------
embedfile (14apr20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-collection.tex
trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-plain.tex
trunk/Master/texmf-dist/doc/latex/embedfile/embedfile.pdf
trunk/Master/texmf-dist/source/latex/embedfile/embedfile.dtx
trunk/Master/texmf-dist/tex/generic/embedfile/embedfile.sty
trunk/Master/texmf-dist/tex/latex/embedfile/dtx-attach.sty
Modified: trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-collection.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-collection.tex 2020-04-14 21:06:57 UTC (rev 54738)
+++ trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-collection.tex 2020-04-14 21:07:10 UTC (rev 54739)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-plain.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-plain.tex 2020-04-14 21:06:57 UTC (rev 54738)
+++ trunk/Master/texmf-dist/doc/latex/embedfile/embedfile-example-plain.tex 2020-04-14 21:07:10 UTC (rev 54739)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/embedfile/embedfile.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/embedfile/embedfile.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/embedfile/embedfile.dtx 2020-04-14 21:06:57 UTC (rev 54738)
+++ trunk/Master/texmf-dist/source/latex/embedfile/embedfile.dtx 2020-04-14 21:07:10 UTC (rev 54739)
@@ -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 @@
%<*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 @@
% \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 @@
%
% \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 @@
% 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 @@
%<*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 @@
\fi
\expandafter\x\csname ver at 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 @@
% \end{macro}
% \begin{macro}{\EmFi at embedfile}
% \begin{macrocode}
+\def\EmFi at removeslash#1{\if/#1\else#1\fi}%
\def\EmFi at embedfile[#1]#2{%
\ifEmFi at finished
\EmFi at Error{%
@@ -1412,7 +1416,8 @@
\ifx\EmFi at afrelationship\ltx at empty
\let\EmFi@@afrelationship\ltx at empty
\else
- \EmFi at convert\EmFi at afrelationship\EmFi@@afrelationship
+ \expandafter\edef\expandafter\EmFi@@afrelationship\expandafter
+ {\expandafter\EmFi at removeslash\EmFi at afrelationship}
\fi
\ifEmFi at item
\let\do\EmFi at do
@@ -1454,7 +1459,7 @@
\fi
\ifx\EmFi@@afrelationship\ltx at empty
\else
- /AFRelationship\EmFi@@afrelationship%
+ /AFRelationship/\pdf at escapename{\EmFi@@afrelationship}%
\fi
/EF<<%
/F \the\pdflastobj\ltx at space 0 R%
@@ -1947,7 +1952,7 @@
% \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 @@
% \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
Modified: trunk/Master/texmf-dist/tex/generic/embedfile/embedfile.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/embedfile/embedfile.sty 2020-04-14 21:06:57 UTC (rev 54738)
+++ trunk/Master/texmf-dist/tex/generic/embedfile/embedfile.sty 2020-04-14 21:07:10 UTC (rev 54739)
@@ -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 at 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 at ifnextchar[\EmFi at embedfile{\EmFi at embedfile[]}%
}
+\def\EmFi at removeslash#1{\if/#1\else#1\fi}%
\def\EmFi at embedfile[#1]#2{%
\ifEmFi at finished
\EmFi at Error{%
@@ -549,7 +550,8 @@
\ifx\EmFi at afrelationship\ltx at empty
\let\EmFi@@afrelationship\ltx at empty
\else
- \EmFi at convert\EmFi at afrelationship\EmFi@@afrelationship
+ \expandafter\edef\expandafter\EmFi@@afrelationship\expandafter
+ {\expandafter\EmFi at removeslash\EmFi at afrelationship}
\fi
\ifEmFi at item
\let\do\EmFi at do
@@ -591,7 +593,7 @@
\fi
\ifx\EmFi@@afrelationship\ltx at empty
\else
- /AFRelationship\EmFi@@afrelationship%
+ /AFRelationship/\pdf at escapename{\EmFi@@afrelationship}%
\fi
/EF<<%
/F \the\pdflastobj\ltx at space 0 R%
Modified: trunk/Master/texmf-dist/tex/latex/embedfile/dtx-attach.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/embedfile/dtx-attach.sty 2020-04-14 21:06:57 UTC (rev 54738)
+++ trunk/Master/texmf-dist/tex/latex/embedfile/dtx-attach.sty 2020-04-14 21:07:10 UTC (rev 54739)
@@ -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
@@ -45,7 +45,7 @@
%%
\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,%
More information about the tex-live-commits
mailing list.