diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/atfidvips.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/atfidvips.def | 43 |
1 files changed, 25 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/atfidvips.def b/Master/texmf-dist/tex/latex/oberdiek/atfidvips.def index 5a69c2b1fe0..0210824d2f2 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/atfidvips.def +++ b/Master/texmf-dist/tex/latex/oberdiek/atfidvips.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 dvips (HO)]% + [2009/09/25 v2.5 attachfile2 driver for dvips (HO)]% \def\atfi@literal#1{% \special{ps:atfi_dict begin{#1}atfi_?pdfmark end}% } @@ -460,23 +460,30 @@ \@ifundefined{atfi@fsobj@#1}{% \stepcounter{atfi@obj}% \expandafter\xdef\csname atfi@fsobj@#1\endcsname{\theatfi@obj}% - \atfi@pdfstringdef\atfi@file{#1}% - \atfi@literal{% - [% - /_objdef \theatfi@obj - /type/dict% - /OBJ pdfmark% - [% - \theatfi@obj - <<% - /Type/Filespec% - /F(\atfi@file)% - /EF<<% - /F \csname atfi@fileobj@#1\endcsname + \begingroup + \hypersetup{unicode=false}% + \atfi@pdfstringdef\atfi@file{#1}% + \atfi@literal{% + [% + /_objdef \theatfi@obj + /type/dict% + /OBJ pdfmark% + [% + \theatfi@obj + <<% + /Type/Filespec% + /F(\atfi@file)% + \ifx\atfi@ucfilespec\@empty + \else + /UF(\atfi@ucfilespec)% + \fi + /EF<<% + /F \csname atfi@fileobj@#1\endcsname + >>% >>% - >>% - /PUT pdfmark% - }% + /PUT pdfmark% + }% + \endgroup }{% }% \atfi@literal{% |