Added forms env to permitted numbering
parent
14f6ff0d79
commit
26bc7d3921
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue