1
0
Fork 0

Added forms env to permitted numbering

master
Mike Gerwitz 2013-09-12 12:46:04 -04:00
parent 14f6ff0d79
commit 26bc7d3921
1 changed files with 5 additions and 1 deletions

View File

@ -156,12 +156,16 @@
% the current environment in @currenvir)
\def\@@document{document}%
\def\@@premcalc{premcalc}%
\def\@@forms{forms}%
% allow document by default
\let\@@cmp\@currenvir
% XXX: moveme
% allow premcalc env
\ifx\@currenvir\@@premcalc
\let\@@cmp\@@document
\fi
\else\ifx\@currenvir\@@forms
\let\@@cmp\@@document
\fi\fi
% output if match
\ifx\@@cmp\@@document%
\ifx\haspnum1\relax