With an up to date TL 2015, the following minimal example:
% \RequirePackage{etex}
\documentclass{article}
\usepackage{l3keys2e}
\usepackage{titlesec}
\usepackage{adjustbox}
\usepackage{footmisc}
\usepackage{booktabs}
\usepackage{mathtools}
\usepackage{microtype}
\usepackage{enumitem}
\usepackage{bookmark}
\usepackage{glossaries}
\usepackage{autonum}
\begin{document}
\end{document}
is non working:
Package etex Warning: Extended allocation already in use.
(etex) etex.sty code will not be used.
(etex) To force etex package to load, add
(etex) \RequirePackage{etex}
(etex) at the start of the document.
)
! Undefined control sequence.
l.905 \globcount
\ettl@for@nested
?
! Undefined control sequence.
l.905 \globcount\ettl@for@nested
?
because of the autonum package. But, it becomes working as soon as:
- either one of the packages before
autonumis removed (not relevant in my case: I need these packages), - or
autonumis loaded before the other packages (not relevant in my case: I also need thecleverefpackage which is required to be loaded as the last one, with two exceptions:hypdvipsand...autonum), - or the
etexpackage is loaded, as suggested in the above warning (but this package is nowadays considered as obsolete).
Do you understand what's going on? Is it safe to use etex though it is obsolete?
etextools, which is buggy and not recommended. – egreg Jan 04 '16 at 17:15