blefloch / latex-unravel

Watching TeX digest tokens
24 stars 1 forks source link

parshape not correctly supported #54

Closed Skillmon closed 6 months ago

Skillmon commented 2 years ago

The \parshape primitive support seems pretty broken in \unravel. Both of the following \unravel calls will incorrectly report that TeX will throw an error, even though both calls are actually fine.

\documentclass{article}

\RequirePackage{unravel}

\begin{document}
\unravel{\parshape=1 1cm 3cm this is some text that is parshaped.\par}

\unravel{\parshape1 1cm 3cm this is some text that is parshaped.\par}
\end{document}