blefloch / latex-unravel

Watching TeX digest tokens
25 stars 1 forks source link

Unravel until a quark #41

Closed blefloch closed 3 years ago

blefloch commented 4 years ago

The various prompt_input_clist variables should be sequences instead. Otherwise,

\RequirePackage{unravel}
\ExplSyntaxOn
\unravel[prompt-input=u\q_nil]{\c_space_tl\boom\q_nil}

(for instance) does not continue unravelling until \q_nil. Basically, \q_nil messes up clist internals. This specific case would be fixed by fixing https://github.com/latex3/latex3/issues/593 but unravel needs to work also for private quarks, so using a sequence is better.

Found by P.O. at https://tex.stackexchange.com/a/496786/2707