texlive[69505] Master/texmf-dist: attachfile2 (20jan24)

commits+karl at tug.org commits+karl at tug.org
Sat Jan 20 22:06:56 CET 2024


Revision: 69505
          https://tug.org/svn/texlive?view=revision&revision=69505
Author:   karl
Date:     2024-01-20 22:06:56 +0100 (Sat, 20 Jan 2024)
Log Message:
-----------
attachfile2 (20jan24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/attachfile2/attachfile2.pdf
    trunk/Master/texmf-dist/doc/man/man1/pdfatfi.man1.pdf
    trunk/Master/texmf-dist/source/latex/attachfile2/attachfile2.dtx
    trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvipdfmx.def
    trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvips.def
    trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-luatex.def
    trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-pdftex.def
    trunk/Master/texmf-dist/tex/latex/attachfile2/attachfile2.sty

Modified: trunk/Master/texmf-dist/doc/latex/attachfile2/attachfile2.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/pdfatfi.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/attachfile2/attachfile2.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/attachfile2/attachfile2.dtx	2024-01-20 21:06:38 UTC (rev 69504)
+++ trunk/Master/texmf-dist/source/latex/attachfile2/attachfile2.dtx	2024-01-20 21:06:56 UTC (rev 69505)
@@ -1,7 +1,7 @@
 % \iffalse meta-comment
 %
 % File: attachfile2.dtx
-% Version: 2019/11/26 v2.11
+% Version: 2024-01-18 v2.12
 % Info: Attach files into PDF
 %
 % Copyright (C)
@@ -87,7 +87,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: attachfile2 2019/11/26 v2.11 Attach files into PDF (HO)}
+\Msg{* Package: attachfile2 2024-01-18 v2.12 Attach files into PDF (HO)}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -99,7 +99,7 @@
 This is a generated file.
 
 Project: attachfile2
-Version: 2019/11/26 v2.11
+Version: 2024-01-18 v2.12
 
 Copyright (C)
    2005-2010, 2012  Heiko Oberdiek
@@ -180,7 +180,7 @@
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{attachfile2.drv}%
-  [2019/11/26 v2.11 Attach files into PDF (HO)]%
+  [2024-01-18 v2.12 Attach files into PDF (HO)]%
 \documentclass{ltxdoc}
 \usepackage{holtxdoc}[2011/11/22]
 \begin{document}
@@ -190,26 +190,11 @@
 % \fi
 %
 %
