%% %% 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}[2010/07/29 v1.0b 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'.