From 60a702912cfa942daab4b99b9b8f3d5c262bfa39 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 2 Feb 2011 01:11:30 +0000 Subject: lastpage (1feb11) git-svn-id: svn://tug.org/texlive/trunk@21261 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/lastpage/lastpage.drv | 7 +- .../texmf-dist/source/latex/lastpage/lastpage.dtx | 140 +++++++-------------- .../texmf-dist/source/latex/lastpage/lastpage.ins | 12 +- 3 files changed, 58 insertions(+), 101 deletions(-) (limited to 'Master/texmf-dist/source/latex/lastpage') diff --git a/Master/texmf-dist/source/latex/lastpage/lastpage.drv b/Master/texmf-dist/source/latex/lastpage/lastpage.drv index f86e79a32e4..55e9e93811b 100644 --- a/Master/texmf-dist/source/latex/lastpage/lastpage.drv +++ b/Master/texmf-dist/source/latex/lastpage/lastpage.drv @@ -47,10 +47,10 @@ %% lastpage-example.tex, lastpage.pdf. %% \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{lastpage.drv}[2010/09/24 v1.2f +\ProvidesFile{lastpage.drv}[2011/02/01 v1.2g Refers to last page's name (HMM)]% \documentclass{ltxdoc}[2007/11/11]% v2.0u -\usepackage{holtxdoc}[2010/04/18]% v0.18 +\usepackage{holtxdoc}[2010/04/24]% v0.19 %% lastpage may work with earlier versions of LaTeX2e and those %% class and package, but this was not tested. %% Please consider updating your LaTeX, class, and package @@ -58,7 +58,7 @@ %% recent version). %% Warning: holtxdoc, 2010/04/24 v0.19, requires the packages %% hypdoc, 2010/03/26, v1.9 -%% hyperref, 2010/03/30, v6.80u (latest: 2010/09/13 v6.81n) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/12/16, v6.81z) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 @@ -82,6 +82,7 @@ pdfwindowui=true,% pdfnewwindow=true% } +\usepackage{ulem}[2010/10/03] \setlength\hfuzz{1pt} % Ignore slight overfulls. \CodelineIndex \EnableCrossrefs diff --git a/Master/texmf-dist/source/latex/lastpage/lastpage.dtx b/Master/texmf-dist/source/latex/lastpage/lastpage.dtx index 1c8acec4595..73351297502 100644 --- a/Master/texmf-dist/source/latex/lastpage/lastpage.dtx +++ b/Master/texmf-dist/source/latex/lastpage/lastpage.dtx @@ -1,11 +1,11 @@ % \iffalse meta-comment % % lastpage package -% file version: v1.2f -% file date: 2010/09/24 -% documentation date: 2010/09/24 +% file version: v1.2g +% file date: 2011/02/01 +% documentation date: 2011/02/01 % -% Copyright (C) 2010 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de) +% Copyright (C) 2010, 2011 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de) % Portions of code copyrighted by other people as marked. % % This package was invented by Jeffrey P. Goldberg (jeffrey+news at goldmark dot org). @@ -65,15 +65,6 @@ % use DIN A4 as paper format: % \PassOptionsToClass{a4paper}{article} % -% Programm calls to get the documentation (for example): -% pdflatex lastpage.dtx -% makeindex -s gind.ist lastpage.idx -% % makeindex -s gglo.ist -o lastpage.gls lastpage.glo -% pdflatex lastpage.dtx -% makeindex -s gind.ist lastpage.idx -% % makeindex -s gglo.ist -o lastpage.gls lastpage.glo -% pdflatex lastpage.dtx -% % Installation: % ! First, please make sure that there is no old version of ! % ! lastpage at some obsolete place in your system. ! @@ -97,7 +88,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: lastpage v1.2f 2010/09/24 LaTeX2e package *} +\Msg{* Package: lastpage v1.2g 2011/02/01 LaTeX2e package *} \Msg{* Refers to last page's name (HMM) *} \Msg{******************************************************} @@ -170,14 +161,14 @@ and the derived files \Msg{* lastpage.sty (or lastpage209.sty for TeX 2.09) *} \Msg{* *} \Msg{* To produce the documentation run the file `lastpage.drv' *} -\Msg{* through (pdf)LaTeX, e. g. *} -\Msg{* pdflatex lastpage.dtx *} +\Msg{* through (pdf)LaTeX, e.g. *} +\Msg{* pdflatex lastpage.drv *} \Msg{* makeindex -s gind.ist lastpage.idx *} -\Msg{* pdflatex lastpage.dtx *} +\Msg{* pdflatex lastpage.drv *} \Msg{* makeindex -s gind.ist lastpage.idx *} -\Msg{* pdflatex lastpage.dtx *} +\Msg{* pdflatex lastpage.drv *} \Msg{* *} -\Msg{* At least three runs are necessary e. g. to get the *} +\Msg{* At least three runs are necessary e.g. to get the *} \Msg{* references right! *} \Msg{* *} \Msg{* Happy TeXing! *} @@ -203,10 +194,10 @@ and the derived files % \begin{macrocode} %<*driver> \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{lastpage.drv}[2010/09/24 v1.2f +\ProvidesFile{lastpage.drv}[2011/02/01 v1.2g Refers to last page's name (HMM)]% \documentclass{ltxdoc}[2007/11/11]% v2.0u -\usepackage{holtxdoc}[2010/04/18]% v0.18 +\usepackage{holtxdoc}[2010/04/24]% v0.19 %% lastpage may work with earlier versions of LaTeX2e and those %% class and package, but this was not tested. %% Please consider updating your LaTeX, class, and package @@ -214,7 +205,7 @@ and the derived files %% recent version). %% Warning: holtxdoc, 2010/04/24 v0.19, requires the packages %% hypdoc, 2010/03/26, v1.9 -%% hyperref, 2010/03/30, v6.80u (latest: 2010/09/13 v6.81n) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/12/16, v6.81z) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 @@ -238,6 +229,7 @@ and the derived files pdfwindowui=true,% pdfnewwindow=true% } +\usepackage{ulem}[2010/10/03] \setlength\hfuzz{1pt} % Ignore slight overfulls. \CodelineIndex %\PageIndex % instead of \CodelineIndex to get the page numbers @@ -256,7 +248,7 @@ and the derived files % \begin{macrocode} %<*ltxdoc> \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{ltxdoc.cfg}[2010/07/29 v1.0b configuration file for lastpage (HMM)] +\ProvidesFile{ltxdoc.cfg}[2011/02/01 v1.0c configuration file for lastpage (HMM)] %% Code from original ltxdoc.cfg [2007/01/08 latex-tds: ltxdoc.cls configuration (HO)], %% % copyrighted 2006, 2007 Heiko Oberdiek, part of project `latex-tds'. % That file may be distributed and/or modified under the @@ -373,13 +365,13 @@ and the derived files % \DoNotIndex{\makeatletter,\makeatother,\mathord,\normalsize,\rm,\fancyhdr} % % \title{The \textsf{lastpage} package\footnote{This file% -% has version number v1.2f, last% -% revised 2010/09/24, documentation dated 2010/09/24.}} +% has version number v1.2g, last% +% revised 2011/02/01, documentation dated 2011/02/01.}} % \author{invented by Jeffrey P. Goldberg\\ % (\texttt{jeffrey+news at goldmark dot org})\\ % now maintained by H.-Martin M\"{u}nch\\ % (\texttt{Martin dot Muench at Uni-Bonn dot de})} -% \date{2010/09/24} +% \date{2011/02/01} % % \maketitle % @@ -831,7 +823,7 @@ and the derived files %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[draft]{showkeys}[2007/08/07]% v3.15 %% Use final instead of draft to hide the keys. %% -\usepackage{hyperref}[2010/09/13]% v6.81n +\usepackage{hyperref}[2010/12/16]% v6.81z \hypersetup{% extension=pdf,% plainpages=false,% @@ -847,7 +839,7 @@ and the derived files pdfpagelayout=SinglePage% } %% If you disable hyperref, you must also remove the one \href in this example. -\usepackage{lastpage}[2010/09/24]% v1.2f +\usepackage{lastpage}[2011/02/01]% v1.2g \makeatletter \renewcommand{\@evenfoot}% {\normalsize\slshape \today\hfil \upshape page {\thepage} of \pageref{LastPage}} @@ -862,7 +854,7 @@ and the derived files \markboth{Example for lastpage}{Example for lastpage} This example demonstrates the use of package\newline -\textsf{lastpage}, v1.2f as of 2010/09/24 (HMM; JPG).\newline +\textsf{lastpage}, v1.2g as of 2011/02/01 (HMM; JPG).\newline The package takes no options.\newline For more details please see the documentation!\newline @@ -889,7 +881,7 @@ usage is to the benefit of the trademark owner.\newline \textbf{Tip}: Use \textit{logical page numbers} for the display of the pdf!\newline -(In Adobe Reader 9.3.4: \underline{E}dit $>$ +(In Adobe Reader X (10.0.0): \underline{E}dit $>$ Prefere\underline{n}ces (Ctrl+k) $>$ Page Display $>$ Page Content and Information $>$ Use logical page \nolinebreak{\underline{n}umbers.)}\newline @@ -952,7 +944,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{lastpage}[2010/09/24 v1.2f +\ProvidesPackage{lastpage}[2011/02/01 v1.2g Refers to last page's name (HMM; JPG)]% % \end{macrocode} @@ -1028,7 +1020,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline Therefore the lastpage package is no longer necessary.\MessageBreak% }% \gdef\lastpage@LTS{1}% - \@ifpackagelater{pagesLTS}{2010/09/21}{% 2010/09/22 v1.1k + \@ifpackagelater{pagesLTS}{2011/01/31}{% 2011/02/01 v1.1m }{% \PackageWarning{lastpage}{Outdated version of pagesLTS package found.\MessageBreak% For a recent version, see e.g. at\MessageBreak% @@ -1041,7 +1033,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline }% }% }{% - \PackageInfo{lastpage}{Have a look at the pagesLTS package at\MessageBreak% + \PackageInfo{lastpage}{Please have a look at the pagesLTS package at\MessageBreak% http://www.ctan.org/tex-archive/ \MessageBreak% macros/latex/contrib/pagesLTS/ \MessageBreak% or\MessageBreak% @@ -1323,12 +1315,12 @@ I do NOT think, that it is necessary to print THIS file, really\newline % \begin{description} % \item[-] \TeX Format \LaTeXe, 1994/06/01, v2$\varepsilon $, \CTAN{} % -% \item[-] package \textsf{lastpage}, 2010/09/24, v1.2f,\\ +% \item[-] package \textsf{lastpage}, 2011/02/01, v1.2g,\\ % \CTAN{macros/latex/contrib/lastpage/lastpage.dtx} % \end{description} % and can use % \begin{description} -% \item[-] package \textsf{hyperref}, 2010/09/13, v6.81n,\\ +% \item[-] package \textsf{hyperref}, 2010/12/16,~v6.81z,\\ % \CTAN{macros/latex/contrib/hyperref.zip} % \end{description} % @@ -1338,7 +1330,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline % \begin{description} % \item[-] \TeX Format \LaTeX, v2.09 % -% \item[-] package \textsf{lastpage209}, 2010/09/24, v1.2f, included in \\ +% \item[-] package \textsf{lastpage209}, 2011/02/01, v1.2g, included in \\ % \CTAN{macros/latex/contrib/lastpage/lastpage.dtx}% % \end{description} % and does not work with \textsf{hyperref}, which needs \LaTeX2e.\\ @@ -1347,7 +1339,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline % The |lastpage-example.tex| requires the same file as all % documents using the \textsf{lastpage} package, i.\,e. % \begin{description} -% \item[-] package \textsf{lastpage}, 2010/09/24, v1.2f,\\ +% \item[-] package \textsf{lastpage}, 2011/02/01, v1.2g,\\ % \CTAN{macros/latex/contrib/pagesLTS/pagesLTS.dtx}\\ % (Well, it is the example file for this package, and because you are reading the % documentation for the \textsf{lastpage} package, it can be assumed that you already @@ -1361,7 +1353,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline % \item[-] package \textsf{showkeys}, 2007/08/07, v3.15,\\ % \CTAN{macros/latex/required/tools/showkeys.dtx} % -% \item[-] package \textsf{hyperref}, 2010/09/13, v6.81n,\\ +% \item[-] package \textsf{hyperref}, 2010/12/16, v6.81z,\\ % \CTAN{macros/latex/contrib/hyperref.zip} % \end{description} % @@ -1397,10 +1389,10 @@ I do NOT think, that it is necessary to print THIS file, really\newline % \DescribeMacro{zref} % As possible alternatives in section~\ref{sec:Alternatives}, Alternatives, there are listed % \begin{description} -% \item[-] package \textsf{pagesLTS}, 2009/09/12, v1.1j,\\ +% \item[-] package \textsf{pagesLTS}, 2011/02/01, v1.1m,\\ % \CTAN{macros/latex/contrib/pagesLTS/pagesLTS.dtx} % -% \item[-] package \textsf{papermas}, 2009/06/24, v1.0c; the \textsf{papermas} package +% \item[-] package \textsf{papermas}, 2011/02/01, v1.0e; the \textsf{papermas} package % can be considered as kind of add-on to the \textsf{pagesLTS} package.\\ % \CTAN{macros/latex/contrib/papermas/papermas.dtx} % @@ -1428,7 +1420,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline % \textbf{Warning}: holtxdoc, 2010/04/24 v0.19, requires the packages % \begin{description} % \item[-] hypdoc, 2010/03/26, v1.9 -% \item[-] hyperref, 2010/03/30, v6.80u (latest: 2010/09/13, v6.81n) +% \item[-] hyperref, 2010/03/30, v6.80u (latest: 2010/12/16, v6.81z) % \item[-] pdftexcmds, 2010/04/01, v0.9 % \item[-] ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) % \item[-] hologo, 2010/04/24, v1.2 @@ -1441,52 +1433,8 @@ I do NOT think, that it is necessary to print THIS file, really\newline % and use this, because the packages in there should be both % recent and compatible.)\\ % -% \pagebreak -% % \DescribeMacro{M\"{u}nch} -% Packages of mine (alphabetically ordered):\\ -% \begin{description} -% \item[hrefhide] 2010/07/29, v1.0d, \CTAN{macros/latex/contrib/hrefhide/hrefhide.dtx} and -% \CTAN{install/macros/latex/contrib/hrefhide.tds.zip}\\ -% That package allows to \textquotedblleft hide\textquotedblright\ some (hyperlinked) -% text when printing the document while keeping the layout. -% -% \item[lastpage] 2010/09/24, v1.2f, \CTAN{macros/latex/contrib/lastpage/lastpage.dtx} and -% \CTAN{install/macros/latex/contrib/lastpage.tds.zip}\\ -% The package described in this very documentation:\\ -% This package allows to refer to the (maybe not so) last page. -% \textit{The package was originally invented by Jeffrey P. Goldberg.} -% The \textsf{pagesLTS} package is much more mighty, but needs more resources -% (e.\,g.~new counters). -% -% \item[pagesLTS] 2010/09/22, v1.1k, \CTAN{macros/latex/contrib/pagesLTS/pagesLTS.dtx} and -% \CTAN{install/macros/latex/contrib/pagesLTS.tds.zip}\\ -% That package allows to refer to the (very) last page, gives the total number of -% pages, references to special pages, facilitates the use of nearly any pagenumbering -% you like (e.\,g. negative |Roman| numbers or more than |Z| pages with |Alph| page numbering), -% and works even with |fnsymbol| page numbers. -% -% \item[papermas] 2010/07/29, v1.0d, \CTAN{macros/latex/contrib/papermas/papermas.dtx} and -% \CTAN{install/macros/latex/contrib/papermas.tds.zip}\\ -% That package allows to compute the number of sheets of paper needed to -% print a document as well as the mass of that printed version of the document. -% Further that package allows to compute \textquotedblleft base to the power of -% exponent\textquotedblright\ inside \LaTeX. -% -% \item[undolabl] 2010/09/12, v1.0g, \CTAN{macros/latex/contrib/undolabl/undolabl.dtx} and -% \CTAN{install/macros/latex/contrib/undolabl.tds.zip}\\ -% That package allows to override existing labels, especially automatically generated ones. -% \textit{The main code of that package was invented by }\\ -% \textbf{Ulrich Diez} (\texttt{eu\_angelion@web.de})\textit{\ and first published in the }\\ -% \Newsgroup{comp.text.tex} \textit{\ newsgroup at } -% \texttt{Sun,~20~Apr~2008~16:39:26~+0200}\textit{, with subject:} -% \texttt{Re:~How~to~undefine/overwrite~a~label?}\textit{\ (see e.\,g.\ } -% \url{http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326?dmode=source} -% \textit{\ as well as\ } -% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}\textit{).}\\ -% \end{description} -% -% \pagebreak +% A list of my packages can be found at \url{http://www.Uni-Bonn.de/~uzs5pv/LaTeX.html}.\\ % % \subsection{Package, unpacking TDS} % @@ -1609,8 +1557,6 @@ I do NOT think, that it is necessary to print THIS file, really\newline % TDS installing feature, then some files can already be in the right % place, see the documentation of \docstrip. % -% \pagebreak -% % \subsection{Refresh file name databases} % % If your \TeX~distribution (\teTeX, \mikTeX,\dots) relies on file name @@ -1677,8 +1623,6 @@ I do NOT think, that it is necessary to print THIS file, really\newline % newsgroups for their help in all things \TeX. Thanks for bug reports go % to Ulrike Fischer, Sebastian Bank, and James Hedges. % -% \pagebreak -% % \phantomsection % \begin{History}\label{History} % \begin{Version}{1994/06/17 v0.99a} @@ -1753,7 +1697,8 @@ I do NOT think, that it is necessary to print THIS file, really\newline % \item Changed the |\unit| definition (got rid of an old |\rm|). % \item Changed |\lastpage@puthyperlabel| to |\lastpage@putlabelhyper| analogous to % |\pagesLTS@putlabelhyper| of the \textsf{pagesLTS} package. -% \item The recent version of the Adobe Reader is 9.3.3 (instead of 9.3.1). +% \item The recent version of the Adobe Reader\sout{\ is}\uwave{\ was} 9.3.3 +% (instead of 9.3.1). % \item Updated version number and date of \textsf{pagesLTS} package (especially % for the check for outdated versions). % \item Removed wrong \% from the driver file. @@ -1767,7 +1712,8 @@ I do NOT think, that it is necessary to print THIS file, really\newline % \item James Hedges (Thanks!) pointed out, that there was no instruction % in the documentation about suppressing hyperlinks: added (also % to the example). -% \item The recent version of the Adobe Reader is 9.3.4. +% \item The recent version of the Adobe Reader \sout{\ is}\uwave{\ was} 9.3.4 +% (instead of 9.3.3). % \item Diverse small changes. % \end{Version} % \begin{Version}{2010/09/24 v1.2f} @@ -1779,6 +1725,16 @@ I do NOT think, that it is necessary to print THIS file, really\newline % (Please make sure that any old versions of the \textsf{lastpage} package % are porperly uninstalled from your system.) % \end{Version} +% \begin{Version}{2011/02/01 v1.2g} +% \item Updated to version 2010/04/24 v0.19 of the \textsf{holtxdoc} package. +% \item New version of \textsf{pagesLTS} package, 2011/02/01, v1.1m. +% \item Replaced the list of my packages with a link to a web page list of those, +% which has the advantage of showing the recent versions of all those packages. +% \item Updated to version 2010/12/16 v6.81z of the \textsf{hyperref} package. +% \item The recent version of the Adobe Reader is X (10.0.0) (instead of 9.3.4). +% Its handling of special page numbers was improved. +% \item Minor details. +% \end{Version} % \end{History} % % % \PrintChanges diff --git a/Master/texmf-dist/source/latex/lastpage/lastpage.ins b/Master/texmf-dist/source/latex/lastpage/lastpage.ins index 37908e8e5f6..4516e87a795 100644 --- a/Master/texmf-dist/source/latex/lastpage/lastpage.ins +++ b/Master/texmf-dist/source/latex/lastpage/lastpage.ins @@ -51,7 +51,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: lastpage v1.2f 2010/09/24 LaTeX2e package *} +\Msg{* Package: lastpage v1.2g 2011/02/01 LaTeX2e package *} \Msg{* Refers to last page's name (HMM) *} \Msg{******************************************************} @@ -124,14 +124,14 @@ and the derived files \Msg{* lastpage.sty (or lastpage209.sty for TeX 2.09) *} \Msg{* *} \Msg{* To produce the documentation run the file `lastpage.drv' *} -\Msg{* through (pdf)LaTeX, e. g. *} -\Msg{* pdflatex lastpage.dtx *} +\Msg{* through (pdf)LaTeX, e.g. *} +\Msg{* pdflatex lastpage.drv *} \Msg{* makeindex -s gind.ist lastpage.idx *} -\Msg{* pdflatex lastpage.dtx *} +\Msg{* pdflatex lastpage.drv *} \Msg{* makeindex -s gind.ist lastpage.idx *} -\Msg{* pdflatex lastpage.dtx *} +\Msg{* pdflatex lastpage.drv *} \Msg{* *} -\Msg{* At least three runs are necessary e. g. to get the *} +\Msg{* At least three runs are necessary e.g. to get the *} \Msg{* references right! *} \Msg{* *} \Msg{* Happy TeXing! *} -- cgit v1.2.3