diff options
author | Karl Berry <karl@freefriends.org> | 2019-09-09 21:19:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-09-09 21:19:49 +0000 |
commit | 8e6b9e924a8f4e18f88dcb5a01658fc1175159df (patch) | |
tree | cfb94cdd3886bc63d8851a1cbbba5f6bb0dc0c0b | |
parent | 3039c15b8469196164744e904bdd80520ba4f10a (diff) |
tagging (9sep19)
git-svn-id: svn://tug.org/texlive/trunk@52064 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/tagging/README | 16 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagging/tagging.pdf | bin | 111778 -> 111644 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tagging/tagging.tex | 28 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/tagging/tagging.sty | 25 |
4 files changed, 37 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/latex/tagging/README b/Master/texmf-dist/doc/latex/tagging/README index 2892db0cf39..f5f9efc5cb6 100644 --- a/Master/texmf-dist/doc/latex/tagging/README +++ b/Master/texmf-dist/doc/latex/tagging/README @@ -1,19 +1,21 @@ - The `tagging' package provides document configuration by + The `tagging' package provides document configuration by including or omitting tagged input. - tagging is licenced under the LPPL. For more details, + tagging is licenced under the LPPL. For more details, please see the accompanying manual: tagging.pdf. Change History ~~~~~~~~~~~~~~ -2019-09-07 Kindly provided and inspired by Frank Mittelbach: +2019-09-09 1.1.0.1 Fix a stupid bug - Bug fixes - Removed interference with comment environment (from verbatim package) - Allow initial active tag list to be passed as package options +2019-09-07 1.1 Kindly provided and inspired by Frank Mittelbach: -2011-08-22 Initial release, providing: + Bug fixes + <nonsense by BL>: Removed interference with comment environment (from verbatim package) + Allow initial active tag list to be passed as package options + +2011-08-22 1.0 Initial release, providing: \tagged{list}{y} Conditional inclusion \untagged{list}{n} Conditional exclusion diff --git a/Master/texmf-dist/doc/latex/tagging/tagging.pdf b/Master/texmf-dist/doc/latex/tagging/tagging.pdf Binary files differindex 986f5d141af..0cf5ca51708 100644 --- a/Master/texmf-dist/doc/latex/tagging/tagging.pdf +++ b/Master/texmf-dist/doc/latex/tagging/tagging.pdf diff --git a/Master/texmf-dist/doc/latex/tagging/tagging.tex b/Master/texmf-dist/doc/latex/tagging/tagging.tex index 11dfea45870..55925ec7480 100644 --- a/Master/texmf-dist/doc/latex/tagging/tagging.tex +++ b/Master/texmf-dist/doc/latex/tagging/tagging.tex @@ -1,6 +1,10 @@ +% !TEX TS-program = latexmkl +% !TEX encoding = UTF-8 Unicode +% !TeX spellcheck = en_GB +% ----------------------------------------------------- % tagging.tex % 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 % of this license or (at your option) any later version. @@ -12,7 +16,7 @@ % 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 % ----------------------------------------------------- \documentclass[a4paper,12pt,twoside,openany]{memoir} @@ -39,8 +43,8 @@ \newcommand{\tpn}{tagging} \newcommand{\tpfname}{\textsf{\tpn.sty}} \newcommand{\tpname}{\textsf{\itshape \tpn}} -\newcommand{\gitVtag}{\space1.1} -\newcommand{\gitVtagn}{\space1.1} +\newcommand{\gitVtag}{\space1.1.0.1} +\newcommand{\gitVtagn}{\space1.1.0.1} % ----------------------------------------------------- \usepackage[% bookmarksnumbered, @@ -60,7 +64,7 @@ \Large A package for document configuration } \author{Brent Longborough} -\date{7th September, 2019} +\date{9th September, 2019} \maketitle {\centering @@ -113,7 +117,7 @@ and the active tags. Alternatively, you might prefer to tag pieces of the document as applying to given models, by labelling them with one more -model designations. +model designations. For such an application, you would probably have a number of master document source files, each of which would activate the appropriate tags, @@ -128,7 +132,7 @@ Yet another application might involve describing the way in which something --- an idea, an algorithm, for instance --- has evolved. The description of the evolving thing could be labelled with its stages, and then repeatedly imbedded from a master source document with different -active tags to reflect the stage in its evolution. +active tags to reflect the stage in its evolution. The possibilities are, if not limitless, at least very extensive. @@ -215,7 +219,7 @@ is included in the document only if \emph{none} of the tags in The tag control commands determine which tags are active at any point in the document. The document starts with all tags inactive; -\tpname\ requires that you explicitly activate +\tpname\ requires that you explicitly activate the tags you need. Once a tag has been activated, it remains active from that point @@ -230,7 +234,7 @@ This command activates \emph{all} the tags in \texttt{\itshape<taglist>}. \subsection{{\ttfamily\textbackslash usepackage[{\itshape<taglist>}]\{\tpn\}}} If you wish, you may activate one or more tags, once, in your document preamble by passing a taglist as options when you call -the package. +the package. \emph{All} the tags in \texttt{\itshape<taglist>} are activated. Any tags activated this way can still be deactivated and reactivated as many times as you may need in the body of the @@ -238,7 +242,7 @@ document. % - - - - - - - - - - - - - - - - - - - - - - - - - - - \subsection{{\ttfamily\textbackslash droptag\{{\itshape<taglist>}\}}} This command deactivates \emph{all} the tags in \texttt{\itshape<taglist>}. -\tpname\ is too simple to include a command +\tpname\ is too simple to include a command to ``deactivate all known tags'' --- sorry. % - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -324,7 +328,7 @@ it comes with: \section{Acknowledgements and dependencies} \tpname\ is based on an idea by \href{http://tex.stackexchange.com/users/2674/leo-liu}{Leo Liu}. -It would have been a lot more difficult to implement without the help of +It would have been a lot more difficult to implement without the help of Philipp Lehman's \href{http://www.ctan.org/tex-archive/macros/latex/contrib/etoolbox}{etoolbox} and of @@ -361,7 +365,7 @@ version 2005/12/01 or later. This work has the LPPL maintenance status `maintained'; the Current Maintainer of this work is Brent Longborough. -This work consists of the files +This work consists of the files tagging.sty, tagging.tex, and tagging.pdf % - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 |