rolfn / eso-pic

LaTeX package to add pic­ture com­mands (or back­grounds) to ev­ery page
Other
4 stars 1 forks source link

Problem in eso-pic example on LaTeX2e 2020-10-01 #1

Closed rolfn closed 4 years ago

rolfn commented 4 years ago

In a personal email Hironobu Yamashita wrote:

Hi Rolf,

The example file ``eso-ex1.tex'' of eso-pic package
does NOT work fine with latex-dev (LaTeX2e 2020-10-01).
See attached.

Ulrike kindly told me the reason:
https://chat.stackexchange.com/transcript/message/55660212#55660212

> \@tempdimc doesn't have the value the code expect as the
> length is now used internally too and so changes.
> The example shouldn't use such temp lengths, if it can't
> be sure that other code interferes.

Actually, `\@tempdimc` is newly used in the definition of
\put etc., since LaTeX2e 2020-10-01.

I think you can replace \@tempdimc e.g. by \my@tempdimc:

\newdimen\my@tempdima
\newdimen\my@tempdimb
\newdimen\my@tempdimc

and use them in the calculation in ``eso-ex1.tex''

Best regards,
Hironobu Yamashita
rolfn commented 4 years ago

I changed the calculation in eso-ex1.tex so that system dimension registers are no longer used. Similar changes also in eso-pic.sty.