diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-12 22:17:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-12 22:17:27 +0000 |
commit | 31d980cd523570aec67a173fcddcd6d8bcf7764b (patch) | |
tree | 85745c0def300881abd134d3ac9e8a05571efb36 /Master/texmf-dist | |
parent | d7234c8b1a0b9dd638531f41e22cb99a6952c474 (diff) |
attachfile (12nov15)
git-svn-id: svn://tug.org/texlive/trunk@38830 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/attachfile/attachfile.pdf | bin | 352390 -> 359230 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/attachfile/attachfile.dtx | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/attachfile/attachfile.sty | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf b/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf Binary files differindex 0a70c815909..3a89c5b9af1 100644 --- a/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf +++ b/Master/texmf-dist/doc/latex/attachfile/attachfile.pdf 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, 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 << |