diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/pdfmark.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/pdfmark.def | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def index bb394b523b0..679470b2256 100644 --- a/Master/texmf-dist/tex/latex/hyperref/pdfmark.def +++ b/Master/texmf-dist/tex/latex/hyperref/pdfmark.def @@ -22,7 +22,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{pdfmark.def} - [2007/01/14 v6.75m + [2007/01/17 v6.75n Hyperref definitions for pdfmark specials] \def\Hy@PutCatalog#1{% \pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}% @@ -784,7 +784,8 @@ } \def\@ChoiceMenu[#1]#2#3{% parameters, label, choices \def\Fld@name{#2}% - \def\Fld@default{}% + \let\Fld@default\relax + \let\Fld@value\relax \def\Fld@width{\DefaultWidthofChoiceMenu}% \def\Fld@height{\DefaultHeightofChoiceMenu}% \bgroup @@ -1031,22 +1032,29 @@ >> } \def\PDFForm@List{% - /Subtype /Widget - \ifFld@hidden /F 6 \else /F 4 \fi - /T (\Hy@escapestring{\Fld@name}) - /FT /Ch - /Q \Fld@align\space - /BS << /W \Fld@borderwidth\space /S /\Fld@borderstyle\space >> - /MK << - /BC [\Fld@bordercolor] + /Subtype/Widget% + \ifFld@hidden /F 6\else /F 4\fi + /T(\Hy@escapestring{\Fld@name})% + /FT/Ch% + /Q \Fld@align + /BS<</W \Fld@borderwidth /S/\Fld@borderstyle>>% + /MK<<% + /BC[\Fld@bordercolor]% \ifx\Fld@bcolor\@empty \else - /BG [\Fld@bcolor] + /BG[\Fld@bcolor]% \fi - >> - /DA (/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg ) - /Opt [\the\Choice@toks] - /DV (\Hy@escapestring{\Fld@default}) + >>% + /DA(/Helv \strip@pt\Fld@charsize\space Tf \Fld@color\space rg)% + /Opt[\the\Choice@toks]% + \ifx\Fld@default\relax + \else + /DV(\Hy@escapestring{\Fld@default})% + \fi + \ifx\Fld@value\relax + \else + /V(\Hy@escapestring{\Fld@value})% + \fi \Fld@additionalactions \Fld@flags } |