diff options
author | Karl Berry <karl@freefriends.org> | 2011-08-13 22:17:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-08-13 22:17:19 +0000 |
commit | ce4bd6f3eabb2198671dda93907e2837d14eeb4e (patch) | |
tree | 9ae396404acefd617482cf24a6985ab85862f3e8 /Master/texmf-dist/doc/latex | |
parent | b52862a79834e22dae3b98989ada2ed6140d0bee (diff) |
lastpage (12aug11)
git-svn-id: svn://tug.org/texlive/trunk@23536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/README | 42 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf | bin | 120822 -> 113461 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex | 65 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage.pdf | bin | 394945 -> 417108 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/ltxdoc.cfg | 112 |
5 files changed, 61 insertions, 158 deletions
diff --git a/Master/texmf-dist/doc/latex/lastpage/README b/Master/texmf-dist/doc/latex/lastpage/README index 010ab85de94..586a420d2c8 100644 --- a/Master/texmf-dist/doc/latex/lastpage/README +++ b/Master/texmf-dist/doc/latex/lastpage/README @@ -1,4 +1,4 @@ -README for lastpage package, 2011/02/01, v1.2g +README for lastpage package, 2011/08/08, v1.2i TABLE OF CONTENTS @@ -8,11 +8,10 @@ TABLE OF CONTENTS 2 Download 3 Installation 4 Additional Packages -5 New Features -6 Package Compatibility -7 Authors/Maintainers -8 Bug Reports -9 Known Problems +5 Package Compatibility +6 Authors/Maintainer +7 Bug Reports +8 Known Problems 1 INTRODUCTION @@ -27,7 +26,10 @@ fnsymbol page numbering scheme is used, or another package has output after this package, or the number of pages instead of the last page's name is needed, or the page numbers exeed a certain range, there might be problems, -which can be solved by using the pagesLTS package instead. +which can be solved by using the pageslts package instead. +This material is subject to the LaTeX Project Public License +(LPPL). See http://www.ctan.org/tex-archive/help/Catalogue/ +licenses.lppl.html for the details of that license. 2 DOWNLOAD @@ -46,9 +48,9 @@ nodes or one of its mirrors. This is explained in The CTAN stuff will be mirrored automatically from the ftp server, so - ftp://ftp.tug.org/pub/tex/pagesLTS/ + ftp://ftp.tug.org/pub/tex/lastpage/ corresponds to - CTAN:macros/latex/contrib/pagesLTS/ + CTAN:macros/latex/contrib/lastpage/ 3 INSTALLATION @@ -77,8 +79,8 @@ a) Download the lastpage files from CTAN or the TUG server. If necessary, unpack them. b) Generate the package and driver files: tex lastpage.ins -c) Install the files `*.sty', and `*.cfg' in your TDS tree: - cp *.sty *.cfg TDS:tex/latex/muench/lastpage/ +c) Install the file `*.sty' in your TDS tree: + cp *.sty TDS:tex/latex/lastpage/ Replace `TDS:' by the prefix of your TDS tree (texmf directory). d) Copy the documentation files to @@ -95,8 +97,8 @@ e) Update the databases if necessary, e.g. for teTeX: The lastpage package does not depend on other packages, but the lastpage.dtx does (for unpacking and constructing the documentation), see "7.1 Downloads" in the manual, -ftp://ftp.ctan.org/ -tex-archive/macros/latex/contrib/lastpage/lastpage.pdf +ftp://ftp.ctan.org/tex-archive/ +macros/latex/contrib/lastpage/lastpage.pdf 5 PACKAGE COMPATIBILITY @@ -108,10 +110,12 @@ endfloat exists (at the time of writing this documentation: v2.4i as of 1995/10/11), which are available at CTAN. -6 AUTHOR/MAINTAINER +6 AUTHORS/MAINTAINER ===================== -* Hans-Martin Münch +* Author of the original main code: Jeffrey P. Goldberg (Thanks!) +* Author of the recent package and maintainer: + H.-Martin Münch 7 BUG REPORTS @@ -121,13 +125,13 @@ A bug report should contain: * Comprehensive problem description. This includes error or warning messages. * \errorcontextlines=\maxdimen can be added in the - TeX code to get more informations in TeX error messages. + TeX code to get more information in TeX error messages. * Minimal test file that shows the problem, but does not contain any unnecessary packages and code. * Used drivers/programs. * Version information about used packages and programs. * If you are using LaTeX, then add "\listfiles". Then - a list of version informations is printed at the end + a list of version information is printed at the end of the LaTeX run. * Please no other files than the minimal test file. The other files .log, .dvi, .ps, .pdf are seldom @@ -137,11 +141,11 @@ A bug report should contain: Bug address ----------- Bug reports can be send to the maintainer: - Hans-Martin Münch + H.-Martin Münch <Martin [dot] Muench [at] Uni-Bonn [dot] de> 8 KNOWN PROBLEMS ================= -* Really a lot, see chapter 3 of the documentation!
\ No newline at end of file +Really a lot, see chapter 3 of the documentation!
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf Binary files differindex 50055e91fb4..db2e7451dd0 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex index 4208f7177b0..2f964251824 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex @@ -8,8 +8,14 @@ %% %% This is a generated file. %% -%% IMPORTANT NOTICE: -%% The usual disclaimers apply: +%% Project: lastpage +%% Version: 2011/08/08 v1.2i +%% +%% Copyright (C) 2010, 2011 by +%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de> +%% Portions of code copyrighted by other people as marked. +%% +%% The usual disclaimer applys: %% If it doesn't work right that's your problem. %% (Nevertheless, send an e-mail to the maintainer %% when you find an error in this package.) @@ -26,16 +32,14 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainer of this work is H.-Martin Muench -%% (Martin dot Muench at Uni-Bonn dot de). +%% The Current Maintainer of this work is H.-Martin Muench. %% -%% This package was invented by Jeffrey P. Goldberg -%% (jeffrey+news at goldmark dot org). +%% This package was invented by Jeffrey P. Goldberg. %% I thought that a replacement was needed and therefore created the -%% pagesLTS package, -%% http://www.ctan.org/tex-archive/macros/latex/contrib/pagesLTS/pagesLTS.dtx +%% pageslts package, +%% http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/pageslts.dtx %% or -%% http://www.ctan.org/tex-archive/install/macros/latex/contrib/pagesLTS.tds.zip +%% http://www.ctan.org/tex-archive/install/macros/latex/contrib/pageslts.tds.zip %% . Nevertheless, for compatibility with existing documents/packages as well as %% for the low amount of resources needed by the lastpage package (no new counter!), %% I updated this package. @@ -43,14 +47,15 @@ %% %% This work consists of the main source file lastpage.dtx %% and the derived files -%% lastpage.sty, lastpage.ins, lastpage.drv, -%% lastpage-example.tex, lastpage.pdf. +%% lastpage.sty, lastpage.pdf, lastpage.ins, lastpage.drv, +%% lastpage-example.tex. %% \documentclass[british]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\AtEndDocument{\message{^^JLaTeX Info: Executing hook `AtEndDocument'.}} \usepackage[draft]{showkeys}[2007/08/07]% v3.15 %% Use final instead of draft to hide the keys. %% -\usepackage{hyperref}[2010/12/16]% v6.81z +\usepackage{hyperref}[2011/04/17]% v6.82g \hypersetup{% extension=pdf,% plainpages=false,% @@ -65,14 +70,14 @@ pdfstartview=Fit,% pdfpagelayout=SinglePage% } -%% If you disable hyperref, you must also remove the one \href in this example. -\usepackage{lastpage}[2011/02/01]% v1.2g +\usepackage{lastpage}[2011/08/08]% v1.2i \makeatletter -\renewcommand{\@evenfoot}% - {\normalsize\slshape \today\hfil \upshape page {\thepage} of \pageref{LastPage}} +\renewcommand{\@evenfoot}{% + \normalsize\slshape \today\hfil \upshape page \thepage% + \ of \pageref{LastPage}} \renewcommand{\@oddfoot}{\@evenfoot} -\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \makeatother +\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \listfiles \begin{document} \pagenumbering{Roman} @@ -81,7 +86,7 @@ \markboth{Example for lastpage}{Example for lastpage} This example demonstrates the use of package\newline -\textsf{lastpage}, v1.2g as of 2011/02/01 (HMM; JPG).\newline +\textsf{lastpage}, v1.2i as of 2011/08/08 (HMM; JPG).\newline The package takes no options.\newline For more details please see the documentation!\newline @@ -95,7 +100,7 @@ the references are also hyperlinked:\newline \smallskip Last page's name (LastPage): \pageref{LastPage}\newline \noindent If the \textsf{hyperref} package is loaded, but the hyperlinks -of the references shall be suppressed, \texttt{\textbackslash pageref*\{...\}} +of the references shall be suppressed, \verb|\pageref*{...}| can be used:\newline \smallskip Last page's name (LastPage): \pageref*{LastPage}\newline @@ -107,15 +112,21 @@ 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 X (10.0.0): \underline{E}dit $>$ +(In Adobe Reader X (10.1.0): \underline{E}dit $>$ Prefere\underline{n}ces (Ctrl+k) $>$ Page Display $>$ Page Content and Information $>$ Use logical page \nolinebreak{\underline{n}umbers.)}\newline If you are more ambitiouse in respect to your aims with this package, -you might want to have a look at the \textsf{pagesLTS} package\newline -(\href{http://www.ctan.org/tex-archive/macros/latex/contrib/pagesLTS/}{% -CTAN:/macros/latex/contrib/pagesLTS/}). +you might want to have a look at the \textsf{pageslts} package\newline +\makeatletter + \@ifundefined{Hy@Warning}{% hyperref not loaded + \verb|http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/|). + }{% hyperref loaded + \href{http://www.ctan.org/tex-archive/macros/latex/contrib/pageslts/}{% + CTAN:/macros/latex/contrib/pageslts/}). + }% +\makeatother \bigskip @@ -127,19 +138,19 @@ I do NOT think, that it is necessary to print THIS file, really\newline \bigskip -\noindent The page (\texttt{\textbackslash thepage}): \thepage \newline +\noindent The page (\verb|\thepage|): \thepage \newline \noindent Last page's name (LastPage): \pageref{LastPage} \newpage -\noindent The page (\texttt{\textbackslash thepage}): \thepage \newline +\noindent The page (\verb|\thepage|): \thepage \newline \noindent Last page's name (LastPage): \pageref{LastPage} \newpage -\noindent The page (\texttt{\textbackslash thepage}): \thepage \newline +\noindent The page (\verb|\thepage|): \thepage \newline \noindent Last page's name (LastPage): \pageref{LastPage} @@ -147,7 +158,7 @@ I do NOT think, that it is necessary to print THIS file, really\newline \section*{The End} -\noindent The page (\texttt{\textbackslash thepage}): \thepage \newline +\noindent The page (\verb|\thepage|): \thepage \newline \noindent Last page's name (LastPage): \pageref{LastPage} \end{document} diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf Binary files differindex f954806f0b2..60d8bf09beb 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf diff --git a/Master/texmf-dist/doc/latex/lastpage/ltxdoc.cfg b/Master/texmf-dist/doc/latex/lastpage/ltxdoc.cfg deleted file mode 100644 index 18556e268de..00000000000 --- a/Master/texmf-dist/doc/latex/lastpage/ltxdoc.cfg +++ /dev/null @@ -1,112 +0,0 @@ -%% -%% This is file `ltxdoc.cfg', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% lastpage.dtx (with options: `ltxdoc') -%% -%% This is a generated file. -%% -%% IMPORTANT NOTICE: -%% The usual disclaimers apply: -%% If it doesn't work right that's your problem. -%% (Nevertheless, send an e-mail to the maintainer -%% when you find an error in this package.) -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either -%% version 1.3c of this license or (at your option) any later -%% version. This version of this license is in -%% http://www.latex-project.org/lppl/lppl-1-3c.txt -%% and the latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of -%% LaTeX version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status "maintained". -%% -%% The Current Maintainer of this work is H.-Martin Muench -%% (Martin dot Muench at Uni-Bonn dot de). -%% -%% This package was invented by Jeffrey P. Goldberg -%% (jeffrey+news at goldmark dot org). -%% I thought that a replacement was needed and therefore created the -%% pagesLTS package, -%% http://www.ctan.org/tex-archive/macros/latex/contrib/pagesLTS/pagesLTS.dtx -%% or -%% http://www.ctan.org/tex-archive/install/macros/latex/contrib/pagesLTS.tds.zip -%% . Nevertheless, for compatibility with existing documents/packages as well as -%% for the low amount of resources needed by the lastpage package (no new counter!), -%% I updated this package. -%% Thanks go to Jeffrey P. Goldberg for allowing me to do this. -%% -%% This work consists of the main source file lastpage.dtx -%% and the derived files -%% lastpage.sty, lastpage.ins, lastpage.drv, -%% lastpage-example.tex, lastpage.pdf. -%% -\NeedsTeXFormat{LaTeX2e}[1994/06/01] -\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 - % conditions of the LaTeX Project Public License, either version 1.3 - % of this license or (at your option) any later version. - % The latest version of this license is in - % http://www.latex-project.org/lppl.txt - % and version 1.3c or later is part of all distributions of LaTeX - % version 2005/12/01 or later. - % That work has the LPPL maintenance status `maintained'. - % The Current Maintainer of that work is Heiko Oberdiek. - \PassOptionsToClass{a4paper}{article} - \AtEndOfClass{% - \RequirePackage[numbered]{hypdoc}[2010/03/26]% v1.9 - \pdfstringdefDisableCommands{% - \let\env\relax % longtable.dtx - \let\mytt\relax % tabularx.dtx - }% - \addtolength{\topmargin}{-10mm}% - \addtolength{\textheight}{20mm}% - % Depending on the page style, the head or foot area - % are put into the text area. - % Usually the page style is the default "plain". - % tools/verbatim.dtx uses "myheadings". - \def\string@plain{plain}% - \def\string@myheadings{myheadings}% - \def\current@pagestyle{plain}% - \let\ltxdoc@cfg@pagestyle\pagestyle - \def\pagestyle#1{% - \def\current@pagestyle{#1}% - \ltxdoc@cfg@pagestyle{#1}% - }% - \edef\ltxdoc@cfg@jobname{\jobname}% - \def\ltxdoc@cfg@longtable{longtable}% - \@onelevel@sanitize\ltxdoc@cfg@longtable - \ifx\ltxdoc@cfg@jobname\ltxdoc@cfg@longtable - \def\current@pagestyle{both}% - \fi - \let\ltxdoc@cfg@document\document - \def\document{% - \ifx\current@pagestyle\string@plain - \addtolength{\textheight}{\headheight}% - \addtolength{\textheight}{\headsep}% - \setlength{\headheight}{0pt}% - \setlength{\headsep}{0pt}% - \global\textheight\textheight - \global\headheight\headheight - \global\headsep\headsep - \fi - \ifx\current@pagestyle\string@myheadings - \addtolength{\textheight}{\footskip}% - \global\textheight\textheight - \fi - \ltxdoc@cfg@document - }% - %% End of code from original ltxdoc.cfg [2007/01/08 latex-tds: ltxdoc.cls configuration (HO)] %% - %% Place additional code here. %% - } - -\endinput -%% -%% End of file `ltxdoc.cfg'. |