summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hpdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hpdftex.def41
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
}