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

I'm having trouble marrying combine and amsthm packages.

Minimal example:






\coltoctitle{Paper title}
\coltocauthor{Paper author}







Theorem statement

When I try to process it like that:

> pdflatex -halt-on-error -interaction nonstopmode compilation.tex

...I get the following:


LaTeX Warning: Unused global option(s):

(./compilation.aux) (/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd) (./compilation.toc)
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] (./paper1.tex
! Missing \endcsname inserted.
<to be read again> 
l.5 \newtheorem{theorem}{Theorem}[section]

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on compilation.log.

What could be causing this?

share|improve this question

This appears to be a bug with the combine package as the following illustrates. In case of bugs you should email the package author directly. The contact info is in the combine documentation.

%\documentclass[colclass=amsart]{combine}% Missing \endcsname inserted.
\documentclass[12pt]{amsart}% Works



        Theorem statement

You might want to consider using the standalone package, depending on what you want to achieve.

share|improve this answer

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.