diff options
author | Karl Berry <karl@freefriends.org> | 2010-10-10 17:28:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-10-10 17:28:56 +0000 |
commit | a9869fad76cd5f0183a802e42782959f7f72b9da (patch) | |
tree | 129bd8c38fa7d1cea1f928ca8021122ec8e77164 | |
parent | c29c90e7cfe748ba7c9263e47199a0b213e8071a (diff) |
undolabl update (29jul10)
git-svn-id: svn://tug.org/texlive/trunk@20043 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/undolabl/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/undolabl/undolabl-example.pdf | bin | 55350 -> 55173 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/undolabl/undolabl.pdf | bin | 346409 -> 372667 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/undolabl/undolabl.drv | 12 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/undolabl/undolabl.dtx | 259 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/undolabl/undolabl.ins | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/undolabl/undolabl.sty | 25 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 2 |
10 files changed, 169 insertions, 159 deletions
diff --git a/Master/texmf-dist/doc/latex/undolabl/README b/Master/texmf-dist/doc/latex/undolabl/README index 3d3f163797f..3a5808a318b 100644 --- a/Master/texmf-dist/doc/latex/undolabl/README +++ b/Master/texmf-dist/doc/latex/undolabl/README @@ -1,4 +1,4 @@ -README for undolabl package, 2010/07/15, v1.0d +README for undolabl package, 2010/09/12, v1.0g TABLE OF CONTENTS @@ -25,7 +25,7 @@ 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. +http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). 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/ltxdoc.cfg b/Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg index 307228da6b1..5728949afcb 100644 --- a/Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg +++ b/Master/texmf-dist/doc/latex/undolabl/ltxdoc.cfg @@ -33,7 +33,7 @@ %% (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). +%% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). %% 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 Binary files differindex 8794cedfd11..f06d6950bc2 100644 --- a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.pdf +++ b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.pdf diff --git a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex index 89b41a72cf7..756129fe069 100644 --- a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex +++ b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex @@ -33,7 +33,7 @@ %% (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). +%% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). %% 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! @@ -46,9 +46,9 @@ \documentclass[british]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage{undolabl}[2010/07/15]% v1.0d +\usepackage{undolabl}[2010/09/12]% v1.0g %% There are no options for the undolabl package. %% -\usepackage{hyperref}[2010/06/18]% v6.81g; if you want to use nameref +\usepackage{hyperref}[2010/06/18]% v6.81g; when you want to use nameref \hypersetup{% extension=pdf,% plainpages=false,% @@ -64,22 +64,14 @@ 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. %% - \def\unit#1{\mathord{\thinspace\rm #1}}% -%% End of code from tcilatex.tex %% -\makeatother +\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \listfiles \begin{document} \pagenumbering{arabic} \section*{Example for undolabl} This example demonstrates the use of package\newline -\textsf{undolabl}, v1.0d as of 2010/07/15 (HMM).\newline +\textsf{undolabl}, v1.0g as of 2010/09/12 (HMM).\newline For details please see the documentation!\newline \noindent Save per page about $200\unit{ml}$~water, diff --git a/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf b/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf Binary files differindex 738d47c062d..eb24898a503 100644 --- a/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf +++ b/Master/texmf-dist/doc/latex/undolabl/undolabl.pdf diff --git a/Master/texmf-dist/source/latex/undolabl/undolabl.drv b/Master/texmf-dist/source/latex/undolabl/undolabl.drv index 1e4a05b2b92..9381d5569db 100644 --- a/Master/texmf-dist/source/latex/undolabl/undolabl.drv +++ b/Master/texmf-dist/source/latex/undolabl/undolabl.drv @@ -33,7 +33,7 @@ %% (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). +%% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). %% 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! @@ -44,7 +44,7 @@ %% undolabl-example.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{undolabl.drv}[2010/07/15 v1.0d% +\ProvidesFile{undolabl.drv}[2010/09/12 v1.0g Overriding labels (HMM)]% \documentclass{ltxdoc}[2007/11/11]% v2.0u \usepackage{holtxdoc}[2010/04/18]% v0.19 @@ -83,13 +83,7 @@ \CodelineIndex \EnableCrossrefs \hyphenation{docu-ment} -\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. %% - \def\unit#1{\mathord{\thinspace\rm #1}}% -%% End of code from tcilatex.tex %% -\makeatother +\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \begin{document} \DocInput{undolabl.dtx}% \end{document} diff --git a/Master/texmf-dist/source/latex/undolabl/undolabl.dtx b/Master/texmf-dist/source/latex/undolabl/undolabl.dtx index 35e2d9f84bc..b4595806fda 100644 --- a/Master/texmf-dist/source/latex/undolabl/undolabl.dtx +++ b/Master/texmf-dist/source/latex/undolabl/undolabl.dtx @@ -1,9 +1,9 @@ % \iffalse meta-comment % % undolabl package -% file version: v1.0d -% file date: 2010/07/15 -% documentation date: 2010/07/15 +% file version: v1.0g +% file date: 2010/09/12 +% documentation date: 2010/09/12 % % 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. @@ -12,7 +12,7 @@ % 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. +% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). % 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! @@ -94,7 +94,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: undolabl v1.0d 2010/07/15 LaTeX2e package *} +\Msg{* Package: undolabl v1.0g 2010/09/12 LaTeX2e package *} \Msg{* Overriding labels (HMM) *} \Msg{******************************************************} @@ -131,7 +131,7 @@ 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). +http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). 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! @@ -196,7 +196,7 @@ and the derived files % \begin{macrocode} %<*driver> \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesFile{undolabl.drv}[2010/07/15 v1.0d% +\ProvidesFile{undolabl.drv}[2010/09/12 v1.0g Overriding labels (HMM)]% \documentclass{ltxdoc}[2007/11/11]% v2.0u \usepackage{holtxdoc}[2010/04/18]% v0.19 @@ -239,13 +239,7 @@ and the derived files %\RecordChanges % Gather update information. %\OnlyDescription % Comment out for implementation details. \hyphenation{docu-ment} -\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. %% - \def\unit#1{\mathord{\thinspace\rm #1}}% -%% End of code from tcilatex.tex %% -\makeatother +\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \begin{document} \DocInput{undolabl.dtx}% \end{document} @@ -321,7 +315,7 @@ and the derived files % % \fi % -% \CheckSum{0} +% \CheckSum{79} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -374,11 +368,11 @@ and the derived files % \DoNotIndex{\makeatletter,\makeatother,\footnote,\section} % % \title{The \textsf{undolabl} package\footnote{This file% -% has version number v1.0d, last% -% revised 2010/07/15, documentation dated 2010/07/15.}} +% has version number v1.0g, last% +% revised 2010/09/12, documentation dated 2010/09/12.}} % \author{H.-Martin M\"{u}nch\\ % (\texttt{Martin dot Muench at Uni-Bonn dot de})} -% \date{2010/07/15} +% \date{2010/09/12} % % \maketitle % @@ -388,8 +382,10 @@ and the derived files % \end{abstract} % % \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\}}. +% 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}|.\\ % @@ -397,13 +393,14 @@ and the derived files % \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}).\\ +% \texttt{Re:~How~to~undefine/overwrite~a~label?} (see e.\,g. +% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}).\\ % 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 -% documentation, mainly layout, typos and such things.) +% documentation, mainly layout, typos and such things) +% and try to maintain it. % % \bigskip % @@ -565,11 +562,11 @@ and the derived files % of the \LaTeX -run, |\@newl@bel| \underline{is} let equal to |\@testdef|. Thus % it is sufficient to write into the beginning of the |.aux| file a direction which % leads to letting |\@newl@bel| equal to -% \nolinebreak{\textbackslash |my@testdef|} in case its +% \nolinebreak{\textbackslash |undolabl@testdef|} in case its % definition equals |\@testdef|. That direction is called % \nolinebreak{\textquotedblleft \textbackslash |reset@newl@bel|\textquotedblright .} % Also, when the |.aux| file is read at the end of the \LaTeX -run, -% \nolinebreak{\textbackslash |undonwelabel|}-entries therein should +% \nolinebreak{\textbackslash |undonewlabel|}-entries therein should % do nothing, thus % \nolinebreak{\textbackslash |undonewlabel|} is let equal to |\@gobble|. % @@ -594,9 +591,9 @@ and the derived files %<*example> \documentclass[british]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage{undolabl}[2010/07/15]% v1.0d +\usepackage{undolabl}[2010/09/12]% v1.0g %% There are no options for the undolabl package. %% -\usepackage{hyperref}[2010/06/18]% v6.81g; if you want to use nameref +\usepackage{hyperref}[2010/06/18]% v6.81g; when you want to use nameref \hypersetup{% extension=pdf,% plainpages=false,% @@ -612,22 +609,14 @@ and the derived files 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. %% - \def\unit#1{\mathord{\thinspace\rm #1}}% -%% End of code from tcilatex.tex %% -\makeatother +\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}% \listfiles \begin{document} \pagenumbering{arabic} \section*{Example for undolabl} This example demonstrates the use of package\newline -\textsf{undolabl}, v1.0d as of 2010/07/15 (HMM).\newline +\textsf{undolabl}, v1.0g as of 2010/09/12 (HMM).\newline For details please see the documentation!\newline \noindent Save per page about $200\unit{ml}$~water, @@ -678,6 +667,9 @@ name-reference: \nameref{testlabel}%% -> Still another test % % \bigskip % +% \StopEventually{ +% } +% % \section{The implementation} % % For a somewhat longer description see section~\ref{sec:Introduction}.\\ @@ -691,7 +683,7 @@ name-reference: \nameref{testlabel}%% -> Still another test % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{undolabl}[2010/07/15 v1.0d +\ProvidesPackage{undolabl}[2010/09/12 v1.0g Overriding labels (HMM)] % \end{macrocode} @@ -726,7 +718,7 @@ name-reference: \nameref{testlabel}%% -> Still another test % \DescribeMacro{\undonewlabel} % % \begin{macrocode} -\newcommand\undonewlabel{\@und@newl@bel r}% +\newcommand\undonewlabel{\@und@newl@bel r} % \end{macrocode} % @@ -737,7 +729,7 @@ name-reference: \nameref{testlabel}%% -> Still another test % \begin{macrocode} \newcommand\@und@newl@bel[2]{% \@ifundefined{#1@#2}{% - \PackageError{undolabl}{Label `#2' shall be overridden ^^J + \PackageError{undolabl}{Label `#2' shall be overridden ^^J% although it does not yet exist}{% A label which does not exist cannot be overridden.}% }{% @@ -750,7 +742,7 @@ name-reference: \nameref{testlabel}%% -> Still another test \expandafter\global \expandafter\let \csname #1@#2\endcsname\relax - }% + }% } % \end{macrocode} @@ -764,7 +756,7 @@ name-reference: \nameref{testlabel}%% -> Still another test \@ifundefined{#1@#2}{\global\@namedef{#1@#2}{i}}{% \expandafter\g@addto@macro\csname #1@#2\endcsname{i}% }% - \PackageWarning{undolabl}{Label `#2' overridden} + \PackageWarning{undolabl}{Label `#2' overridden}% } % \end{macrocode} @@ -784,18 +776,16 @@ name-reference: \nameref{testlabel}%% -> Still another test }% \expandafter\@gobble \fi - }% - {% - \@testdef{#1}{#2}{#3}% - }% - }% + }{\@testdef{#1}{#2}{#3}% + }% + } % \end{macrocode} % % \DescribeMacro{\protected@write\\@auxout} % % \begin{macrocode} -\protected@write\@auxout{}{\string\reset@newl@bel}% +\protected@write\@auxout{}{\string\reset@newl@bel} % \end{macrocode} % @@ -807,7 +797,8 @@ name-reference: \nameref{testlabel}%% -> Still another test \let\@newl@bel\undolabl@testdef \let\undonewlabel\@gobble \fi - }% + } + % \end{macrocode} % % \begin{macrocode} @@ -857,7 +848,7 @@ name-reference: \nameref{testlabel}%% -> Still another test % if |nameref| shall be used\\ % (and when the references shall be hyperlinked, of course) % -% \item[-] package \textsf{undolabl}, 2010/07/15, v1.0d,\\ +% \item[-] package \textsf{undolabl}, 2010/09/12, v1.0g,\\ % \CTAN{macros/latex/contrib/undolabl/undolabl.dtx}\\ % (Well, it is the example file for this package, and because you are reading the % documentation for the \textsf{undolabl} package, it can be assumed that you already @@ -883,36 +874,53 @@ name-reference: \nameref{testlabel}%% -> Still another test % (or more recent versions) and does neither work with % nor check for earlier versions!\\ % (It is probably best to download\\ -% \CTAN{install/macros/latex/contrib/oberdiek.tds.zip} +% \CTAN{install/macros/latex/contrib/oberdiek.tds.zip}\\ % and use this, because the packages in there should be both % recent and compatible.)\\ % % \pagebreak % % \DescribeMacro{M\"{u}nch} -% Packages of mine:\\ +% Packages of mine (alphabetically ordered):\\ % \begin{description} -% \item[undolabl] 2010/07/15, v1.0d, \CTAN{macros/latex/contrib/undolabl.dtx}\\ -% The package described in this very documentation.\\ -% (Code initally by Ulrich Dietz on \Newsgroup{comp.text.tex} at\\ -% \texttt{Mon,~21~Apr~2008~23:04:03~+0200}, see e.\,g.\\ -% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da}.) +% \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[pagesLTS] 2010/07/15, v1.1d, \CTAN{macros/latex/contrib/pagesLTS.dtx}\\ +% \item[lastpage] 2010/09/12, v1.2e, \CTAN{macros/latex/contrib/lastpage/lastpage.dtx} and +% \CTAN{install/macros/latex/contrib/lastpage.tds.zip}\\ +% That 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/12, v1.1j, \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/06/24, v1.0c, \CTAN{macros/latex/contrib/papermas.dtx}\\ +% \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[hrefhide] 2010/06/24, v1.0c, \CTAN{macros/latex/contrib/hrefhide.dtx}\\ -% That package allows to \textquotedblleft hide\textquotedblright\ some (hyperlinked) -% text when printing the document while keeping the layout. +% \item[undolabl] 2010/09/12, v1.0g, \CTAN{macros/latex/contrib/undolabl/undolabl.dtx} and +% \CTAN{install/macros/latex/contrib/undolabl.tds.zip}\\ +% The package described in this very documentation:\\ +% This package allows to override existing labels, especially automatically generated ones.\\ +% \textit{The main code of this 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} % % \subsection{Package, unpacking TDS} @@ -921,27 +929,33 @@ name-reference: \nameref{testlabel}%% -> Still another test % \begin{description} % \item[\CTAN{macros/latex/contrib/undolabl/undolabl.dtx}]\hspace*{0.1cm} \\ % The source file. -% \item[\CTAN{macros/latex/contrib/undolabl/undolabl.ins}]\hspace*{0.1cm} \\ -% The installation file. -% \item[\CTAN{macros/latex/contrib/undolabl/undolabl.drv}]\hspace*{0.1cm} \\ -% The driver to generate the documentation. -% \item[\CTAN{macros/latex/contrib/undolabl/ltxdoc.cfg}]\hspace*{0.1cm} \\ -% The \LaTeX documentation configuration file, also for generating the documentation. % \item[\CTAN{macros/latex/contrib/undolabl/undolabl.pdf}]\hspace*{0.1cm} \\ % The documentation. -% \item[\CTAN{macros/latex/contrib/undolabl/undolabl.sty}]\hspace*{0.1cm} \\ -% The \xfile{sty}le file. -% \item[\CTAN{macros/latex/contrib/undolabl/undolabl-example.tex}]\hspace*{0.1cm} \\ -% The example file. % \item[\CTAN{macros/latex/contrib/undolabl/undolabl-example.pdf}]\hspace*{0.1cm} \\ % The compiled example file, as it should look like. +% \item[\CTAN{macros/latex/contrib/undolabl/README}]\hspace*{0.1cm} \\ +% The README file. +% \end{description} +% There is also a undolabl.tds.zip available: +% \begin{description} % \item[\CTAN{install/macros/latex/contrib/undolabl.tds.zip}]\hspace*{0.1cm} \\ % Everything in TDS compliant, compiled format. % \end{description} +% which additionally contains\\ +% \begin{tabular}{ll} +% undolabl.ins & The installation file.\\ +% undolabl.drv & The driver to generate the documentation.\\ +% ltxdoc.cfg & The \LaTeX\ documentation configuration file,% +% \ also for generating the documentation.\\ +% undolabl.sty & The \xext{sty}le file.\\ +% undolabl-example.tex & The example file.% +% \end{tabular} +% +% \bigskip % -% For required other packages, see the preceding subsection. +% \noindent For required other packages, see the preceding subsection. % -% \paragraph{Unpacking.} The \xext{dtx} file is a self-extracting +% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting % \docstrip\ archive. The files are extracted by running the % \xext{dtx} through \plainTeX: % \begin{quote} @@ -1058,8 +1072,7 @@ name-reference: \nameref{testlabel}%% -> Still another test % \verb|\PassOptionsToClass{a4paper}{article}| % \end{quote} % -% \noindent An example follows how to generate the -% documentation with \pdfLaTeX : +% \noindent An example follows how to generate the documentation with \pdfLaTeX : % % \begin{quote} %\begin{verbatim} @@ -1071,35 +1084,25 @@ name-reference: \nameref{testlabel}%% -> Still another test %\end{verbatim} % \end{quote} % -% \noindent and with \pdfLaTeX: -% \begin{quote} -%\begin{verbatim} -%pdflatex undolabl.dtx -%makeindex -s gind.ist undolabl.idx -%pdflatex undolabl.dtx -%makeindex -s gind.ist undolabl.idx -%pdflatex undolabl.dtx -%\end{verbatim} -% \end{quote} -% -% \pagebreak -% % \section{Acknowledgements} % % 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}).\\ +% \texttt{Re:~How~to~undefine/overwrite~a~label?} (see e.\,g. +% \url{http://groups.google.de/group/comp.text.tex/msg/5ba8d4722e5cd326?dmode=source} +% as well as \linebreak +% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}).\\ % I (H.-Martin M\"{u}nch) would like to thank Ulrich Diez for this as well as -% for his permission to publish it on \CTAN{}. -% I also thank those anonymouse people who had published it somewhere else +% for his permission to publish it on \CTAN{} as well as for his bug reports. +% I also thank those anonymouse people who had published the package somewhere else % on the internet, where I found it first. -% Further I would like to thank Heiko Oberdiek -% (\texttt{heiko dot oberdiek at googlemail dot com}) for providing +% Further I would like to thank Rainer Wintermute for explaining the |\CheckSum|, +% Heiko Oberdiek (\texttt{heiko dot oberdiek at googlemail dot com}) for providing % a~lot~(!) of useful packages (from which I also got everything I % know about creating a file in \xfile{dtx} format, ok, say it: copying), +% Robin Fairbairns and everybody of the \CTAN{} team for managing \CTAN{}, % and the \Newsgroup{comp.text.tex} and \Newsgroup{de.comp.text.tex} % newsgroups for their help in all things \TeX. % @@ -1107,46 +1110,66 @@ name-reference: \nameref{testlabel}%% -> Still another test % % \phantomsection % \begin{History}\label{History} -% \begin{Version}{2008/04/20 v0.3} -% \item created by Ulrich Diez +% \begin{Version}{2008/04/20 v0.3(a)} +% \item created by Ulrich Diez % \end{Version} % \begin{Version}{2010/04/08 v0.3b} -% \item |.dtx| updated by H.-Martin M\"{u}nch, submitted to \CTAN{}\\ -% (no changes in the style code). +% \item |.dtx| updated by H.-Martin M\"{u}nch, submitted to \CTAN{}\\ +% (no changes in the style code). % \end{Version} -% \begin{Version}{2010/06/01 v1.0} -% \item \xfile{.dtx} updated by H.-Martin M\"{u}nch: some minor -% corrections in the documentation, an internal renaming for possible -% better compatibility with other packages. -% \item The main code of this package was invented in 2008 by Ulrich Diez -% (\texttt{eu\_angelion@web.de}) and published on the internet. -% Because Ulrich Diez neither wanted to create a package himself yet -% nor have one published under his name, -% but granted the publication of his code (Thanks!), -% I had to change author/maintainer of this package and resubmit it. +% \begin{Version}{2010/06/01 v1.0(a)} +% \item \xfile{.dtx} updated by H.-Martin M\"{u}nch: some minor +% corrections in the documentation, an internal renaming for possible +% better compatibility with other packages. +% \item The main code of this package was invented in 2008 by Ulrich Diez +% (\texttt{eu\_angelion@web.de}) and published on the internet. +% Because Ulrich Diez neither wanted to create a package himself yet +% nor have one published under his name, +% but granted the publication of his code (Thanks!), +% I had to change author/maintainer of this package and resubmit it. % \end{Version} % \begin{Version}{2010/06/03 v1.0b} -% \item Found an unchanged reference to the package author/maintainer. -% \item Example adapted to other examples of mine. -% \item Updated references to other packages. -% \item TDS locations updated. -% \item Several changes in the documentation and the Readme file. +% \item Found an unchanged reference to the package author/maintainer. +% \item Example adapted to other examples of mine. +% \item Updated references to other packages. +% \item TDS locations updated. +% \item Several changes in the documentation and the Readme file. % \end{Version} % \begin{Version}{2010/06/24 v1.0c} % \item \textsf{holtxdoc} warning in \xfile{drv} updated. -% \item Corrected the location of the package at CTAN. (TDS still missing due to packaging error.) +% \item Corrected the location of the package at CTAN. (TDS of this version was +% still missing due to a~packaging error.) % \item Updated references to other packages: \textsf{hyperref} and \textsf{pagesLTS}. % \item Added a list of my other packages. % \end{Version} % \begin{Version}{2010/07/15 v1.0d} % \item There was another update by Ulrich Dietz on \Newsgroup{comp.text.tex} at % \texttt{Mon,~21~Apr~2008~23:04:03~+0200}, see e.\,g.\\ -% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da},\\ -% which was now included in this package. +% \url{http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source}, +% which now has been included in this package. % \item Put more emphasis on \textbf{Ulrich Dietz} writing the initial code. % \item Updated references to other packages: \textsf{hyperref} and \textsf{pagesLTS}. % \item Corrected the given location of the \textsf{undolabl.tds.zip} file at CTAN. % \end{Version} +% \begin{Version}{2010/07/25 v1.0e} +% \item Bugs reported by Ulrich Dietz on \Newsgroup{comp.text.tex} at\\ +% \texttt{Sat,~17~Jul~2010~12:27:10~+0200}, +% subject \texttt{Re:~CTAN~Update:~undolabl}, see e.\,g. +% \url{http://groups.google.com/group/comp.text.tex/msg/d366821ce4f8b62e?dmode=source}, +% eradicated. +% \item |\StopEventually| added and |\CheckSum| value corrected (was~$0$). +% \item Minor details. +% \end{Version} +% \begin{Version}{2010/07/29 v1.0f} +% \item Corrected diverse urls, updated references to other packages. +% \end{Version} +% \begin{Version}{2010/09/12 v1.0g} +% \item There was a wrong \texttt{\%} behind \texttt{2010/07/29 v1.0f}, +% resulting in the version displayed as +% \textquotedblleft \texttt{v1.0fOverriding}\textquotedblright. +% \item Changed the |\unit| definition (got rid of an old |\rm|). +% \item A lot of small changes. +% \end{Version} % \end{History} % % % \PrintChanges @@ -1156,7 +1179,7 @@ name-reference: \nameref{testlabel}%% -> Still another test % When you find a mistake or have a suggestion for an improvement of this package, % please send an e-mail to the maintainer, thanks! (Please see BUG REPORTS in the README.) % -% \bigskip +% \pagebreak % % \PrintIndex % diff --git a/Master/texmf-dist/source/latex/undolabl/undolabl.ins b/Master/texmf-dist/source/latex/undolabl/undolabl.ins index 0ff49e4539c..ad294b14480 100644 --- a/Master/texmf-dist/source/latex/undolabl/undolabl.ins +++ b/Master/texmf-dist/source/latex/undolabl/undolabl.ins @@ -33,7 +33,7 @@ %% (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). +%% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). %% 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! @@ -48,7 +48,7 @@ \obeyspaces \Msg{******************************************************} \Msg{* Installation *} -\Msg{* Package: undolabl v1.0d 2010/07/15 LaTeX2e package *} +\Msg{* Package: undolabl v1.0g 2010/09/12 LaTeX2e package *} \Msg{* Overriding labels (HMM) *} \Msg{******************************************************} @@ -85,7 +85,7 @@ 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). +http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). 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/tex/latex/undolabl/undolabl.sty b/Master/texmf-dist/tex/latex/undolabl/undolabl.sty index c57a9d683dd..e72d5fa8f6e 100644 --- a/Master/texmf-dist/tex/latex/undolabl/undolabl.sty +++ b/Master/texmf-dist/tex/latex/undolabl/undolabl.sty @@ -33,7 +33,7 @@ %% (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). +%% http://groups.google.de/group/comp.text.tex/msg/af6cfe93917097da?dmode=source). %% 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! @@ -46,7 +46,7 @@ \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesPackage{undolabl}[2010/07/15 v1.0d +\ProvidesPackage{undolabl}[2010/09/12 v1.0g Overriding labels (HMM)] \newcommand\overridelabel[1]{% @@ -57,25 +57,25 @@ \@esphack } -\newcommand\undonewlabel{\@und@newl@bel r}% +\newcommand\undonewlabel{\@und@newl@bel r} \newcommand\@und@newl@bel[2]{% \@ifundefined{#1@#2}{% - \PackageError{undolabl}{Label `#2' shall be overridden ^^J + \PackageError{undolabl}{Label `#2' shall be overridden ^^J% although it does not yet exist}{% A label which does not exist cannot be overridden.}% }{% \expandafter\global \expandafter\let \csname #1@#2\endcsname\relax - }% + }% } \newcommand\@overriddenmessage[2]{% \@ifundefined{#1@#2}{\global\@namedef{#1@#2}{i}}{% \expandafter\g@addto@macro\csname #1@#2\endcsname{i}% }% - \PackageWarning{undolabl}{Label `#2' overridden} + \PackageWarning{undolabl}{Label `#2' overridden}% } \newcommand\undolabl@testdef[3]{% @@ -90,20 +90,19 @@ }% \expandafter\@gobble \fi - }% - {% - \@testdef{#1}{#2}{#3}% - }% - }% + }{\@testdef{#1}{#2}{#3}% + }% + } -\protected@write\@auxout{}{\string\reset@newl@bel}% +\protected@write\@auxout{}{\string\reset@newl@bel} \newcommand\reset@newl@bel{% \ifx\@newl@bel\@testdef \let\@newl@bel\undolabl@testdef \let\undonewlabel\@gobble \fi - }% + } + \endinput %% %% End of file `undolabl.sty'. diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index f95df8adde8..2618c0ff78a 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1461,6 +1461,7 @@ $standardsource='\.(c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh'; 'termlist', 'termlist.dtx', 'turnstile', 'turnstile-en.ins', # skip pt 'ulqda', 'ulqda.dtx', + 'undolabl', 'undolabl.dtx', 'xecjk', 'xeCJK.dtx', ); $standardins='\.ins'; @@ -1507,6 +1508,7 @@ my $core_latex = "$Master/texmf-dist/tex/latex"; 'thumb' => 'latex -translate-file=empty.tcx', # no 8-bit 'todonotes' => 'latex', # requires interaction 'toptesi' => 'latex', # requires interaction + 'undolabl' => 'tex', 'xecjk' => 'xecjk-xelatex', ); $standardinsrunner="latex -interaction=nonstopmode"; |