texlive bug

Hironobu Yamashita h.y.acetaminophen at gmail.com
Wed Oct 14 12:34:44 CEST 2020


Hi,

> It seems that LaTeX2e 2020-10-01 update is somehow related.

I identified the problem in cvpr.cls; it contains two lines
        \put(\LenToUnit{\textwidth\kern
30pt},\LenToUnit{-\cvprruleroffset}){%right ruler
and
        \put(\LenToUnit{\textwidth\kern-8pt},\LenToUnit{45pt}){\pid}
in the \makevruler definitions.

Such a usage of \LenToUnit is quite unexpected, and completely unreasonable.
They should be
        \put(\LenToUnit{\dimexpr\textwidth+30pt},\LenToUnit{-\cvprruleroffset}){%right
ruler
and
        \put(\LenToUnit{\dimexpr\textwidth-8pt},\LenToUnit{45pt}){\pid}
respectively.  The reason why the behavior changed is that
LaTeX2e 2020-10-01 changed the expansion procedure of \put arguments.

You should report to the maintainer of cvpr.cls.

% cvpr.cls contains lots of spaghetti codes, which are copied from old
versions of
% everyshi.sty and eso-pic.sty; that is another issue, which may break
in the future.

Best,
Hironobu


More information about the tex-live mailing list.