Just updated to the 20 December build of the Oberdiek package, on my TeXLive installation. Files that compiled without problems are now throwing the following error:

./Preamble.tex:78: Undefined control sequence.
\kv@processor@default ...lt {#1}{\etex@unexpanded 

which appears when I use \declaretheoremstyle of the thmtools package. The packages kvdefinekeys and kvsetkeys are installed and working well.

Does anybody know an explanation and a workaround?

Here is a compilable example


  • Can you please show a compilable example? Commented Dec 21, 2019 at 11:43
  • @PhelypeOleinik Done.
    – brunoh
    Commented Dec 21, 2019 at 11:50
  • As a workaround, you can load \usepackage{etexcmds}... Commented Dec 21, 2019 at 11:53
  • @PhelypeOleinik well, it does work know. Thank you very much for your perfect reactivity & suggestion. Can you please post your comment as an answer that I can accept?
    – brunoh
    Commented Dec 21, 2019 at 11:56
  • @PhelypeOleinik and if you have one minute, can you also explain to me a bit what happened?
    – brunoh
    Commented Dec 21, 2019 at 11:57

2 Answers 2


As part of The Big Oberdiek Split™, the kvsetkeys package (loaded by thmtools) was removed from the Oberdiek bundle, and the etexcmds package was removed from kvsetkeys (probably because its usefulness is debatable) in this commit, so thmtools, which relied on kvsetkeys loading etextools now breaks. That is one of the reasons why relying on a package loading another package is a bad idea: if you need the package, load it.

That said, as a workaround until thmtools is fixed, you can load etexcmds manually.


I uploaded a fixed version to CTAN that takes the dependency out, but it will take a couple of days to arrive.

I don't consider myself the maintainer of the package though ... so anyone really interested in this package please consider taking on the maintenance. I'm already doing support for too many packages that aren't mine.

  • Thanks for fixing :-) Commented Dec 23, 2019 at 14:43
  • 1
    Xmas present :-) ... well asuming I made no mistake Commented Dec 24, 2019 at 11:20
  • @FrankMittelbach thanks for your present! everything works fine again for me as before, without using the etxcmds package
    – brunoh
    Commented Dec 26, 2019 at 13:09
  • @brunoh welcome --- appreciation and sponsoring of LaTeX development and maintenance is possible :-) Commented Dec 26, 2019 at 23:56
  • Using TL utility I wasn't able to get the (strongly) needed files up to know. At which repository are they available? Thanks in advance. Commented Jan 1, 2020 at 20:00

You must log in to answer this question.

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