diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-19 01:14:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-19 01:14:53 +0000 |
commit | 34d97661b6a6e80101f81b56c53dc4c9690d039f (patch) | |
tree | 8a3c7194f85eb243fb39e84563bcafb08652cb3b /Master/texmf-dist/tex/latex/hyperref/hpdftex.def | |
parent | d9470ad8b6a515e0f3fdd6d9bb5c40046153a178 (diff) |
hyperref update (19jan07)
git-svn-id: svn://tug.org/texlive/trunk@3579 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hpdftex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hpdftex.def | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def index f1951b6b413..b33e88e5e42 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def +++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def @@ -22,7 +22,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hpdftex.def} - [2007/01/14 v6.75m + [2007/01/17 v6.75n Hyperref driver for pdfTeX] \let\Hy@PutCatalog\pdfcatalog \ifHy@pagelabels @@ -576,7 +576,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 @@ -592,6 +593,9 @@ \Field@toks={ }% \setkeys{Field}{#1}% \ifFld@hidden\def\Fld@width{1sp}\fi + \ifx\Fld@value\relax + \let\Fld@value\Fld@default + \fi \LayoutChoiceField{#2}{% \ifFld@radio \@@Radio{#3}% @@ -889,22 +893,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 } |