From 31d980cd523570aec67a173fcddcd6d8bcf7764b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Nov 2015 22:17:27 +0000 Subject: attachfile (12nov15) git-svn-id: svn://tug.org/texlive/trunk@38830 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/attachfile/attachfile.pdf | Bin 352390 -> 359230 bytes .../source/latex/attachfile/attachfile.dtx | 9 +++++++-- .../texmf-dist/tex/latex/attachfile/attachfile.sty | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf b/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf index 0a70c815909..3a89c5b9af1 100644 Binary files a/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf and b/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf differ 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 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\ProvidesPackage{attachfile} %<*package> - [2015/09/30 v1.7 PDF 1.3+ file attachment] + [2015/11/11 v1.8 PDF 1.3+ file attachment] % % %<*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, diff --git a/Master/texmf-dist/tex/latex/attachfile/attachfile.sty b/Master/texmf-dist/tex/latex/attachfile/attachfile.sty index 13f65a9bd97..c7f110aade5 100644 --- a/Master/texmf-dist/tex/latex/attachfile/attachfile.sty +++ b/Master/texmf-dist/tex/latex/attachfile/attachfile.sty @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{attachfile} - [2015/09/30 v1.7 PDF 1.3+ file attachment] + [2015/11/11 v1.8 PDF 1.3+ file attachment] \RequirePackage{ifpdf} \ifpdf \else @@ -168,6 +168,8 @@ \edef\next{\egroup \def\noexpand\atfi@file{\atfi@file}% }\next + \filename@parse{\atfi@file}% + \edef\atfi@file{\filename@base.\filename@ext}% \ifatfi@appearance \def\atfi@appearance@dict{% /AP << -- cgit v1.2.3