Mike Gerwitz

Activist for User Freedom

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2013-09-12 12:46:04 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2013-09-12 12:46:04 -0400
commit26bc7d3921c27b7e697a995c3aed0d6632c7edf5 (patch)
treec68aec217c02fbc40d5a090fef28a301f7a5b7cc
parent14f6ff0d7981b05266ca09c00f6cf2e506fd86fb (diff)
downloadlvspec-26bc7d3921c27b7e697a995c3aed0d6632c7edf5.tar.gz
lvspec-26bc7d3921c27b7e697a995c3aed0d6632c7edf5.tar.bz2
lvspec-26bc7d3921c27b7e697a995c3aed0d6632c7edf5.zip
Added forms env to permitted numbering
-rw-r--r--lvspec.cls6
1 files changed, 5 insertions, 1 deletions
diff --git a/lvspec.cls b/lvspec.cls
index cdd8270..8555a86 100644
--- a/lvspec.cls
+++ b/lvspec.cls
@@ -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