Mike Gerwitz

Activist for User Freedom

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2014-05-16 09:43:45 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2014-05-16 09:44:57 -0400
commit2945e5fd2a4eb25be2f325fe8bbdb834ce3bc2bb (patch)
tree1b9b457dc47a361d0b83dd74a12b7da2a20ce4ca
parentbf20425c753df1019f5b8d1c2f48745341db49af (diff)
downloadlvspec-2945e5fd2a4eb25be2f325fe8bbdb834ce3bc2bb.tar.gz
lvspec-2945e5fd2a4eb25be2f325fe8bbdb834ce3bc2bb.tar.bz2
lvspec-2945e5fd2a4eb25be2f325fe8bbdb834ce3bc2bb.zip
Extracted raterspec document structure into separate source file
-rw-r--r--raterspec.cls42
1 files changed, 10 insertions, 32 deletions
diff --git a/raterspec.cls b/raterspec.cls
index 3b5cc8a..c01afab 100644
--- a/raterspec.cls
+++ b/raterspec.cls
@@ -60,8 +60,6 @@
\input{raterspec/sec/rater-dfn}
}
-%% note: \pnumoff and \pnumon are temporary kluges (...hopefully)
-
%%
% Beginning of document
@@ -94,34 +92,20 @@
\fi
\global\let\@@madespec1
+ \input{raterspec/parts}
+}
- \pnumoff\part{General System}\pnumon
-
- \chapter{Host Environment}
- \input{raterspec/sec/hostenv}
-
- \chapter{Input Data}
- \index{input data|(}
- \input{raterspec/sec/input}
-
- % implementation-specific parameter types
- \section{Program-Specific Parameter Types}
- \sectiondept{it/uw}
-
- \@raterspec@inputtypes
- \index{input data|)}
-
- \chapter{Input Parameters}
- \index{input data!parameters|(}
- \index{parameter|(}
- \input{raterspec/sec/params}
- \@raterspec@inputparams
-
- \index{input data!parameters|)}
- \index{parameter|)}
+\AtEndDocument{
+ \ifx\@@madespec0
+ \PackageError{raterspec}{\protect\makespec\space was not called}
+ \fi
}
+%%
+% Document hooks
+%%
+
\@raterspec@mkhook{inputtypes}{input types}
{%
% can't really include a sigline here because approvial would be global
@@ -136,12 +120,6 @@
{}
{}
-\AtEndDocument{
- \ifx\@@madespec0
- \PackageError{raterspec}{\protect\makespec\space was not called}
- \fi
-}
-
%%