Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calc : \global assignment of lenght does not work anymore. #58

Closed
maieul opened this issue Jul 15, 2018 · 1 comment
Closed

Calc : \global assignment of lenght does not work anymore. #58

maieul opened this issue Jul 15, 2018 · 1 comment

Comments

@maieul
Copy link

maieul commented Jul 15, 2018

Brief outline of the bug

Normaly, a \global before a \setlength make a global assignment.
With the calc package, it does not work anymore,

Minimal example showing the bug

\RequirePackage{latexbug}
\documentclass{article}
\usepackage{calc}
\begin{document}
\newlength{\toto}
\begingroup
\global\setlength{\toto}{2pt}
\endgroup
\the\toto
\end{document}


Log file (required) and possibly PDF file

toto.log
toto.pdf

@davidcarlisle
Copy link
Member

sorry this is not a bug \global is never supported with \setlength although without calc it sort of half works by accident. With calc it does not work at all,

maieul added a commit to maieul/ledmac that referenced this issue Jul 15, 2018
maieul added a commit to maieul/ledmac that referenced this issue Jul 15, 2018
This reverts commit 3d68aa9.

Bon, ok, je devrais utiliser un = et pas un \setlength
FrankMittelbach added a commit that referenced this issue Mar 12, 2024
* support for hang option of footmisc

* typo and missing test update (probably more to show up)

* updating more tests

* update date/version and changes.txt

* attempt to patch a few more styles/classes (that contain \makebox rather than \hb@xt@)

* mumble

* tag note label if hang option is used (this is missing a test!)

* try again with tagging temp disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants