diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index 617c1c9f6a4..7fe8d898176 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hyperref} - [2009/10/02 v6.78w + [2009/10/09 v6.79a Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -4077,6 +4077,7 @@ \def\Fld@borderwidth{1} \def\Fld@borderstyle{S} \def\Fld@cbsymbol{4} +\def\Fld@radiosymbol{H} \def\Fld@rotation{0} \def\Form{\@ifnextchar[{\@Form}{\@Form[]}} \def\endForm{\@endForm} @@ -4192,7 +4193,37 @@ \def\Fld@value{#1}% } \define@key{Field}{checkboxsymbol}{% - \def\Fld@cbsymbol{#1}% + \Fld@DingDef\Fld@cbsymbol{#1}% +} +\define@key{Field}{radiosymbol}{% + \Fld@DingDef\Fld@radiosymbol{#1}% +} +\def\Fld@DingDef#1#2{% + \def\Fld@temp{}% + \Fld@@DingDef#2\ding{}\@nil + \let#1\Fld@temp +} +\def\Fld@@DingDef#1\ding#2#3\@nil{% + \expandafter\def\expandafter\Fld@temp\expandafter{% + \Fld@temp + #1% + }% + \ifx\\#3\\% + \expandafter\@gobble + \else + \begingroup + \lccode`0=#2\relax + \lowercase{\endgroup + \expandafter\def\expandafter\Fld@temp\expandafter{% + \Fld@temp + 0% + }% + }% + \expandafter\@firstofone + \fi + {% + \Fld@@DingDef#3\@nil + }% } \define@key{Field}{rotation}{% \def\Fld@rotation{#1}% |