[tex-k] detex bug

Peter Breitenlohner peb at mppmu.mpg.de
Tue Jun 7 14:11:30 CEST 2011


On Wed, 1 Jun 2011, Paul Vojta wrote:

> When I process the following file through "detex -l"
>
> ------------------------
> \documentclass{minimal}
> \begin{document}
> some text \kern-1em$A B$ more text $xyz$ still more text
> \end{document}
> ------------------------
>
> the output is
>
> ------------------------
>
>
> some text Bxyz
>
> ------------------------
>
> which is incorrect.  (Adding a space after \kern-1em is a workaround.)

Hi Paul,

I have somewhat modified the handling of \kern and glue specs in detex.l (TL
SVN r22846).  Please have a look, your example and various generalizations
should now work.

Regards
Peter


More information about the tex-k mailing list