luaT: dok -> md