TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Am I doing something wrong and is this meant to happen?

%\documentclass{minimal} edit: should not be used
     \tkzInit[xmin=-9, xmax=6, ymin=-0.7, ymax=5]

If I try to compile this (with pdflatex or xelatex) I get the following error

! Incomplete \iffalse; all text was ignored after line xx.
<inserted text> 

If I leave off the \begin{center} and corresponding \end{center} the error message changes to:

Runaway argument?
\@xa \looseends \@xa :\@xa =\nag@envstack \do {\@xa \ifx \looseends \relax \ETC.
! File ended while scanning use of \@tfor.
<inserted text> 
  1. Could someone explain this error message to me.
  2. If I comment out either \RequirePackage[..]{nag} or \tkzInit[..] the error vanishes.
share|improve this question
Not that this answers your question, but you should not use the minimal document class. See Why not use the minimal class. – Peter Grill Jul 2 '12 at 0:52
thanks for the info - changed the code accordingly – epsilonhalbe Jul 2 '12 at 0:56
Also \Requirepackage should be \usepackage and you might prefer \centering. – percusse Jul 2 '12 at 1:01
On a completely unrelated topic, @epsilon. Are you sure that you want to use U+2CC6 COPTIC CAPITAL LETTER OLD COPTIC ESH in your user name, rather than U+2215 DIVISION SLASH? – Caramdir Jul 2 '12 at 1:01
I think you're not allowed to use non letter symbols in names - so division slash is no option - but I am not really happy with it - and have to wait till july 22nd to change my name back to epsilonhalbe – epsilonhalbe Jul 2 '12 at 1:13
up vote 7 down vote accepted

There is a name conflict between nag.sty and tkz-tools-base.tex (which is input via tkz-euclide.sty).

From nag.sty:


From tkz-tools-base.tex:


Without one (or both) of the two package authors resolving the conflict by renaming things, I don't think you use the two packages together.

share|improve this answer
Yes you are right. This problem disappears with the new file tkz-tools-base.tex but I need times before to upload anew version on CTAN because I have some littles corrections to add. – Alain Matthes Jul 2 '12 at 5:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.