diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/attachfile')
-rw-r--r-- | Master/texmf-dist/source/latex/attachfile/attachfile.dtx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/attachfile/attachfile.dtx b/Master/texmf-dist/source/latex/attachfile/attachfile.dtx index 09c4f559820..d66e72726d1 100644 --- a/Master/texmf-dist/source/latex/attachfile/attachfile.dtx +++ b/Master/texmf-dist/source/latex/attachfile/attachfile.dtx @@ -22,7 +22,7 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{attachfile} %<*package> - [2015/09/30 v1.7 PDF 1.3+ file attachment] + [2015/11/11 v1.8 PDF 1.3+ file attachment] %</package> % %<*driver> @@ -89,7 +89,7 @@ %<*package> % \fi % -% \CheckSum{507} +% \CheckSum{513} % % \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 @@ -1272,6 +1272,9 @@ % |\atfi@embedfile|. % \changes{v1.3}{2007/01/15}{Made robust to running % \protect\pkgname{hyperref} with \cs{Hy@unicodetrue}} +% \changes{v1.8}{2015/11/11}{Strip path names from included files. +% Mikkel Futtrup reported that path names often confuse PDF readers +% on tablets and smartphones} % \begin{macrocode} \DeclareRobustCommand{\atfi@insert@file@annot}[1]{% \rule{0pt}{0pt}% @@ -1280,6 +1283,8 @@ \edef\next{\egroup \def\noexpand\atfi@file{\atfi@file}% }\next + \filename@parse{\atfi@file}% + \edef\atfi@file{\filename@base.\filename@ext}% \ifatfi@appearance % \end{macrocode} % We currently use the same appearance for \textsf{N}ormal, |