new_tex_document renames text.$EXT to the destination directory name; the other templates all use that name. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>