diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-21 03:01:05 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-21 03:01:05 +0000 |
commit | b2fc73208c72c65ca8f9ce068898291b69322d32 (patch) | |
tree | c5027d520af6b383a642459af510e38224cf97d5 /macros/latex/contrib/attachfile2 | |
parent | 2fd07558ccd8d3c8e354f8ea0b342ef7ac1e87a3 (diff) |
CTAN sync 202401210301
Diffstat (limited to 'macros/latex/contrib/attachfile2')
-rw-r--r-- | macros/latex/contrib/attachfile2/attachfile2.dtx | 60 | ||||
-rw-r--r-- | macros/latex/contrib/attachfile2/attachfile2.pdf | bin | 445753 -> 473642 bytes |
2 files changed, 29 insertions, 31 deletions
diff --git a/macros/latex/contrib/attachfile2/attachfile2.dtx b/macros/latex/contrib/attachfile2/attachfile2.dtx index 2f4aefb8dd..dfc7336aad 100644 --- a/macros/latex/contrib/attachfile2/attachfile2.dtx +++ b/macros/latex/contrib/attachfile2/attachfile2.dtx @@ -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 @@ and the derived files %<*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 @@ and the derived files % \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 @@ and the derived files % 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 @@ and the derived files %<*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 @@ and the derived files \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 @@ and the derived files timezone,% ucfilespec,% zoom,% + locked,% } % \end{macrocode} % @@ -1536,6 +1528,9 @@ and the derived files \else \addtocounter{atfi@flags}{8}% \fi% + \ifatfi@locked + \addtocounter{atfi@flags}{128}% + \fi% } % \end{macrocode} % \end{macro} @@ -1626,7 +1621,7 @@ and the derived files %<*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 @@ and the derived files %<*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@literal {\pdfextension literal} \def\atfi@GSAVE{q } \def\atfi@GRESTORE{Q } @@ -1944,7 +1939,7 @@ and the derived files %<*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 @@ and the derived files %<*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 @@ and the derived files \let\atfi@temp\Hy@Warning \let\Hy@Warning\ltx@gobble \fi - \hypersetup{unicode=false}% + \Hy@unicodefalse% \ifxetex \let\Hy@Warning\atfi@temp \fi @@ -3015,7 +3010,7 @@ ps2pdf test.ps test.pdf .SH OPTIONS Various options are supported -.IP --help +.IP --help Show help text. .IP --version Print version number @@ -3056,7 +3051,7 @@ See attachfile2.pdf for more details. % \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 @@ See attachfile2.pdf for more details. % \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 @@ See attachfile2.pdf for more details. % \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 @@ See attachfile2.pdf for more details. % \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 diff --git a/macros/latex/contrib/attachfile2/attachfile2.pdf b/macros/latex/contrib/attachfile2/attachfile2.pdf Binary files differindex a0a5c5052d..a62aabe340 100644 --- a/macros/latex/contrib/attachfile2/attachfile2.pdf +++ b/macros/latex/contrib/attachfile2/attachfile2.pdf |