From: Mark Wooding Date: Mon, 7 Sep 2020 01:00:14 +0000 (+0100) Subject: poetry.dtx (\maybe@unskip): Match the version in `mdwtab'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mdwtools/commitdiff_plain/6a1388ae98e3c04d9d0bf4d99249b228a7934bd9?hp=11222df6d22f1e7decc2c476f290e141ea9b3a90 poetry.dtx (\maybe@unskip): Match the version in `mdwtab'. I don't actually know why these were different. Both versions appear to have been there forever, though it's clear that these packages had lives before they were checked into CVS in 2002. Obviously, since these have the same name, they should have the same definition. The `mdwtab' version is more robust (checking `\ifhmode' before applying `\hskip'), and slightly more refined (using `\m@ne' rather than `-\@ne'), so I'm going with that one. --- diff --git a/poetry.dtx b/poetry.dtx index 4cf8596..3b0ade1 100644 --- a/poetry.dtx +++ b/poetry.dtx @@ -468,7 +468,7 @@ % a \ by a \ kills off the stretch. % % \begin{macrocode} -\def\@maybe@unskip{\hskip-\@ne\lastskip\relax} +\def\@maybe@unskip{\ifhmode\hskip\m@ne\lastskip\relax\fi} % \end{macrocode} % % \end{macro}