summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-10-24 23:39:55 +0000
committerKarl Berry <karl@freefriends.org>2010-10-24 23:39:55 +0000
commit179388974fc2854ba702d7cfa609872ad0def9cc (patch)
tree77ebefb865e6481d9eb32dee13f0f1246210ccc5 /Master/texmf-dist/tex/latex/hyperref/hpdftex.def
parent02f11ad360536879147e30b12547a8f384c68ebe (diff)
hyperref (20oct10)
git-svn-id: svn://tug.org/texlive/trunk@20177 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.def43
1 files changed, 33 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
index 3c43fa5bc55..9c6c2875199 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
@@ -29,8 +29,9 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hpdftex.def}
- [2010/09/17 v6.81q
+ [2010/10/19 v6.81s
Hyperref driver for pdfTeX]
+\Hy@VersionCheck{hpdftex.def}
\let\Hy@PutCatalog\pdfcatalog
\ifHy@pagelabels
\def\HyPL@StorePageLabel#1{%
@@ -1208,6 +1209,17 @@
\Hy@escapeform{}%
\fi
\def\PDFForm@Name{%
+ \PDFForm@@Name\Fld@name
+ \ifx\Fld@altname\relax
+ \else
+ \PDFForm@@Name\Fld@altname
+ \fi
+ \ifx\Fld@mappingname\relax
+ \else
+ \PDFForm@@Name\Fld@mappingname
+ \fi
+}
+\def\PDFForm@@Name#1{%
\begingroup
\ifnum\Hy@pdfversion<5 % implementation note 117, PDF spec 1.7
\ifHy@unicode
@@ -1215,9 +1227,9 @@
\fi
\fi
\HyPsd@XeTeXBigCharstrue
- \pdfstringdef\Hy@gtemp\Fld@name
+ \pdfstringdef\Hy@gtemp#1%
\endgroup
- \let\Fld@name\Hy@gtemp
+ \let#1\Hy@gtemp
}
\def\Fld@@additionalactions{%
\ifx\Fld@keystroke@code\@empty
@@ -1270,10 +1282,21 @@
\fi
\fi
}
+\def\Fld@annotnames{%
+ /T(\Fld@name)%
+ \ifx\Fld@altname\relax
+ \else
+ /TU(\Fld@altname)%
+ \fi
+ \ifx\Fld@mappingname\relax
+ \else
+ /TM(\Fld@mappingname)%
+ \fi
+}
\def\PDFForm@Check{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/Q \Fld@align
@@ -1304,7 +1327,7 @@
\def\PDFForm@Push{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%
@@ -1331,7 +1354,7 @@
\def\PDFForm@List{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Ch%
\Fld@flags
/Q \Fld@align
@@ -1364,7 +1387,7 @@
\def\PDFForm@Radio{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%
@@ -1396,7 +1419,7 @@
\def\PDFForm@Text{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Tx%
\Fld@flags
/Q \Fld@align
@@ -1431,7 +1454,7 @@
\def\PDFForm@Submit{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%
@@ -1466,7 +1489,7 @@
\def\PDFForm@Reset{%
/Subtype/Widget%
\Fld@annotflags
- /T(\Fld@name)%
+ \Fld@annotnames
/FT/Btn%
\Fld@flags
/H/P%