summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-02-04 14:27:49 +0000
committerKarl Berry <karl@freefriends.org>2009-02-04 14:27:49 +0000
commit114218009875218a2a5106054f0ff1a5093a3ef0 (patch)
tree969311119aaf6ee9d053920cc6ae13638da771bb /Master/texmf-dist/source/latex/hyperref
parentb15f25fd23684b721285864cbdc808f009d9c2d4 (diff)
hyperref update (3feb09)
git-svn-id: svn://tug.org/texlive/trunk@12074 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx46
1 files changed, 40 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index 0f480db58da..1cd87564c72 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -1,7 +1,7 @@
% \iffalse
%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
%% with portions written by David Carlisle and Heiko Oberdiek,
-%% 2001-2008 Heiko Oberdiek.
+%% 2001-2009 Heiko Oberdiek.
%%
%% This file is part of the `Hyperref Bundle'.
%% -------------------------------------------
@@ -38,7 +38,7 @@
%<puenc>\ProvidesFile{puenc.def}
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
-%<!none> [2008/12/26 v6.78n
+%<!none> [2009/02/02 v6.78o
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -114,7 +114,7 @@
\end{document}
%</driver>
% \fi
-% \CheckSum{24446}
+% \CheckSum{24487}
%
% \MakeShortVerb{|}
% \StopEventually{}
@@ -1628,6 +1628,31 @@
% \end{macro}
%
% \subsection{Encodings}
+%
+% \subsubsection{Workaround for package linguex}
+%
+% \begin{macrocode}
+\@ifpackageloaded{linguex}{%
+ \let\HyLinguex@OrgB\b
+ \let\HyLinguex@OrgC\c
+ \let\HyLinguex@OrgD\d
+ \def\HyLinguex@Restore{%
+ \let\b\HyLinguex@OrgB
+ \let\c\HyLinguex@OrgC
+ \let\d\HyLinguex@OrgD
+ }%
+ \AtEndOfPackage{%
+ \pdfstringdefDisableCommands{%
+ \@ifundefined{oldb}{}{\let\b\oldb}%
+ \@ifundefined{oldc}{}{\let\c\oldc}%
+ \@ifundefined{oldd}{}{\let\d\oldd}%
+ }%
+ }%
+}{%
+ \let\HyLinguex@Restore\relax
+}%
+% \end{macrocode}
+%
% \subsubsection{PD1 encoding}
% The PD1 encoding implements the PDFDocEncoding for use with
% \LaTeXe's NFSS. Because the informational strings are not set by
@@ -1639,7 +1664,10 @@
% or loaded here. It does not matter what font family is selected,
% as \TeX{} does not process it anyway. So use CM.
% \begin{macrocode}
-\@ifundefined{T@PD1}{\input{pd1enc.def}}{}
+\@ifundefined{T@PD1}{%
+ \input{pd1enc.def}%
+ \HyLinguex@Restore
+}{}
\DeclareFontFamily{PD1}{pdf}{}
\DeclareFontShape{PD1}{pdf}{m}{n}{ <-> cmr10 }{}
\DeclareFontSubstitution{PD1}{pdf}{m}{n}
@@ -1656,7 +1684,10 @@
% the package option |unicode|.
% \begin{macrocode}
\def\HyPsd@InitUnicode{%
- \@ifundefined{T@PU}{\input{puenc.def}}{}%
+ \@ifundefined{T@PU}{%
+ \input{puenc.def}%
+ \HyLinguex@Restore
+ }{}%
\DeclareFontFamily{PU}{pdf}{}%
\DeclareFontShape{PU}{pdf}{m}{n}{ <-> cmr10 }{}%
\DeclareFontSubstitution{PU}{pdf}{m}{n}%
@@ -3927,7 +3958,10 @@
\HyPsd@LoadUnicode
}
\def\HyPsd@LoadUnicode{%
- \@ifundefined{T@PU}{\input{puenc.def}}{}%
+ \@ifundefined{T@PU}{%
+ \input{puenc.def}%
+ \HyLinguex@Restore
+ }{}%
\DeclareFontFamily{PU}{pdf}{}%
\DeclareFontShape{PU}{pdf}{m}{n}{ <-> cmr10 }{}%
\DeclareFontSubstitution{PU}{pdf}{m}{n}%