diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-26 23:25:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-26 23:25:27 +0000 |
commit | ddfd914103ff31aa6cac69f4fb135ac4e35ca54a (patch) | |
tree | acfd06f6f30f039788b0a27ab73c7ac209646a87 /Master/texmf-dist/tex/latex/oberdiek/attachfile2.sty | |
parent | be069a8171e0e5028a8893ee64753dd07b4f1180 (diff) |
oberdiek update (26sep09)
git-svn-id: svn://tug.org/texlive/trunk@15474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/attachfile2.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/attachfile2.sty | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/attachfile2.sty b/Master/texmf-dist/tex/latex/oberdiek/attachfile2.sty index ea4124bfbd4..6619d689770 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/attachfile2.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/attachfile2.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2005-2008 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% Copyright (C) 2005-2009 by Heiko Oberdiek <oberdiek@uni-freiburg.de> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -29,21 +29,17 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{attachfile2}% - [2008/07/29 v2.4 attach files into PDF (HO)]% + [2009/09/25 v2.5 attach files into PDF (HO)]% \RequirePackage{ifpdf} \RequirePackage{keyval} \RequirePackage{color} \RequirePackage{kvoptions}[2006/08/17] +\RequirePackage{pdfescape}[2007/11/11] \RequirePackage{hyperref} \RequirePackage{hycolor}[2008/07/29] -\def\atfi@pdfstringdef#1#2{% - \pdfstringdef\atfi@temp@string{#2}% - \edef#1{\atfi@temp@string}% -} - \def\atfi@hexdigit#1{% \ifcase#1% @@ -189,7 +185,7 @@ \atfi@timezone)% } \define@key{AtFi}{date}{% - \atfi@pdfstringdef\atfi@date{#1}% + \EdefEscapeString\atfi@date{#1}% \edef\atfi@date{/M(\atfi@date)}% } @@ -241,6 +237,15 @@ \def\atfi@scale{#1}% } +\def\atfi@ucfilespec{} +\define@key{AtFi}{ucfilespec}[1]{% + \def\atfi@ucfilespec{#1}% + \ifx\atfi@ucfilespec\@empty + \else + \atfi@pdfstringdef\atfi@ucfilespec{#1}% + \fi +} + \newif\ifatfi@nofiles \atfi@nofilesfalse \define@key{AtFi}{nofiles}[true]{% |