Hello,
when compiling my file LaTeX shows no error except the one written in the subject line:
File ended while scanning use of \@ssect.
This is my LaTeX Code:
\documentclass[12pt]{article}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{a4paper}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{booktabs}
\usepackage{array}
\usepackage{paralist}
\usepackage{verbatim}
\usepackage{subfig}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}
\lhead{}\chead{}\rhead{}
\lfoot{}\cfoot{\thepage}\rfoot{}
\usepackage{sectsty}
\allsectionsfont{\sffamily\mdseries\upshape}
\usepackage[nottoc,notlof,notlot]{tocbibind}
\usepackage[titles,subfigure]{tocloft}
\renewcommand{\cftsecfont}{\rmfamily\mdseries\upshape}
\renewcommand{\cftsecpagefont}{\rmfamily\mdseries\upshape}
\title{\textbf{...}}
\date{\textbf{...}}
\author{...}
\begin{document}
\newgeometry{...}
\maketitle
\tableofcontents
\newpage
\section{...}
\subsection{...}
\subsubsection*{...}
\subsubsection*{...}
\end{document}
Note that I took an already existing file and changed only the content of the document. I kept the packages as they were.
What might be the reason for the error? Thanks in advance for your help!
Text Formatting ⇒ File ended while scanning use of \@ssect.
NEW: TikZ book now 40% off at Amazon.com for a short time.

File ended while scanning use of \@ssect.
Just found the problem. It was a missing }… Why does Latex doesn't indicate the line in such case?
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
File ended while scanning use of \@ssect.
Welcome to the forum!
It's probably just the LaTeX editor that didn't show it. In the .log file you can see what LaTeX wrote as complete message.
If you like, post the .log file here as attachment.
Stefan
It's probably just the LaTeX editor that didn't show it. In the .log file you can see what LaTeX wrote as complete message.
If you like, post the .log file here as attachment.
Stefan
LaTeX.org admin