diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/undolabl/undolabl.sty | 66 |
1 files changed, 32 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/undolabl/undolabl.sty b/Master/texmf-dist/tex/latex/undolabl/undolabl.sty index 60b520cf53f..a616b29319c 100644 --- a/Master/texmf-dist/tex/latex/undolabl/undolabl.sty +++ b/Master/texmf-dist/tex/latex/undolabl/undolabl.sty @@ -9,26 +9,21 @@ %% This is a generated file. %% %% Project: undolabl -%% Version: 2015/03/29 v1.0l +%% Version: 2023-02-14 v1.0m %% -%% Copyright (C) 2010 - 2015 by -%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de> +%% Copyright (C) 2010 - 2023 by +%% H.-Martin Muench <Martin dot Muench at Uni-Bonn dot de> %% Portions of code copyrighted by other people as marked. %% -%% The usual disclaimer applies: -%% 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 +%% https://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 +%% https://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. +%% LaTeX version 2005-12-01 or later. %% %% This work has the LPPL maintenance status "maintained". %% @@ -39,7 +34,7 @@ %% 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/af6cfe93917097da?dmode=source +%% https://groups.google.com/g/comp.text.tex/c/MBiR-EpPceo/m/2pdwkZP-bK8J %% ). 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! @@ -51,23 +46,29 @@ %% undolabl-example.tex, undolabl-example.pdf. %% %% In memoriam -%% Claudia Simone Barth + 1996/01/30 -%% Tommy Muench + 2014/01/02 -%% Hans-Klaus Muench + 2014/08/24 +%% Claudia Simone Barth + 1996-01-30 +%% Tommy Muench + 2014-01-02 +%% Hans-Klaus Muench + 2014-08-24 %% +\NeedsTeXFormat{LaTeX2e}[2022-11-01] +\ProvidesPackage{undolabl}[2023-02-14 v1.0m Overriding labels (HMM)] -\NeedsTeXFormat{LaTeX2e}[2014/05/01] -\ProvidesPackage{undolabl}% - [2015/03/29 v1.0l Overriding labels (HMM)] -%% undolabl may work with earlier versions of LaTeX2e, -%% but this was not tested. Please consider updating -%% your LaTeX2e to the most recent version -%% (if it is not already the most recent version). +\@ifl@t@r\fmtversion{2022/11/01}{% would have understood + % \IfFormatAtLeastTF{2022-11-01}{<true code>}{<false code>} + }{\PackageError{undolabl}{% + Newer LaTeX format needed or older undolabl package% + }{Needed LaTeX format version: 2022-11-01 or newer.\MessageBreak% + Found\space\space LaTeX format version: \fmtversion.\MessageBreak% + Either update your TeX distribution\MessageBreak% + or use an archived version of undolabl\MessageBreak% + (see section History in the documentation).\MessageBreak% + } + } -\AtBeginDocument{% +\AddToHook{begindocument}{% \if@filesw% \else% - \@ifpackageloaded{tikz}{% + \IfPackageLoadedTF{tikz}{% \PackageWarning{undolabl}% {The undolabl package was not allowed to write to an\MessageBreak% .aux file. This package does not work without access\MessageBreak% @@ -86,9 +87,8 @@ }% }% \fi% - \@ifpackageloaded{acronym}% - {\@ifpackagelater{acronym}{2015/03/20}% - {% later, OK + \IfPackageLoadedTF{acronym}% + {\IfPackageAtLeastTF{acronym}{2015/03/21}{% later, OK }{\PackageError{undolabl}{Incompatible old acronym package detected}% {The undolabl package is not compatible with the acronym package% \MessageBreak% @@ -107,8 +107,8 @@ \@overriddenmessage s{#1}% \label{#1}% \fi% - \@esphack% - } +\@esphack% +} \newcommand\undonewlabel{\@und@newl@bel r} @@ -143,13 +143,11 @@ }% \expandafter\@gobble \fi% - }{\@testdef{#1}{#2}{#3}% - }% + }{\@testdef{#1}{#2}{#3}% + }% } -\if@filesw% - \protected@write\@auxout{}{\string\reset@newl@bel}% -\fi% +\if@filesw\protected@write\@auxout{}{\string\reset@newl@bel}\fi \newcommand\reset@newl@bel{% \ifx\@newl@bel\@testdef% |