LuaTeX support for automatic formatting of TEI markup