From b77d0d3ac4159779a8c68ae949f717bdd72ca634 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 20 Jan 2007 00:29:10 +0000 Subject: hyperref update (19jan07) git-svn-id: svn://tug.org/texlive/trunk@3605 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/hyperref/doc/manual.tex | 20 ++++++++++++-------- .../texmf-dist/source/latex/hyperref/doc/options.tex | 1 + Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 17 ++++++++++++++--- 3 files changed, 27 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/source') diff --git a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex index a2f9077bed0..5cd011a880f 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/manual.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/manual.tex @@ -198,12 +198,13 @@ PDF writer; this is basically the same as that for \textsf{dvips}, but a few var % (deprecated) \item[dvipdfm] produces \verb|\special| commands for Mark Wicks' DVI to PDF driver \textsf{dvipdfm} \item[dvipdfmx] produces \verb|\special| commands for driver - \textsf{dvipdfmx}, a successor of \textsf{dvipdfm}. + \textsf{dvipdfmx}, a successor of \textsf{dvipdfm} \item[dviwindo] produces \verb|\special| commands that Y\&Y's Windows previewer interprets as hypertext jumps within the previewer \item[vtex] produces \verb|\special| commands that MicroPress' HTML and PDF-producing \TeX\ variants interpret as hypertext jumps within the previewer \item[textures] produces \verb|\special| commands that \textsf{Textures} interprets as hypertext jumps within the previewer +\item[xetex] produces \verb|\special| commands for Xe\TeX{} \end{description} Output from \textsf{dvips} or \textsf{dvipsone} must be processed using @@ -335,7 +336,7 @@ However, at any case, the link area will be wrong and displaced. \subsection{Backend drivers} If no driver is specified, the package defaults to loading the -\textsf{hypertex} driver. All of these are boolean options. +\textsf{hypertex} driver. \noindent\begin{longtable}{>{\ttfamily}lp{.8\hsize}} dvipdfm & Sets up \textsf{hyperref} for use with the \textsf{dvipdfm} driver.\\ @@ -345,18 +346,20 @@ dvipsone & Sets up \textsf{hyperref} for use with the \textsf{dvipsone} drive dviwindo & Sets up \textsf{hyperref} for use with the \textsf{dviwindo} Windows previewer. \\ hypertex & Sets up \textsf{hyperref} for use with the Hyper\TeX-compliant drivers. \\ latex2html & Redefines a few macros for compatibility with \textsf{latex2html}. \\ -nativepdf & an alias for \textsf{dvips} \\ -pdfmark & an alias for \textsf{dvips} \\ +nativepdf & An alias for \textsf{dvips} \\ +pdfmark & An alias for \textsf{dvips} \\ pdftex & Sets up \textsf{hyperref} for use with the \textsf{pdftex} program.\\ ps2pdf & Redefines a few macros for compatibility with Ghostscript's PDF writer, otherwise identical to \textsf{dvips}. \\ -tex4ht & for use with \textsf{\TeX4ht} \\ -textures & for use with \textsf{Textures} \\ +tex4ht & For use with \textsf{\TeX4ht} \\ +textures & For use with \textsf{Textures} \\ vtex & For use with MicroPress' \textsf{VTeX}; the PDF and HTML backends are detected automatically. \\ -vtexpdfmark & for use with \textsf{VTeX}'s PostScript backend. \\ -\end{longtable} \smallskip +vtexpdfmark & For use with \textsf{VTeX}'s PostScript backend. \\ +xetex & For use with Xe\TeX (using backend for dvipdfm). +\end{longtable} +\smallskip If you use \textsf{dviwindo}, you may need to redefine the macro \ci{wwwbrowser} (the default is \verb|C:\netscape\netscape|) to tell @@ -677,6 +680,7 @@ urlbordercolor & \textit{0 1 1} & color of border around URL links \ urlcolor & \textit{magenta} & color of URL links \\ verbose & \textit{false} & be chatty \\ vtex & & use \textsf{VTeX} backend\\ +xetex & & use \textsf{Xe\TeX} backend\\ \end{longtable} \section{Additional user macros} diff --git a/Master/texmf-dist/source/latex/hyperref/doc/options.tex b/Master/texmf-dist/source/latex/hyperref/doc/options.tex index 9d91b36a785..833752a10fe 100644 --- a/Master/texmf-dist/source/latex/hyperref/doc/options.tex +++ b/Master/texmf-dist/source/latex/hyperref/doc/options.tex @@ -120,6 +120,7 @@ urlcolor &color of URL links&magenta\\ verbose &be chatty&false\\ vtex &use V\TeX\ backend\\ vtexpdfmark &use backend for V\TeX\ in PDF/PS mode (pdfmark specials)\\ +xetex &use XeTeX backend\\ \hline \end{longtable} \end{document} diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index f8c35e5e1a6..d39d49b2758 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -39,7 +39,7 @@ %\ProvidesFile{puenc.def} %\ProvidesFile{puvnenc.def} %\ProvidesFile{puarenc.def} -% [2007/01/17 v6.75n +% [2007/01/18 v6.75o % Hypertext links for LaTeX] % Dummy hyperref (SR)] % Hyperref documentation driver file] @@ -116,7 +116,7 @@ \end{document} % % \fi -% \CheckSum{19714} +% \CheckSum{19735} % % \MakeShortVerb{|} % \StopEventually{} @@ -3567,6 +3567,11 @@ \def\XR@ext{pdf}% \Hy@breaklinkstrue } +\define@key{Hyp}{xetex}[true]{% + \def\Hy@driver{hdvipdfm}% + \def\XR@ext{pdf}% + \Hy@breaklinkstrue +} \define@key{Hyp}{pdfmark}[true]{% \def\Hy@driver{hdvips}% \def\Hy@raisedlink{}% @@ -4539,7 +4544,12 @@ \expandafter\ifx\csname pdfoutput\endcsname\relax \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname OpMode\endcsname\relax - \let\Hy@driver\Hy@defaultdriver + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname XeTeXversion\endcsname\relax + \let\Hy@driver\Hy@defaultdriver + \else + \def\Hy@driver{hdvipdfm}% + \fi \else \ifnum 0\ifnum\OpMode<1 1\fi \ifnum\OpMode>3 1\fi =0 % \def\Hy@driver{hvtex}% @@ -4617,6 +4627,7 @@ \Hy@DisableOption{textures} \Hy@DisableOption{latex2html} \Hy@DisableOption{ps2pdf} +\Hy@DisableOption{xetex} % \end{macrocode} % % \subsubsection{Bookmarks} -- cgit v1.2.3