Great! - What about posting it right here?
> I get the error "There's no line here to
> end.", pointing at the last line, which has \end{document}. I have
> read older posts about this problem, but they all remained unanswered.
> What are possible reasons for this error message?
Maybe a \\ on an *empty* line or some LaTeX construct that
does not directly produce text, like the end of an "environment"
like \begin{center}...\end{center}?
> Great! - What about posting it right here?
I mean the smallest thing possible:
\documentclass{examdesign}\begin{document}\end{document}
or
\documentclass{examdesign}
\begin{document}
\end{document}
This should at least output the default names for the class and the
exam, and the student information form—which it does, shifting
everything to the right, if I just skip the error; the log says:
Overfull \hbox (90.84221pt too wide) detected at line 1
If I insert questions the result is the same. It seems to be a very
basic error, as the functionality of the package itself isn't affected
(the questions are printed correctly.
I see the same with your example, but if I try the "examplea.tex" file
with the package, all is fine. I guess you have to have certain
information in the file for things to work: not great design, I'd
agree.
Joseph Wright
Hacking down the example reveals the \class macro is required. Try:
\documentclass{examdesign}
\class{Test}
\begin{document}
\end{document}
Joseph Wright
Thanks for the hacking!