I updated my TeXLive yesterday and thmtools is being problematic...

Running pdflatex on the following minimal example


is resulting in

Document Class: article 2007/10/19 v1.4h Standard LaTeX document class

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.

l.277     \ifthmt@isnumbered\else *

The particular file where this happens, tex/latex/thmtools/thm-kv.sty, has not changed (and I had no problem with the package a couple of days ago!), so something else is causing the error. I have no idea how to chase it, though.


  • 1
    I can be of no more help than to say that I can reproduce the problem with updated TeX Live in Ubuntu.
    – rvf0068
    May 4, 2012 at 2:34
  • I run MacTeX2011, and I can confirm that I can't compile your MWE either since running the latest package update, during which the entire oberdiek suite of packages was updated. Running tlmgr restore to revert to the previous version of the oberdiek suite restores the ability to compile your MWE. This strongly suggests that one or more of the packages of the oberdiek suite are causing the problem you're encountering. Judging from the .log file, the list of "suspect" packages comprises kvsetkeys, infwarerr, and etexcmds.
    – Mico
    May 4, 2012 at 2:34
  • 1
    I'll take a look this evening. I've had advance warning that a new release of kvsetkeys would break thmtools (yet again), apparently that has been released now. Until then, the workaround is to revert to the previous version of kvsetkeys. May 4, 2012 at 4:08

1 Answer 1


Should be fixed in v63 available here. Unless something major crops up, this version will go to CTAN early next week. (Testrunning it is much appreciated.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .