diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/atfipdftex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/atfipdftex.def | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/atfipdftex.def b/Master/texmf-dist/tex/latex/oberdiek/atfipdftex.def index f57090200ae..31c0ba775bf 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/atfipdftex.def +++ b/Master/texmf-dist/tex/latex/oberdiek/atfipdftex.def @@ -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,7 +29,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesFile{atfipdftex.def}% - [2008/07/29 v2.4 attachfile2 driver for pdfTeX (HO)]% + [2009/09/25 v2.5 attachfile2 driver for pdfTeX (HO)]% \let\atfi@literal\pdfliteral @@ -113,19 +113,26 @@ \let\atfi@appearance@dict\@empty \fi \@ifundefined{atfi@fsobj@#1}{% - \atfi@pdfstringdef\atfi@file{#1}% - \immediate\pdfobj{% - <<% - /Type/Filespec% - /F(\atfi@file)% - /EF<<% - /F \@nameuse{atfi@fileobj@#1} 0 R% + \begingroup + \hypersetup{unicode=false}% + \atfi@pdfstringdef\atfi@file{#1}% + \immediate\pdfobj{% + <<% + /Type/Filespec% + /F(\atfi@file)% + \ifx\atfi@ucfilespec\@empty + \else + /UF(\atfi@ucfilespec)% + \fi + /EF<<% + /F \@nameuse{atfi@fileobj@#1} 0 R% + >>% >>% - >>% - }% - \expandafter\xdef\csname atfi@fsobj@#1\endcsname{% - \the\pdflastobj - }% + }% + \expandafter\xdef\csname atfi@fsobj@#1\endcsname{% + \the\pdflastobj + }% + \endgroup }{% }% \pdfannot width \atfi@scale\atfi@appearancewidth |