>>> My original question was how to generate in lua >>> the token list to feed the data field (ie, ???) I've posted a question to: https://tex.stackexchange.com/questions/478216/building-a-token-list-in-lua Javier