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 --- Master/texmf-dist/source/latex/attachfile/attachfile.dtx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/source/latex/attachfile') 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, -- cgit v1.2.3