Now using \makespec instead of \maketitle for rater spec build
parent
da073efbac
commit
b65eada2da
|
@ -69,19 +69,28 @@
|
||||||
% The host environment is the same for all new systems
|
% The host environment is the same for all new systems
|
||||||
%
|
%
|
||||||
|
|
||||||
\def\@raterspec@input@types{
|
\let\@@madespec0
|
||||||
\PackageWarning{raterspec}{Missing program-specific input parameter types!
|
|
||||||
\MessageBreak Define using \protect\inputtypes}
|
\def\@raterspec@mkhook#1#2#3#4{
|
||||||
\todo{No input parameter types have been defined.}
|
\expandafter\gdef\csname @raterspec@#1\endcsname{
|
||||||
|
\PackageWarning{raterspec}{Missing #2!
|
||||||
|
\MessageBreak Define using \expandafter\protect\csname#1\endcsname}%
|
||||||
|
\todo{No #2 have been defined.}%
|
||||||
|
}%
|
||||||
|
\expandafter\gdef\csname#1\endcsname##1{%
|
||||||
|
\expandafter\gdef\csname @raterspec@#1\endcsname{%
|
||||||
|
#3\input{##1}#4%
|
||||||
|
}%
|
||||||
|
}%
|
||||||
}
|
}
|
||||||
|
|
||||||
\def\@raterspec@input@params{
|
\def\makespec{
|
||||||
\PackageWarning{raterspec}{Missing input parameters!
|
\ifx\@@madespec1%
|
||||||
\MessageBreak Define using \protect\inputparams}
|
\PackageError{raterspec}{Duplicate call to \protect\makespec}
|
||||||
\todo{No input parameters have been defined.}
|
\fi
|
||||||
}
|
|
||||||
|
\global\let\@@madespec1
|
||||||
|
|
||||||
\def\@lvspec@posttitle{
|
|
||||||
\pnumoff\part{General System}\pnumon
|
\pnumoff\part{General System}\pnumon
|
||||||
|
|
||||||
\chapter{Host Environment}
|
\chapter{Host Environment}
|
||||||
|
@ -95,36 +104,38 @@
|
||||||
\section{Program-Specific Parameter Types}
|
\section{Program-Specific Parameter Types}
|
||||||
\sectiondept{it/uw}
|
\sectiondept{it/uw}
|
||||||
|
|
||||||
\@raterspec@input@types
|
\@raterspec@inputtypes
|
||||||
\index{input data|)}
|
\index{input data|)}
|
||||||
|
|
||||||
\chapter{Input Parameters}
|
\chapter{Input Parameters}
|
||||||
\index{input data!parameters|(}
|
\index{input data!parameters|(}
|
||||||
\index{parameter|(}
|
\index{parameter|(}
|
||||||
\input{raterspec/sec/params}
|
\input{raterspec/sec/params}
|
||||||
\@raterspec@input@params
|
\@raterspec@inputparams
|
||||||
|
|
||||||
\index{input data!parameters|)}
|
\index{input data!parameters|)}
|
||||||
\index{parameter|)}
|
\index{parameter|)}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
\def\inputtypes#1{
|
\@raterspec@mkhook{inputtypes}{input types}
|
||||||
\gdef\@raterspec@input@types{
|
{%
|
||||||
% can't really include a sigline here because approvial would be global
|
% can't really include a sigline here because approvial would be global
|
||||||
\pnumoff
|
\pnumoff
|
||||||
Parameter types in this section are common to the \@title@short\ program.
|
Parameter types in this section are common to the \@title@short\ program.
|
||||||
\pnumon
|
\pnumon
|
||||||
\index{parameter type|(}
|
\index{parameter type|(}
|
||||||
\input{#1}
|
|
||||||
\index{parameter type|)}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
{\index{parameter type|)}}
|
||||||
|
|
||||||
\def\inputparams#1{
|
\@raterspec@mkhook{inputparams}{input parameters}
|
||||||
\gdef\@raterspec@input@params{
|
{}
|
||||||
\input{#1}
|
{}
|
||||||
}
|
|
||||||
|
\AtEndDocument{
|
||||||
|
\ifx\@@madespec0
|
||||||
|
\PackageError{raterspec}{\protect\makespec\space was not called}
|
||||||
|
\fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue