Mike Gerwitz

Activist for User Freedom

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2014-05-16 09:43:42 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2014-05-16 09:43:42 -0400
commitbf20425c753df1019f5b8d1c2f48745341db49af (patch)
tree2fd49c96ff9a343e285b4d50ac22da13ccc9719f
parentc0f6242a48fbc3e1998966473db24b27f1b9c10e (diff)
downloadlvspec-bf20425c753df1019f5b8d1c2f48745341db49af.tar.gz
lvspec-bf20425c753df1019f5b8d1c2f48745341db49af.tar.bz2
lvspec-bf20425c753df1019f5b8d1c2f48745341db49af.zip
Added publically accessible output macro for raterspec hooks
-rw-r--r--raterspec.cls8
1 files changed, 6 insertions, 2 deletions
diff --git a/raterspec.cls b/raterspec.cls
index 4edbf27..3b5cc8a 100644
--- a/raterspec.cls
+++ b/raterspec.cls
@@ -76,12 +76,16 @@
\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%
}%
- }%
+ }
+ % publically accessible output macro
+ \expandafter\gdef\csname#1out\endcsname{%
+ \csname @raterspec@#1\endcsname
+ }
}
\def\makespec{