texlive bug

David Carlisle d.p.carlisle at gmail.com
Wed Oct 14 12:40:35 CEST 2020


I was just going to reply the same that I don't see how the kern worked
before at all.
In the new format you can simply use

 \put(\textwidth+30pt,-\cvprruleroffset)

No need for the  LenToUnit  so something like


\ifx\@defaultunitsset\@undefined
        \put(\LenToUnit{\textwidth\kern
30pt},\LenToUnit{-\cvprruleroffset}){%right ruler
          \cvprruler{\cvprrulercount}}
\else
        \put(\textwidth+30pt,-\cvprruleroffset){%right ruler
          \cvprruler{\cvprrulercount}}
\fi


although the old version with \textwidth\kern 30pt can't really be doing
anything sensible.






On Wed, 14 Oct 2020 at 11:36, Hironobu Yamashita <
h.y.acetaminophen at gmail.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20201014/bc3ba3ec/attachment.html>


More information about the tex-live mailing list.