How can I found out which packages cause problems with the class svjour3?
After many compilations I found out that the problem lies in of the packages I use. The code is below and does not produce a pdf.
EDIT 1: The file svjour3.cls was modified on 1/10/2008. I use MiKTeX 2.9.
EDIT 2: The error is
! TeX capacity exceeded, sorry [input stack size=5000].
\cl@chapter ->\cl@chapter
\@elt {theorem}
l.2486 }{}
% end of \@ifpackageloaded{amsmath}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on probleem.log.
PDFLaTeX Compilation Report:
(Pages: 0) Errors: 2 Warnings: 2 Bad Boxes: 0
\documentclass[smallextended]{svjour3}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{undertilde}
\usepackage{amstext}
\usepackage{amsthm}
\usepackage{epsfig}
\usepackage{graphics}
\usepackage{color}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{float}
\usepackage{subfigure}
\usepackage[sort&compress,round,comma,authoryear]{natbib}%bibtex
\usepackage{mathtools}
\usepackage{epstopdf}
\usepackage[titletoc,title]{appendix}% for appendix met A
\usepackage{cleveref}
\usepackage{dcolumn}
\begin{document}
Hello
\end{document}
svjourand important which error message did you get? Please add theese infos to your question! – Mensch Aug 31 '16 at 18:14\ProvidesClass{svjour3}[2007/05/08 v3.2... – Mensch Aug 31 '16 at 18:31