From 1e26864ecd918b1155caeb2bc233523134235afd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 16 Jul 2010 23:46:07 +0000 Subject: undolabl 1.0d (15jul10) git-svn-id: svn://tug.org/texlive/trunk@19486 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/undolabl/README | 151 ++++++++++++ Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg | 7 +- .../doc/latex/undolabl/undolabl-example.pdf | Bin 66928 -> 55350 bytes .../doc/latex/undolabl/undolabl-example.tex | 40 +-- Master/texmf-dist/doc/latex/undolabl/undolabl.pdf | Bin 358041 -> 346409 bytes .../texmf-dist/source/latex/undolabl/undolabl.drv | 11 +- .../texmf-dist/source/latex/undolabl/undolabl.dtx | 274 +++++++++++---------- .../texmf-dist/source/latex/undolabl/undolabl.ins | 16 +- Master/texmf-dist/tex/latex/undolabl/undolabl.sty | 41 +-- 9 files changed, 365 insertions(+), 175 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/undolabl/README (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/undolabl/README b/Master/texmf-dist/doc/latex/undolabl/README new file mode 100644 index 00000000000..3d3f163797f --- /dev/null +++ b/Master/texmf-dist/doc/latex/undolabl/README @@ -0,0 +1,151 @@ +README for undolabl package, 2010/07/15, v1.0d + + +TABLE OF CONTENTS +================= + +1 Introduction +2 Download +3 Installation +4 Additional Packages +5 New Features +6 Package Compatibility +7 Authors/Maintainers +8 Bug Reports +9 Known Problems + + +1 INTRODUCTION +============== + +This package allows to override existing labels, +especially automatically generated ones. + +Note: The main code of this package was invented by +Ulrich Diez (eu_angelion@web.de) and first published in the +comp.text.tex newsgroup at Sun, 20 Apr 2008 16:39:26 +0200, with subject: +Re: How to undefine/overwrite a label? (see e.g. +http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326. +While Ulrich Diez neither wanted to create a package himself yet +nor have one published under his name, he granted the +publication of his code. Therefore: Thanks! +I (H.-Martin Münch) submitted this package to CTAN +(after some updates of the documentation, mainly layout, + typos and such things.) + + +2 DOWNLOAD +========== + +'undolabl' is available on CTAN: + CTAN:macros/latex/contrib/undolabl/ + +Also a ZIP file is provided that contains the files, already +sorted in a TDS tree: + CTAN:install/macros/latex/contrib/undolabl.tds.zip + +'CTAN:' means one of the 'Comprehensive TeX Archive Network' +nodes or one of its mirrors. This is explained in + http://www.tex.ac.uk/cgi-bin/texfaq2html?label=archives + +The CTAN stuff will be mirrored automatically from the +ftp server, so + ftp://ftp.tug.org/pub/tex/undolabl/ +corresponds to + CTAN:macros/latex/contrib/undolabl/ + + +3 INSTALLATION +============== + +Installation with ZIP file in TDS format +---------------------------------------- +The ZIP file 'undolabl.tds.zip' contains the files sorted +in a TDS tree. Thus you can directly unpack the ZIP file +inside a TDS tree. +(See CTAN:tds.zip for an explanation of TDS.) +Example: + cd /...somewhere.../texmf + unzip /...downloadpath.../undolabl.tds.zip +Do not forget to refresh the file name database of this +TDS tree. +Example: + texhash /...somewhere.../texmf + +Manual installation +------------------- +a) Download the undolabl files from CTAN or the TUG server. + If necessary, unpack them. +b) If directory 'beta' exists, replace the files by the + counterparts in this directory, if you want to use the + latest versions. +c) Generate the package and driver files: + tex undolabl.ins +d) Install the files '*.sty', and '*.cfg' in your TDS tree: + cp *.sty *.cfg TDS:tex/latex/muench/undolabl/ + Replace 'TDS:' by the prefix of your TDS tree + (texmf directory). +e) Copy the documentation files to + "TDS:doc/latex/muench/undolabl/": + README, undolabl.pdf, undolabl-example.tex, + undolabl-example.pdf. +f) Update the databases if necessary, e. g. for teTeX: + mktexlsr .../texmf + + +4 ADDITIONAL PACKAGES +===================== + +undolabl itself does not load other packages, +but working with labels usually means using +* hyperref.sty: + CTAN:macros/latex/contrib/hyperref/ +which again loads other packages +(see the result of the \listfiles command in the log-file + of the example). + + +5 PACKAGE COMPATIBILITY +======================= + +There are no known incompatibilities (yet). + +6 AUTHOR/MAINTAINER +===================== + +* Author of the original main code: Ulrich Dietz (Thanks!) +* Author of the recent package and maintainer: + Hans-Martin Münch + + +7 BUG REPORTS +============== + +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. +* 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 + 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. +* Please .zip or .tar.gz your file(s) before sending them! + +Bug address +----------- +Bug reports can be send to the maintainer: + Hans-Martin Münch + + + +8 KNOWN PROBLEMS +================= + +* as yet: none... \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg b/Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg index 741f977af09..307228da6b1 100644 --- a/Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg +++ b/Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg @@ -30,8 +30,11 @@ %% (Martin dot Muench at Uni-Bonn dot de). %% %% The main code of this package was invented by Ulrich Diez -%% (eu_angelion@web.de) in 2008 and published on the internet. -%% While Ulrich Diez neither wanted to create a package himself +%% (eu_angelion@web.de) and first published in the comp.text.tex +%% newsgroup at Sun, 20 Apr 2008 16:39:26 +0200, with subject: +%% Re: How to undefine/overwrite a label? (see e.g. +%% http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326). +%% While Ulrich Diez neither wanted to create a package himself yet %% nor have one published under his name, he granted the %% publication of his code. Therefore: Thanks! %% diff --git a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.pdf b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.pdf index 433dfc75411..8794cedfd11 100644 Binary files a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.pdf and b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex index 868ad0d708d..89b41a72cf7 100644 --- a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex +++ b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex @@ -30,8 +30,11 @@ %% (Martin dot Muench at Uni-Bonn dot de). %% %% The main code of this package was invented by Ulrich Diez -%% (eu_angelion@web.de) in 2008 and published on the internet. -%% While Ulrich Diez neither wanted to create a package himself +%% (eu_angelion@web.de) and first published in the comp.text.tex +%% newsgroup at Sun, 20 Apr 2008 16:39:26 +0200, with subject: +%% Re: How to undefine/overwrite a label? (see e.g. +%% http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326). +%% While Ulrich Diez neither wanted to create a package himself yet %% nor have one published under his name, he granted the %% publication of his code. Therefore: Thanks! %% @@ -43,9 +46,9 @@ \documentclass[british]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage{undolabl}[2010/06/24]% v1.0c +\usepackage{undolabl}[2010/07/15]% v1.0d %% There are no options for the undolabl package. %% -\usepackage{hyperref}[2010/06/04]% v6.81f; if you want to use nameref +\usepackage{hyperref}[2010/06/18]% v6.81g; if you want to use nameref \hypersetup{% extension=pdf,% plainpages=false,% @@ -53,20 +56,22 @@ hyperindex=false,% pdflang={en},% pdftitle={undolabl package example},% - pdfauthor={Hans-Martin Muench},% + pdfauthor={Hans-Martin Muench, after Ulrich Dietz},% pdfsubject={Example for the undolabl package},% - pdfkeywords={LaTeX, undolabl, Hans-Martin Muench},% + pdfkeywords={LaTeX, undolabl, Ulrich Dietz, Hans-Martin Muench},% pdfview=FitH,% pdfstartview=FitH,% pdfpagelayout=OneColumn,% bookmarksopen=true% } \makeatletter -%% Code from tcilatex.tex, Macros for Scientific Word and Scientific WorkPlace 5.5 <06 Oct 2005> %% -%% Copyright (C) 2005 Mackichan Software, Inc. %% -%% That macro file is NOT proprietary and may be freely copied and distributed. %% +%% Code from tcilatex.tex, Macros for Scientific Word and %% +%% Scientific WorkPlace 5.5 <06 Oct 2005> %% +%% Copyright (C) 2005 Mackichan Software, Inc. %% +%% That macro file is NOT proprietary and may be freely copied %% +%% and distributed. %% \def\unit#1{\mathord{\thinspace\rm #1}}% -%% End of code from tcilatex.tex %% +%% End of code from tcilatex.tex %% \makeatother \listfiles \begin{document} @@ -74,15 +79,14 @@ \section*{Example for undolabl} This example demonstrates the use of package\newline -\textsf{undolabl}, v1.0c as of 2010/06/24 (HMM).\newline -The used options were \texttt{linktextcolour=black}, -\texttt{backgroundcolour=white}, and \texttt{pdfborder={0 0 1}} -(the default ones).\newline -For more details please see the documentation!\newline - -\noindent Save per page about $200\unit{ml}$ water, -$2\unit{g}$ CO$_{2}$ and $2\unit{g}$ wood:\newline +\textsf{undolabl}, v1.0d as of 2010/07/15 (HMM).\newline +For details please see the documentation!\newline + +\noindent Save per page about $200\unit{ml}$~water, +$2\unit{g}$~CO$_{2}$ and $2\unit{g}$~wood:\newline Therefore please print only if this is really necessary.\newline +I do NOT think, that it is necessary to print THIS file, really\newline +(at least not after this page)! \bigskip diff --git a/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf b/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf index 7df146c8b0d..738d47c062d 100644 Binary files a/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf and b/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf differ diff --git a/Master/texmf-dist/source/latex/undolabl/undolabl.drv b/Master/texmf-dist/source/latex/undolabl/undolabl.drv index ce9f30801db..1e4a05b2b92 100644 --- a/Master/texmf-dist/source/latex/undolabl/undolabl.drv +++ b/Master/texmf-dist/source/latex/undolabl/undolabl.drv @@ -30,8 +30,11 @@ %% (Martin dot Muench at Uni-Bonn dot de). %% %% The main code of this package was invented by Ulrich Diez -%% (eu_angelion@web.de) in 2008 and published on the internet. -%% While Ulrich Diez neither wanted to create a package himself +%% (eu_angelion@web.de) and first published in the comp.text.tex +%% newsgroup at Sun, 20 Apr 2008 16:39:26 +0200, with subject: +%% Re: How to undefine/overwrite a label? (see e.g. +%% http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326). +%% While Ulrich Diez neither wanted to create a package himself yet %% nor have one published under his name, he granted the %% publication of his code. Therefore: Thanks! %% @@ -41,7 +44,7 @@ %% undolabl-example.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{undolabl.drv}[2010/06/24 v1.0c% +\ProvidesFile{undolabl.drv}[2010/07/15 v1.0d% Overriding labels (HMM)]% \documentclass{ltxdoc}[2007/11/11]% v2.0u \usepackage{holtxdoc}[2010/04/18]% v0.19 @@ -52,7 +55,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/06/04 v6.81f) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/18 v6.81g) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 diff --git a/Master/texmf-dist/source/latex/undolabl/undolabl.dtx b/Master/texmf-dist/source/latex/undolabl/undolabl.dtx index a87d1d77bf1..35e2d9f84bc 100644 --- a/Master/texmf-dist/source/latex/undolabl/undolabl.dtx +++ b/Master/texmf-dist/source/latex/undolabl/undolabl.dtx @@ -1,16 +1,19 @@ % \iffalse meta-comment % % undolabl package -% file version: v1.0b -% file date: 2010/06/24 -% documentation date: 2010/06/24 +% file version: v1.0d +% file date: 2010/07/15 +% documentation date: 2010/07/15 % % Copyright (C) 2010 H.-Martin M\"{u}nch (Martin dot Muench at Uni-Bonn dot de) % Portions of code copyrighted by other people as marked. % -% The main code of this package was invented and published -% on the internet by Ulrich Diez (eu_angelion@web.de) in 2008. -% While Ulrich Diez neither wanted to create a package himself +% The main code of this package was invented by +% Ulrich Diez (eu_angelion@web.de) and first published in the +% comp.text.tex newsgroup at Sun, 20 Apr 2008 16:39:26 +0200, with subject: +% Re: How to undefine/overwrite a label? (see e.g. +% http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326. +% While Ulrich Diez neither wanted to create a package himself yet % nor have one published under his name, he granted the % publication of his code. Therefore: Thanks! % @@ -91,7 +94,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: undolabl v1.0c 2010/06/24 LaTeX2e package *} +\Msg{* Package: undolabl v1.0d 2010/07/15 LaTeX2e package *} \Msg{* Overriding labels (HMM) *} \Msg{******************************************************} @@ -125,8 +128,11 @@ The Current Maintainer of this work is H.-Martin Muench (Martin dot Muench at Uni-Bonn dot de). The main code of this package was invented by Ulrich Diez -(eu_angelion@web.de) in 2008 and published on the internet. -While Ulrich Diez neither wanted to create a package himself +(eu_angelion@web.de) and first published in the comp.text.tex +newsgroup at Sun, 20 Apr 2008 16:39:26 +0200, with subject: +Re: How to undefine/overwrite a label? (see e.g. +http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326). +While Ulrich Diez neither wanted to create a package himself yet nor have one published under his name, he granted the publication of his code. Therefore: Thanks! @@ -190,7 +196,7 @@ and the derived files % \begin{macrocode} %<*driver> \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{undolabl.drv}[2010/06/24 v1.0c% +\ProvidesFile{undolabl.drv}[2010/07/15 v1.0d% Overriding labels (HMM)]% \documentclass{ltxdoc}[2007/11/11]% v2.0u \usepackage{holtxdoc}[2010/04/18]% v0.19 @@ -201,7 +207,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/06/04 v6.81f) +%% hyperref, 2010/03/30, v6.80u (latest: 2010/06/18 v6.81g) %% pdftexcmds, 2010/04/01, v0.9 %% ltxcmds, 2010/03/09, v1.4 (latest: 2010/04/26, v1.7) %% hologo, 2010/04/24, v1.2 @@ -360,7 +366,7 @@ and the derived files % \DoNotIndex{\@ne,\tw@,\thr@@} % \DoNotIndex{\newpage,\pagebreak,\newline,\linebreak,\nolinebreak} % \DoNotIndex{\lipsum,\MessageBreak,\pageref,\protect} -% \DoNotIndex{\RecordChanges,\OnlyDescription} +% \DoNotIndex{\RecordChanges,\OnlyDescription,\ProvidesPackage} % \DoNotIndex{\smallskip,\medskip,\bigskip,\space,\thinspace} % \DoNotIndex{\item} % \DoNotIndex{\plainTeX,\TeX,\LaTeX,\pdfLaTeX} @@ -368,11 +374,11 @@ and the derived files % \DoNotIndex{\makeatletter,\makeatother,\footnote,\section} % % \title{The \textsf{undolabl} package\footnote{This file% -% has version number v1.0c, last% -% revised 2010/06/24, documentation dated 2010/06/24.}} +% has version number v1.0d, last% +% revised 2010/07/15, documentation dated 2010/07/15.}} % \author{H.-Martin M\"{u}nch\\ % (\texttt{Martin dot Muench at Uni-Bonn dot de})} -% \date{2010/06/24} +% \date{2010/07/15} % % \maketitle % @@ -381,10 +387,19 @@ and the derived files % especially automatically generated ones. % \end{abstract} % -% \noindent Note: The main code of this package was invented and -% published on the internet by \textbf{Ulrich Diez} -% (\texttt{eu\_angelion@web.de}) in 2008. -% While Ulrich Diez neither wanted to create a package himself +% \noindent \textbf{WARNING}: Since version 1.0d [2010/07/15] the |\undonewlabel| +% command takes only one argument, \texttt{\textbackslash undonewlabel\{<\textit{label name}>\}}, +% instead of two, \texttt{\textbackslash undonewlabel\{<\textit{label name}>\}\{\textbackslash on@line\}}. +% Packages or documents, which used older versions of the \textsf{undolabl} package, must be +% updated by removing the second argument of |\undonewlabel|, i.\,e. the |{\on@line}|.\\ +% +% \noindent Note: The main code of this package was invented by\\ +% \textbf{Ulrich Diez} (\texttt{eu\_angelion@web.de})\\ +% and first published in the \Newsgroup{comp.text.tex} newsgroup at\\ +% \texttt{Sun,~20~Apr~2008~16:39:26~+0200}, with subject:\\ +% \texttt{Re:~How~to~undefine/overwrite~a~label?} (see e.\,g.\\ +% \url{http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326}).\\ +% While Ulrich Diez neither wanted to create a package himself yet % nor have one published under his name, he granted the % publication of his code. Therefore: Thanks! % I submitted this package to CTAN (after some updates of the @@ -404,6 +419,10 @@ and the derived files % $2\unit{g}$ CO$_{2}$ and $2\unit{g}$ wood: % Therefore please print only if this is really necessary. % +% \bigskip +% +% \pagebreak +% % \tableofcontents % % \newpage @@ -492,13 +511,13 @@ and the derived files % \begin{description} % \item[-] First you need to write to the |.aux| file to silently undefine % the associated |\r@