diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-30 23:04:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-30 23:04:18 +0000 |
commit | bc1d8cd685177e278fd22ad398c977521936a915 (patch) | |
tree | 8a4b64f335cd05e76ca16006427c98d58d7f252f /Master/texmf-dist/doc/latex/lastpage | |
parent | 0d7d6ceda5d28a3493013ee490037ce2f44ddcae (diff) |
lastpage (30mar15)
git-svn-id: svn://tug.org/texlive/trunk@36680 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/lastpage')
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/README | 90 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage-example.pdf | bin | 114137 -> 115183 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex | 59 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/lastpage/lastpage.pdf | bin | 430415 -> 430557 bytes |
4 files changed, 85 insertions, 64 deletions
diff --git a/Master/texmf-dist/doc/latex/lastpage/README b/Master/texmf-dist/doc/latex/lastpage/README index ab236ad8588..d04f4136b6a 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, 2013/01/28, v1.2l +README for lastpage package, 2015/03/29, v1.2m TABLE OF CONTENTS @@ -17,8 +17,8 @@ TABLE OF CONTENTS 1 INTRODUCTION ============== -This package puts the label LastPage (\AtEndDocument) into -the .aux file, allowing the user to refer to the last page +This LaTeX package puts the label LastPage (\AtEndDocument) +into the .aux file, allowing the user to refer to the last page of a document. This might be particularly useful in places like headers or footers. - When more than one page numbering scheme is used, or the @@ -27,21 +27,32 @@ 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. -This material is subject to the LaTeX Project Public License -(LPPL). See http://www.ctan.org/license/lppl1.3 -for the details of that license. + +This material is published under the LPPL 1.3c: 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. 2 DOWNLOAD ========== `lastpage' is available on CTAN: - http://www.ctan.org/tex-archive/macros/latex/contrib/lastpage +https://www.ctan.org/pkg/lastpage -Also a ZIP file is provided that contains the files, already -sorted in a TDS tree: - http://mirrors.ctan.org/install/macros/latex/contrib/ - lastpage.tds.zip +Also a ZIP file is provided that contains the files: +the manual (lastpage.pdf), the example (lastpage-example.tex), +the compiled example (lastpage-example.pdf), +driver (lastpage.drv), lastpage.dtx, +installation file (lastpage.ins), +the style files (lastpage.sty, lastpage209.sty), +and this README, already sorted in a TDS tree: +http://mirrors.ctan.org/install/macros/latex/contrib/lastpage.tds.zip 3 INSTALLATION @@ -52,11 +63,11 @@ lastpage at some obsolete place in your system. Installation with ZIP file in TDS format ---------------------------------------- -The ZIP file `lastpage.tds.zip' contains the files sorted -in a TDS tree. Thus you can directly unpack the ZIP file -inside a TDS tree. -(See http://www.ctan.org/TDS-guidelines for an explanation -of TDS.) +The ZIP file `lastpage.tds.zip' contains the files +sorted in a TDS tree. Thus you can directly unpack the +ZIP file inside a TDS tree. +See https://www.ctan.org/TDS-guidelines for an explanation +of TDS. Example: cd /...somewhere.../texmf unzip /...downloadpath.../lastpage.tds.zip @@ -67,20 +78,30 @@ Example: Manual installation ------------------- -a) Download the lastpage files from CTAN or the TUG server. +a) Download the lastpage files from CTAN. If necessary, unpack them. b) Generate the package and driver files: - tex lastpage.ins + tex lastpage.dtx 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 +d) Create the documentation, if necessary, e.g. + pdflatex lastpage.dtx + makeindex -s gind.ist lastpage.idx + pdflatex undolabl.dtx + makeindex -s gind.ist lastpage.idx + pdflatex lastpage.dtx +e) Update the databases if necessary, e.g. for teTeX: + mktexlsr .../texmf +f) Create the lastpage-example.pdf, if necessary, e.g. + pdflatex lastpage-example.tex + pdflatex lastpage-example.tex + pdflatex lastpage-example.tex +g) Copy the documentation files to "TDS:doc/latex/lastpage/": README, lastpage.pdf, lastpage-example.tex, lastpage-example.pdf. -e) Update the databases if necessary, e.g. for teTeX: - mktexlsr .../texmf 4 ADDITIONAL PACKAGES @@ -88,25 +109,24 @@ 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 +the documentation), see "7.1 Downloads" in the manual +http://mirrors.ctan.org/macros/latex/contrib/lastpage/lastpage.pdf 5 PACKAGE COMPATIBILITY ======================= lastpage is not compatible with the very old version 2.0 -(and earlier) of the endfloat package. Newer versions of -endfloat exists (at the time of writing this documentation: -v2.5d as of 2011/12/25), which are available at www.CTAN.org. - +(and earlier) of the endfloat package. The recent version of +endfloat is available at +https://www.ctan.org/pkg/endfloat 6 AUTHORS/MAINTAINER ===================== -* Author of the original main code: Jeffrey P. Goldberg (Thanks!) -* Author of the recent package and maintainer: +* Author of the original main code: + Jeffrey P. Goldberg (Thanks!) +* Author of the recent package and current maintainer: H.-Martin Münch @@ -116,15 +136,15 @@ v2.5d as of 2011/12/25), which are available at www.CTAN.org. 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 information in TeX error messages. +* \errorcontextlines=\maxdimen can be added in the + 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 information is printed at the end - of the LaTeX run. +* If you are using LaTeX, then add "\listfiles". Then + 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 necessary, so send them only on request. 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 8190c7c1af7..62112433023 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 9bf70ad0819..af4be9f42f0 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage-example.tex @@ -9,9 +9,9 @@ %% This is a generated file. %% %% Project: lastpage -%% Version: 2013/01/28 v1.2l +%% Version: 2015/03/29 v1.2m %% -%% Copyright (C) 2010 - 2013 by +%% Copyright (C) 2010 - 2015 by %% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de> %% Portions of code copyrighted by other people as marked. %% @@ -34,26 +34,29 @@ %% %% The Current Maintainer of this work is H.-Martin Muench. %% -%% 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 -%% 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!), +%% 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, +%% https://www.ctan.org/pkg/pageslts +%% . 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.pdf, lastpage.ins, lastpage.drv, -%% lastpage-example.tex. +%% This work consists of the main source file lastpage.dtx, +%% the README, and the derived files +%% lastpage.sty, lastpage.pdf, +%% lastpage.ins, lastpage.drv, +%% lastpage-example.tex, lastpage-example.pdf. %% -\documentclass[british]{article}[2007/10/19]% v1.4h -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% In memoriam +%% Claudia Simone Barth + 1996/01/30 +%% Tommy Muench + 2014/01/02 +%% Hans-Klaus Muench + 2014/08/24 +%% +\documentclass[british]{article}[2014/09/29]% v1.4h \AtEndDocument{\message{^^JLaTeX Info: Executing hook `AtEndDocument'.}} -\usepackage[draft]{showkeys}[2007/08/07]% v3.15 +\usepackage[draft]{showkeys}[2014/10/28]% v3.17 %% Use final instead of draft to hide the keys. %% \usepackage{hyperref}[2012/11/06]% v6.83m \hypersetup{% @@ -70,7 +73,12 @@ pdfstartview=Fit,% pdfpagelayout=SinglePage% } -\usepackage{lastpage}[2013/01/28]% v1.2l +%% If hyperref is not used, the url package +%% https://www.ctan.org/pkg/url +%% must be loaded for the \url used in this example: +%% \usepackage{url} +%% or just use \let\url\texttt for the one used url. +\usepackage{lastpage}[2015/03/29]% v1.2m \makeatletter \renewcommand{\@evenfoot}{% \normalsize\slshape \today\hfil \upshape % @@ -86,7 +94,7 @@ \markboth{Example for lastpage}{Example for lastpage} This example demonstrates the use of package\newline -\textsf{lastpage}, v1.2l as of 2013/01/28 (HMM; JPG).\newline +\textsf{lastpage}, v1.2m as of 2015/03/29 (HMM; JPG).\newline The package takes no options.\newline For more details please see the documentation!\newline @@ -112,21 +120,14 @@ 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 XI (11.0.1): \underline{E}dit $>$ +(In Adobe Reader XI (11.0.10): \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 ambitious in respect to your aims with this package, -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 +you might want to have a look at the \textsf{pageslts} package:\newline +\url{https://www.ctan.org/pkg/pageslts}. \bigskip diff --git a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf Binary files differindex e57445607e4..2f4be291207 100644 --- a/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf +++ b/Master/texmf-dist/doc/latex/lastpage/lastpage.pdf |