On 2010-09-17 19:44:54 +0930, Michiel Kamermans <pomax at nihongoresources.com> said: > \if\value{iclass}<\@nameuse{#1Class} These lines should be \ifnum, at the very least. You might also want to terminate them with \relax: > \if\value{iclass}<\@nameuse{#1Class}\relax I haven't checked the rest of the code for correctness, however :) W