-% \CharacterTable
-%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%   Digits        \0\1\2\3\4\5\6\7\8\9
-%   Exclamation   \!     Double quote  \"     Hash (number) \#
-%   Dollar        \$     Percent       \%     Ampersand     \&
-%   Acute accent  \'     Left paren    \(     Right paren   \)
-%   Asterisk      \*     Plus          \+     Comma         \,
-%   Minus         \-     Point         \.     Solidus       \/
-%   Colon         \:     Semicolon     \;     Less than     \<
-%   Equals        \=     Greater than  \>     Question mark \?
-%   Commercial at \@     Left bracket  \[     Backslash     \\
-%   Right bracket \]     Circumflex    \^     Underscore    \_
-%   Grave accent  \`     Left brace    \{     Vertical bar  \|
-%   Right brace   \}     Tilde         \~}
 %
 % \GetFileInfo{attachfile2.drv}
 %
 % \title{The \xpackage{attachfile2} package}
-% \date{2019/11/26 v2.11}
+% \date{2024-01-18 v2.12}
 % \author{Heiko Oberdiek\thanks
 % {Please report any issues at \url{https://github.com/ho-tex/attachfile2/issues}}}
 %
@@ -318,10 +303,11 @@
 %          if the driver cannot be detected automatically.
 %    \item New options \xoption{final} and \xoption{draft}.
 %    \item New option \xoption{scale} for scaling the annotation rectangle.
-%    \item Options \xoption{file} and \xoption{nofile} for controlling
+%    \item Option \xoption{nofiles} for controlling
 %          the generation of the auxiliary file \xfile{.atfi}.
 %    \item New option \xoption{ucfilespec} for file names with
 %          characters outside ASCII (PDF 1.7).
+%    \item New option \xoption{locked} to set the \texttt{Locked} flag.
 %    \end{itemize}
 %
 % \subsubsection{Option \xoption{color}}
@@ -437,7 +423,7 @@
 %<*package>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{attachfile2}%
-  [2019/11/26 v2.11 Attach files into PDF (HO)]%
+  [2024-01-18 v2.12 Attach files into PDF (HO)]%
 %    \end{macrocode}
 %
 % \subsubsection{Loading of packages}
@@ -793,6 +779,11 @@
 \DeclareBoolOption[true]{zoom}
 %    \end{macrocode}
 %
+%    Option \xoption{locked}.
+%    \begin{macrocode}
+\DeclareBoolOption[true]{locked}
+%    \end{macrocode}
+%
 %    Option \xoption{appearance}.
 %    \begin{macrocode}
 \DeclareBoolOption[true]{appearance}
@@ -884,6 +875,7 @@
   timezone,%
   ucfilespec,%
   zoom,%
+  locked,%
 }
 %    \end{macrocode}
 %
@@ -1536,6 +1528,9 @@
   \else
     \addtocounter{atfi at flags}{8}%
   \fi%
+  \ifatfi at locked
+  	\addtocounter{atfi at flags}{128}%
+  \fi%
 }
 %    \end{macrocode}
 %    \end{macro}
@@ -1626,7 +1621,7 @@
 %<*pdftex>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-pdftex.def}%
-  [2019/11/26 v2.11 attachfile2 driver for pdfTeX (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for pdfTeX (HO)]%
 %    \end{macrocode}
 %
 % \paragraph{Macros for graphics data}
@@ -1810,7 +1805,7 @@
 %<*luatex>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-luatex.def}%
-  [2019/11/26 v2.11 attachfile2 driver for luaTeX (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for luaTeX (HO)]%
 \protected\def\atfi at literal        {\pdfextension literal}
 \def\atfi at GSAVE{q }
 \def\atfi at GRESTORE{Q }
@@ -1944,7 +1939,7 @@
 %<*dvips>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-dvips.def}%
-  [2019/11/26 v2.11 attachfile2 driver for dvips (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for dvips (HO)]%
 %    \end{macrocode}
 %
 % \paragraph{Macros for graphics data}
@@ -2519,7 +2514,7 @@
 %<*dvipdfmx>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-dvipdfmx.def}%
-  [2019/11/26 v2.11 attachfile2 driver for dvipdfmx/XeTeX (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for dvipdfmx/XeTeX (HO)]%
 %    \end{macrocode}
 %
 % \paragraph{Macros for graphics data}
@@ -2690,7 +2685,7 @@
         \let\atfi at temp\Hy at Warning
         \let\Hy at Warning\ltx at gobble
       \fi
-      \hypersetup{unicode=false}%
+      \Hy at unicodefalse%
       \ifxetex
         \let\Hy at Warning\atfi at temp
       \fi
@@ -3015,7 +3010,7 @@
 
 .SH OPTIONS
 Various options are supported
-.IP --help   
+.IP --help
 Show help text.
 .IP --version
 Print version number
@@ -3056,7 +3051,7 @@
 % \item[\CTANinstall{install/macros/latex/contrib/attachfile2.tds.zip}]
 % \end{description}
 % \emph{TDS} refers to the standard ``A Directory Structure
-% for \TeX\ Files'' (\CTAN{tds/tds.pdf}). Directories
+% for \TeX\ Files'' (\CTANpkg{tds}). Directories
 % with \xfile{texmf} in their name are usually organized this way.
 %
 % \subsection{Bundle installation}
@@ -3233,7 +3228,7 @@
 % \bibitem{embedfile}
 %   Heiko Oberdiek: \textit{The \xpackage{embedfile} package};
 %   2006/08/16 v1.0;
-%   \CTAN{macros/latex/contrib/oberdiek/embedfile.pdf}.
+%   \CTANpkg{embedfile}.
 %
 % \bibitem{pdfspec}
 %   Adobe Systems Incorporated:
@@ -3339,7 +3334,7 @@
 %   \end{Version}
 %   \begin{Version}{2019/11/24 v2.10}
 %   \item
-%     Fix perl header comment 
+%     Fix perl header comment
 %   \item
 %     Address perl warning \verb|Scalar value @s[7] better written as $s[7] at pdfatfi.pl line 147|
 %   \item
@@ -3349,6 +3344,9 @@
 %   \item
 %     Add man file for \verb|pdfatfi|.
 %   \end{Version}
+%   \begin{Version}{2024-01-18 v2.12}
+%   \item Doc corrected for issue 7
+%   \end{Version}
 % \end{History}
 %
 % \PrintIndex

Modified: trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvipdfmx.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvipdfmx.def	2024-01-20 21:06:38 UTC (rev 69504)
+++ trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvipdfmx.def	2024-01-20 21:06:56 UTC (rev 69505)
@@ -9,7 +9,7 @@
 %% This is a generated file.
 %% 
 %% Project: attachfile2
-%% Version: 2019/11/26 v2.11
+%% Version: 2024-01-18 v2.12
 %% 
 %% Copyright (C)
 %%    2005-2010, 2012  Heiko Oberdiek
@@ -40,7 +40,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-dvipdfmx.def}%
-  [2019/11/26 v2.11 attachfile2 driver for dvipdfmx/XeTeX (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for dvipdfmx/XeTeX (HO)]%
 \def\atfi at special#1{%
   \special{pdf:#1}%
 }
@@ -162,7 +162,7 @@
         \let\atfi at temp\Hy at Warning
         \let\Hy at Warning\ltx at gobble
       \fi
-      \hypersetup{unicode=false}%
+      \Hy at unicodefalse%
       \ifxetex
         \let\Hy at Warning\atfi at temp
       \fi

Modified: trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvips.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvips.def	2024-01-20 21:06:38 UTC (rev 69504)
+++ trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-dvips.def	2024-01-20 21:06:56 UTC (rev 69505)
@@ -9,7 +9,7 @@
 %% This is a generated file.
 %% 
 %% Project: attachfile2
-%% Version: 2019/11/26 v2.11
+%% Version: 2024-01-18 v2.12
 %% 
 %% Copyright (C)
 %%    2005-2010, 2012  Heiko Oberdiek
@@ -40,7 +40,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-dvips.def}%
-  [2019/11/26 v2.11 attachfile2 driver for dvips (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for dvips (HO)]%
 \def\atfi at literal#1{%
   \special{ps:atfi_dict begin{#1}atfi_?pdfmark end}%
 }

Modified: trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-luatex.def	2024-01-20 21:06:38 UTC (rev 69504)
+++ trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-luatex.def	2024-01-20 21:06:56 UTC (rev 69505)
@@ -9,7 +9,7 @@
 %% This is a generated file.
 %% 
 %% Project: attachfile2
-%% Version: 2019/11/26 v2.11
+%% Version: 2024-01-18 v2.12
 %% 
 %% Copyright (C)
 %%    2005-2010, 2012  Heiko Oberdiek
@@ -40,7 +40,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-luatex.def}%
-  [2019/11/26 v2.11 attachfile2 driver for luaTeX (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for luaTeX (HO)]%
 \protected\def\atfi at literal        {\pdfextension literal}
 \def\atfi at GSAVE{q }
 \def\atfi at GRESTORE{Q }

Modified: trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-pdftex.def	2024-01-20 21:06:38 UTC (rev 69504)
+++ trunk/Master/texmf-dist/tex/latex/attachfile2/atfi-pdftex.def	2024-01-20 21:06:56 UTC (rev 69505)
@@ -9,7 +9,7 @@
 %% This is a generated file.
 %% 
 %% Project: attachfile2
-%% Version: 2019/11/26 v2.11
+%% Version: 2024-01-18 v2.12
 %% 
 %% Copyright (C)
 %%    2005-2010, 2012  Heiko Oberdiek
@@ -40,7 +40,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{atfi-pdftex.def}%
-  [2019/11/26 v2.11 attachfile2 driver for pdfTeX (HO)]%
+  [2024-01-18 v2.12 attachfile2 driver for pdfTeX (HO)]%
 \let\atfi at literal\pdfliteral
 \def\atfi at GSAVE{q }
 \def\atfi at GRESTORE{Q }

Modified: trunk/Master/texmf-dist/tex/latex/attachfile2/attachfile2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/attachfile2/attachfile2.sty	2024-01-20 21:06:38 UTC (rev 69504)
+++ trunk/Master/texmf-dist/tex/latex/attachfile2/attachfile2.sty	2024-01-20 21:06:56 UTC (rev 69505)
@@ -9,7 +9,7 @@
 %% This is a generated file.
 %% 
 %% Project: attachfile2
-%% Version: 2019/11/26 v2.11
+%% Version: 2024-01-18 v2.12
 %% 
 %% Copyright (C)
 %%    2005-2010, 2012  Heiko Oberdiek
@@ -40,7 +40,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{attachfile2}%
-  [2019/11/26 v2.11 Attach files into PDF (HO)]%
+  [2024-01-18 v2.12 Attach files into PDF (HO)]%
 \RequirePackage{iftex}[2019/11/07]
 \RequirePackage{keyval}
 \RequirePackage{color}
@@ -231,6 +231,7 @@
 }
 \DeclareBoolOption[true]{print}
 \DeclareBoolOption[true]{zoom}
+\DeclareBoolOption[true]{locked}
 \DeclareBoolOption[true]{appearance}
 \DeclareStringOption[1]{scale}
 \def\atfi at ucfilespec{}
@@ -288,6 +289,7 @@
   timezone,%
   ucfilespec,%
   zoom,%
+  locked,%
 }
 \InputIfFileExists{attachfile.cfg}{}{}
 \ProcessKeyvalOptions*
@@ -761,6 +763,9 @@
   \else
     \addtocounter{atfi at flags}{8}%
   \fi%
+  \ifatfi at locked
+   \addtocounter{atfi at flags}{128}%
+  \fi%
 }
 \def\atfi at textattachfile#1#2{%
     \endgroup



More information about the tex-live-commits mailing list.