Superflous vertical spacing after tagging environment
For strange reasons, the taggedblock
environment adds \leavevmode
at the end, which is clearly wrong.
\documentclass{scrartcl}
\usepackage{tagging}
\def\endtaggedblock{\endcomment} % we can't use \renewcommand
\usetag{mytag}
\begin{document}
%a tagged block
\begin{taggedblock}{mytag}
\begin{enumerate}
\item
foo
\item
bar
\end{enumerate}
\end{taggedblock}
% normal spacing
\begin{enumerate}
\item
foo
\item
bar
\end{enumerate}
% normal spacing
\begin{enumerate}
\item
foo
\item
bar
\end{enumerate}
\end{document}
This is a clarificatory answer; as the person who "caused the problem in the first place", I don't expect upvotes (nor, hopefully, downvotes)
I am in the process of deprecating the tagged
package; Boris Veytsman's multiaudience
package is much better thought-out, and Boris is a much better TeXnician than I am.
Here's your original problem, rewritten to use multiaudience
:
\documentclass{scrartcl}
\usepackage{multiaudience}
\SetNewAudience{mytag}
\DefCurrentAudience{mytag}
\begin{document}
%a tagged block
\begin{shownto}{mytag}
\begin{enumerate}
\item
foo
\item
bar
\end{enumerate}
\end{shownto}
%here you have additional vertical space
\begin{enumerate}
\item
foo
\item
bar
\end{enumerate}
%here you don't
\begin{enumerate}
\item
foo
\item
bar
\end{enumerate}
\end{document}