From 55ae6e504d04d806c4c5ac253dedb98196fc1c35 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 16 Nov 2007 11:24:40 +0000 Subject: oberdiek update 11/11 git-svn-id: svn://tug.org/texlive/trunk@5458 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/oberdiek/hypdestopt.dtx | 45 ++++++++++++++-------- 1 file changed, 28 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/source/latex/oberdiek/hypdestopt.dtx') diff --git a/Master/texmf-dist/source/latex/oberdiek/hypdestopt.dtx b/Master/texmf-dist/source/latex/oberdiek/hypdestopt.dtx index 10546cac666..fd614692008 100644 --- a/Master/texmf-dist/source/latex/oberdiek/hypdestopt.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/hypdestopt.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2006 by Heiko Oberdiek +% Copyright (C) 2006, 2007 by Heiko Oberdiek % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -66,17 +66,18 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: hypdestopt 2006/06/01 v2.0 Hyperref destination optimizer (HO)} +\Msg{* Package: hypdestopt 2007/11/11 v2.1 Hyperref destination optimizer (HO)} \Msg{************************************************************************} \keepsilent \askforoverwritefalse +\let\MetaPrefix\relax \preamble This is a generated file. -Copyright (C) 2006 by Heiko Oberdiek +Copyright (C) 2006, 2007 by Heiko Oberdiek This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -95,6 +96,7 @@ and the derived files hypdestopt.sty, hypdestopt.pdf, hypdestopt.ins, hypdestopt.drv. \endpreamble +\let\MetaPrefix\DoubleperCent \generate{% \file{hypdestopt.ins}{\from{hypdestopt.dtx}{install}}% @@ -111,6 +113,10 @@ and the derived files \Msg{*} \Msg{* hypdestopt.sty} \Msg{*} +\Msg{* And install the following script file:} +\Msg{*} +\Msg{* } +\Msg{*} \Msg{* To produce the documentation run the file `hypdestopt.drv'} \Msg{* through LaTeX.} \Msg{*} @@ -126,16 +132,16 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{hypdestopt.drv}% - [2006/06/01 v2.0 Hyperref destination optimizer (HO)]% + [2007/11/11 v2.1 Hyperref destination optimizer (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2007/10/21] +\usepackage{holtxdoc}[2007/11/11] \begin{document} \DocInput{hypdestopt.dtx}% \end{document} % % \fi % -% \CheckSum{514} +% \CheckSum{515} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -156,7 +162,7 @@ and the derived files % \GetFileInfo{hypdestopt.drv} % % \title{The \xpackage{hypdestopt} package} -% \date{2006/06/01 v2.0} +% \date{2007/11/11 v2.1} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle @@ -278,7 +284,7 @@ and the derived files %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hypdestopt}% - [2006/06/01 v2.0 Hyperref destination optimizer (HO)]% + [2007/11/11 v2.1 Hyperref destination optimizer (HO)]% % \end{macrocode} % % \subsection{Options} @@ -320,7 +326,8 @@ and the derived files % % First \pdfTeX\ must running in PDF mode. % \begin{macrocode} -\RequirePackage{ifpdf} +\RequirePackage{ifpdf}[2007/09/09] +\RequirePackage{pdftexcmds}[2007/11/11] \ifpdf \else \PackageError{hypdestopt}{% @@ -333,7 +340,7 @@ and the derived files % \cs{pdfescapehex} and \cs{pdfunescapehex} are used. % \begin{macrocode} \begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdfescapehex\endcsname\relax +\expandafter\ifx\csname pdf@escapehex\endcsname\relax \PackageError{hypdestopt}{% This pdfTeX is too old, at least 1.30.0 is required% }\@ehc @@ -474,7 +481,7 @@ and the derived files % For use, the hexadecimal string is converted back. % \begin{macrocode} \renewcommand*{\theHypDest}{% - \pdfunescapehex{\HypDest@HexString{\value{HypDest}}}% + \pdf@unescapehex{\HypDest@HexString{\value{HypDest}}}% }% % \end{macrocode} % \end{macro} @@ -508,7 +515,7 @@ and the derived files \begingroup \edef\x{% \expandafter\noexpand - \csname\HypDest@Prefix\pdfunescapehex{#1}\endcsname + \csname\HypDest@Prefix\pdf@unescapehex{#1}\endcsname }% \expandafter\ifx\x\relax \stepcounter{HypDest}% @@ -516,12 +523,12 @@ and the derived files \let\on@line\@empty \ifHypDest@name \HypDest@VerboseInfo{% - Use: (\pdfunescapehex{#1}) -\string> % - 0x\pdfescapehex{\x} (\number\value{HypDest})% + Use: (\pdf@unescapehex{#1}) -\string> % + 0x\pdf@escapehex{\x} (\number\value{HypDest})% }% \else \HypDest@VerboseInfo{% - Use: (\pdfunescapehex{#1}) -\string> num \x + Use: (\pdf@unescapehex{#1}) -\string> num \x }% \fi \fi @@ -548,7 +555,7 @@ and the derived files }% \if@filesw \immediate\write\@auxout{% - \string\HypDest@Use{\pdfescapehex{#1}}% + \string\HypDest@Use{\pdf@escapehex{#1}}% }% \fi }% @@ -586,7 +593,7 @@ and the derived files \HypDest@Org@DestName{\csname\HypDest@Prefix#1\endcsname}{#2}% \HypDest@VerboseInfo{% DestName: (#1) % - 0x\pdfescapehex{\csname\HypDest@Prefix#1\endcsname}% + 0x\pdf@escapehex{\csname\HypDest@Prefix#1\endcsname}% }% }% }% @@ -899,6 +906,10 @@ and the derived files % \item % Options \xoption{name} and \xoption{num} added. % \end{Version} +% \begin{Version}{2007/11/11 v2.1} +% \item +% Use of package \xpackage{pdftexcmds} for \LuaTeX\ support. +% \end{Version} % \end{History} % % \PrintIndex -- cgit v1.2.3