Hi, I was thinking it would be convenient to have a convenience function for writing to the aux file from Lua. See for example https://tex.stackexchange.com/questions/337469/write-to-aux-file-directly-from-lua A manual approach is possible, as described by the answer in that thread, of course. Regards, Faheem Mitha