! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.7 \begin{document}
?
Missing character: There is no b in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no g in font nullfont!
Missing character: There is no i in font nullfont!
Missing character: There is no n in font nullfont!
Missing character: There is no d in font nullfont!
Missing character: There is no o in font nullfont!
Missing character: There is no c in font nullfont!
Missing character: There is no u in font nullfont!
Missing character: There is no m in font nullfont!
Missing character: There is no e in font nullfont!
Missing character: There is no n in font nullfont!
Missing character: There is no t in font nullfont!
The error disappears, if I load zref-clever before pseudo, or if I do not load tcolorbox. I guess, this is somehow related to the \AtEndPreamble (which can by the way be replaced by an \AddToHook { begindocument / before }) at the end of pseudo.sty.
The following file produces a somewhat ironical error at
\begin{document}
:The error disappears, if I load
zref-clever
beforepseudo
, or if I do not loadtcolorbox
. I guess, this is somehow related to the\AtEndPreamble
(which can by the way be replaced by an\AddToHook { begindocument / before }
) at the end ofpseudo.sty
.