> I've posted a question to: > > https://tex.stackexchange.com/questions/478216/building-a-token-list-in-lua JFYI, here is a solution (by Marcel Krüger), with an interesting trick: https://tex.stackexchange.com/questions/478216/building-a-token-list-in-lua/478250#478250 Javier