matze-dd/Tex2txt

Macro may skip too much white space

Closed this issue · 0 comments

A problem similar to the one in script function split_sec() occurs in general. Assume that \xyz is a macro without arguments that yields an empty string and is expanded after \textcolor. Then

\textcolor{red}{This\xyz} is a problem.

will create the script output

Thisis a problem.

Looking for a preferably general solution.