Mike Gerwitz

Activist for User Freedom

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2013-09-13 12:19:32 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2013-09-13 12:19:32 -0400
commitac38dbe47aac0349a81c887c5cb135bd89c0b26e (patch)
treef9ef6797f785a6277d88c09ae396598898b3b952
parent4e61d57a4eae58d8a68754bab3b8b72203ad823e (diff)
downloadlvspec-ac38dbe47aac0349a81c887c5cb135bd89c0b26e.tar.gz
lvspec-ac38dbe47aac0349a81c887c5cb135bd89c0b26e.tar.bz2
lvspec-ac38dbe47aac0349a81c887c5cb135bd89c0b26e.zip
Added protdev env for line numbering
-rw-r--r--lvspec.cls5
1 files changed, 4 insertions, 1 deletions
diff --git a/lvspec.cls b/lvspec.cls
index e558648..365b805 100644
--- a/lvspec.cls
+++ b/lvspec.cls
@@ -157,6 +157,7 @@
\def\@@document{document}%
\def\@@premcalc{premcalc}%
\def\@@forms{forms}%
+ \def\@@forms{protdev}%
% allow document by default
\let\@@cmp\@currenvir
% XXX: moveme
@@ -165,7 +166,9 @@
\let\@@cmp\@@document
\else\ifx\@currenvir\@@forms
\let\@@cmp\@@document
- \fi\fi
+ \else\ifx\@currenvir\@@protdev
+ \let\@@cmp\@@document
+ \fi\fi\fi
% output if match
\ifx\@@cmp\@@document%
\ifx\haspnum1\relax