diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-10 03:00:50 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-10 03:00:50 +0000 |
commit | a1c3d5afa1daf60d772eb18931e05c5397e7404c (patch) | |
tree | 2a4223ec285ae7993f47d69600480c0ded8c9922 /macros/latex/contrib/tagging/tagging.sty | |
parent | cb5ec966f1a3e9b26dcd7fc1b13998e03581b8fd (diff) |
CTAN sync 201909100300
Diffstat (limited to 'macros/latex/contrib/tagging/tagging.sty')
-rw-r--r-- | macros/latex/contrib/tagging/tagging.sty | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/macros/latex/contrib/tagging/tagging.sty b/macros/latex/contrib/tagging/tagging.sty index 5f8c4b994c..d0f1497a16 100644 --- a/macros/latex/contrib/tagging/tagging.sty +++ b/macros/latex/contrib/tagging/tagging.sty @@ -1,5 +1,5 @@ % tagging.sty -% Copyright 2011 Brent Longborough +% Copyright 2019 Brent Longborough % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -12,16 +12,15 @@ % This work has the LPPL maintenance status `maintained'. % The Current Maintainer of this work is Brent Longborough. % -% This work consists of these files: +% This work consists of these files: % tagging.sty, tagging.tex, and tagging.pdf % -------------------------------------------------------------- -\ProvidesPackage{tagging}[2019/09/07 v1.1] +\ProvidesPackage{tagging}[2019/09/09 v1.1.0.1] \RequirePackage{etoolbox,verbatim} \newcommand{\taggedy}{\relax} \newcommand{\taggedn}{\relax} -\newcomment{tagged@ignore} \newcommand\usetag[1]{% \def\do##1{\csdef{tagged@##1}{}}% \docsvlist{#1}}% @@ -33,12 +32,12 @@ \newenvironment{taggedblock}[1]% {\def\do##1{% \ifcsname tagged@##1\endcsname% - \let\tagged@ignore\relax% - \let\endtagged@ignore\relax% + \let\comment\relax% + \let\endcomment\relax% \fi}% \docsvlist{#1}% - \tagged@ignore\ignorespaces}% FMi - {\endtagged@ignore\ignorespacesafterend}% FMi + \comment\ignorespaces}% FMi + {\endcomment\ignorespacesafterend}% FMi \newenvironment{untaggedblock}[1]{% \csdef{@tagged@flag}{}% FMi \def\do##1{% @@ -47,11 +46,11 @@ \fi}% \docsvlist{#1}% \ifcsname @tagged@flag\endcsname% - \let\tagged@ignore\relax% - \let\endtagged@ignore\relax% + \let\comment\relax% + \let\endcomment\relax% \fi% - \tagged@ignore\ignorespaces}% FMi - {\endtagged@ignore\ignorespacesafterend}% FMi + \comment\ignorespaces}% FMi + {\endcomment\ignorespacesafterend}% FMi \newcommand{\iftagged}[3]% @@ -66,5 +65,5 @@ \newcommand{\untagged}[2]{\iftagged{#1}{}{#2}} %FMi Allow tags to be activated as package options -\DeclareOption*{\usetag{\CurrentOption}} +\DeclareOption*{\usetag{\CurrentOption}} \ProcessOptions |