I updated my TeXLive yesterday and thmtools is being problematic...
Running pdflatex on the following minimal example
\documentclass{article}
\usepackage{thmtools}
\begin{document}
Hello
\end{document}
is resulting in
(/opt/TeX/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/opt/TeX/2011/texmf-dist/tex/latex/base/size10.clo))
(/opt/TeX/2011/texmf-dist/tex/latex/thmtools/thmtools.sty
(/opt/TeX/2011/texmf-dist/tex/latex/thmtools/thm-patch.sty
(/opt/TeX/2011/texmf-dist/tex/latex/thmtools/parseargs.sty))
(/opt/TeX/2011/texmf-dist/tex/latex/thmtools/thm-kv.sty
(/opt/TeX/2011/texmf-dist/tex/latex/graphics/keyval.sty)
(/opt/TeX/2011/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/opt/TeX/2011/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/opt/TeX/2011/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/opt/TeX/2011/texmf-dist/tex/generic/oberdiek/ifluatex.sty)))
! 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 *
\fi
?
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.
Ideas?
oberdieksuite of packages was updated. Runningtlmgr restoreto revert to the previous version of theoberdieksuite restores the ability to compile your MWE. This strongly suggests that one or more of the packages of theoberdieksuite are causing the problem you're encountering. Judging from the.logfile, the list of "suspect" packages compriseskvsetkeys,infwarerr, andetexcmds. – Mico May 4 '12 at 2:34kvsetkeyswould break thmtools (yet again), apparently that has been released now. Until then, the workaround is to revert to the previous version ofkvsetkeys. – Ulrich Schwarz May 4 '12 at 4:08