summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tagging
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-09 21:19:49 +0000
committerKarl Berry <karl@freefriends.org>2019-09-09 21:19:49 +0000
commit8e6b9e924a8f4e18f88dcb5a01658fc1175159df (patch)
treecfb94cdd3886bc63d8851a1cbbba5f6bb0dc0c0b /Master/texmf-dist/tex/latex/tagging
parent3039c15b8469196164744e904bdd80520ba4f10a (diff)
tagging (9sep19)
git-svn-id: svn://tug.org/texlive/trunk@52064 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tagging')
-rw-r--r--Master/texmf-dist/tex/latex/tagging/tagging.sty25
1 files changed, 12 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/tagging/tagging.sty b/Master/texmf-dist/tex/latex/tagging/tagging.sty
index 5f8c4b994cd..d0f1497a160 100644
--- a/Master/texmf-dist/tex/latex/tagging/tagging.sty
+++ b/Master/texmf-dist/tex/latex/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