blefloch / latex-unravel

Watching TeX digest tokens
24 stars 1 forks source link

Dimen assignment with factor in front of an implicit `<number>` fails #39

Closed jfbu closed 4 years ago

jfbu commented 4 years ago

Sorry for bad vocabulary (not time to check e.g. TeX by Topic for exact one).

This fails with current master at 9461aa1fdf4

\documentclass{article}
\usepackage{unravel}

\begin{document}

% raises error
\unravel{\dimen255=3\catcode`\p\relax}

% this is ok
\dimen255=3\catcode`\p\relax

\number\dimen255 % 33 = 3 times 11

\end{document}

I have inserted the \relax only for extra safety.

blefloch commented 4 years ago

Thanks for the report. It's always appreciated.