Использую TexLive 2021. Была вот такая ошибка и в latex и в xelatex.
Error “Output routine didn't use all of \box255.”
! Undefined control sequence.
\ESKDstyle ...imb }{\paperheight }\fi \changetext
{\ESKD@tmpdimb -\ESKD@marg...
l.1047 \ESKDstyle{\ESKD@default@style@other}