Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"There's no line here to end." with the examdesign class

203 views
Skip to first unread message

patrick

unread,
Jun 9, 2008, 8:27:23 PM6/9/08
to
I'm trying to get the examdesign class working, but when I compile
even the smallest test file, 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? – I use TexLive on a
Mac.

Christian Stapfer

unread,
Jun 10, 2008, 12:05:23 AM6/10/08
to
"patrick" <patrick.k...@gmail.com> schrieb im Newsbeitrag
news:a4123a16-62a3-4bce...@s50g2000hsb.googlegroups.com...

> I'm trying to get the examdesign class working, but when I compile
> even the smallest test file,

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}?

patrick

unread,
Jun 10, 2008, 4:15:12 AM6/10/08
to
Thanks for your answer, Christian!

> 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.

Joseph Wright

unread,
Jun 10, 2008, 4:37:18 AM6/10/08
to

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

Joseph Wright

unread,
Jun 10, 2008, 4:39:43 AM6/10/08
to
On Jun 10, 9:37 am, Joseph Wright <joseph.wri...@morningstar2.co.uk>
wrote:

Hacking down the example reveals the \class macro is required. Try:

\documentclass{examdesign}
\class{Test}
\begin{document}
\end{document}

Joseph Wright

patrick

unread,
Jun 10, 2008, 8:26:31 AM6/10/08
to
Of course, I completely ignored anything like a file that ought to
work by design. Adding the class macro my file compiles correctly. Not
very obvious–but then again who uses the examdesign class without
giving the document a proper title? Yes, that would be me.

Thanks for the hacking!

bea...@gmail.com

unread,
Jan 25, 2015, 1:02:38 AM1/25/15
to
Thank you so much!
0 new messages