Am I doing something wrong and is this meant to happen?
%\documentclass{minimal} edit: should not be used
\documentclass{article}
\usepackage{tkz-euclide}
\usetkzobj{all}
\RequirePackage[l2tabu,orthodox]{nag}
\begin{document}
\begin{center}
\begin{tikzpicture}
\tkzInit[xmin=-9, xmax=6, ymin=-0.7, ymax=5]
\tkzDefPoint(0,0){x}
\tkzDrawPoints(x)
\tkzLabelPoints[below](x)
\end{tikzpicture}
\end{center}
\end{document}
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>
\fi
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>
\par
- Could someone explain this error message to me.
- If I comment out either
\RequirePackage[..]{nag}or\tkzInit[..]the error vanishes.
minimaldocument class. See Why not use the minimal class. – Peter Grill Jul 2 '12 at 0:52\Requirepackageshould be\usepackageand you might prefer\centering. – percusse Jul 2 '12 at 1:01U+2CC6 COPTIC CAPITAL LETTER OLD COPTIC ESHin your user name, rather thanU+2215 DIVISION SLASH? – Caramdir Jul 2 '12 at 1:01