summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-28 23:10:03 +0000
committerKarl Berry <karl@freefriends.org>2011-03-28 23:10:03 +0000
commit5d418e5d01cadb145d62f7e48545d38bbf91d064 (patch)
tree430764dd58086526255ec865436e199bf707319d /Master/texmf-dist/source
parent03775873b0e5e4ad16c41464c9c2b658be812323 (diff)
attachfile (28mar11)
git-svn-id: svn://tug.org/texlive/trunk@21866 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/attachfile/attachfile.dtx12
-rw-r--r--Master/texmf-dist/source/latex/attachfile/attachfile.ins4
2 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/attachfile/attachfile.dtx b/Master/texmf-dist/source/latex/attachfile/attachfile.dtx
index 51870e52b79..1a0b5edb1da 100644
--- a/Master/texmf-dist/source/latex/attachfile/attachfile.dtx
+++ b/Master/texmf-dist/source/latex/attachfile/attachfile.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2010 by Scott Pakin <scott+af@pakin.org>
+% Copyright (C) 2011 by Scott Pakin <scott+af@pakin.org>
% -------------------------------------------------------
%
% This file may be distributed and/or modified under the conditions of
@@ -22,7 +22,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{attachfile}
%<*package>
- [2010/09/14 v1.5a PDF 1.3+ file attachment]
+ [2011/03/27 v1.5b PDF 1.3+ file attachment]
%</package>
%
%<*driver>
@@ -84,7 +84,7 @@
%<*package>
% \fi
%
-% \CheckSum{489}
+% \CheckSum{493}
%
% \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
@@ -1734,12 +1734,18 @@
% does all the work. We define two groups: one for keeping the
% attachment options local and one for temporarily altering category
% codes.
+% \changes{v1.5b}{2011/03/27}{Reset ``\texttt{\char`\\}''
+% to category code~0 to enable the use of
+% \texttt{\string\string\string\jobname} in the name of the file
+% attachment for compatibility with \texttt{\string\string\string\attachfile}
+% (reported by Uwe Bieling)}
% \begin{macrocode}
\DeclareRobustCommand{\textattachfile}[1][]{%
\begingroup
\begingroup
\let\do\@makeother
\dospecials
+ \catcode`\\=0\relax
\catcode`\{=1\relax
\catcode`\}=2\relax
\atfi@textattachfile{#1}%
diff --git a/Master/texmf-dist/source/latex/attachfile/attachfile.ins b/Master/texmf-dist/source/latex/attachfile/attachfile.ins
index ecdac280fbe..f314afd80dc 100644
--- a/Master/texmf-dist/source/latex/attachfile/attachfile.ins
+++ b/Master/texmf-dist/source/latex/attachfile/attachfile.ins
@@ -3,7 +3,7 @@
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
-%% Copyright (C) 2010 Scott Pakin <scott+af@pakin.org>
+%% Copyright (C) 2011 Scott Pakin <scott+af@pakin.org>
%% -------------------------------------------------------
%%
%% This package may be distributed and/or modified under the
@@ -28,7 +28,7 @@
This is a generated file.
-Copyright (C) 2010 Scott Pakin <scott+af@pakin.org>
+Copyright (C) 2011 Scott Pakin <scott+af@pakin.org>
-------------------------------------------------------
This package may be distributed and/or modified under the