It would be nice to be able to type until \somecs and have unravel do all the steps until the first token of the token list is \somecs. Even better if more than one token can be specified in this way. For instance, one could respond until \begin{document} after calling \unravel{\input{main.tex}}.
Syntax chosen: u followed by some text. The match is done with string comparison because in any case the user's input when using \unravel is taken as a string.
It would be nice to be able to type
until \somecs
and haveunravel
do all the steps until the first token of the token list is\somecs
. Even better if more than one token can be specified in this way. For instance, one could responduntil \begin{document}
after calling\unravel{\input{main.tex}}
.