Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I was typesetting a paper with MiKTeX when I got a strange error. Usually I try to Google most of the stuff but I could not figure this one out. I have used \documentclass[12pt,a4paper]{article} after some \section and some \subsection I get an error on the first line (the \documentclass[12pt,a4paper]{article} part) Why?

I have a section with 9 subsections without problems, but if a make it 10 subsections it immediately gives an error at line 1. (even if I just copy paste subsection 9, so there is no error with that I guess)


From a comment:

\documentclass[12pt,a4paper]{article}
\usepackage[dutch]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{parskip}
\usepackage[pdftex]{graphicx}
\usepackage{color}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{soul}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\parindent=0pt
\parskip=\smallskipamount
\frenchspacing
\begin{document}
…
\end{document}
share|improve this question
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – Corentin Oct 2 '12 at 16:50
Are you perhaps using \input? – egreg Oct 2 '12 at 17:20
1  
@Mehmet You can edit your own question to append more code. – Qrrbrbirlbel Oct 2 '12 at 17:38
@Mehmet Please, add the titles of the subsections to your question. – egreg Oct 2 '12 at 17:56
The line \subsection{\emph{Langstudeerders haken af bij Inholland} is missing a close brace at the end. – Ian Thompson Oct 2 '12 at 20:00
show 4 more comments

closed as too localized by Ian Thompson, cgnieder, Martin Schröder, lockstep, Paul Gaborit Oct 3 '12 at 1:12

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.