Fix "latex" writer broken in [r9541].
commitf958d7a5066e83d05b7e339e927fa2fdc283624a
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 17 Mar 2024 23:31:04 +0000 (17 23:31 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 17 Mar 2024 23:31:04 +0000 (17 23:31 +0000)
tree7b906eb85d9d0a3c79375a7c8ae120c13e628829
parentfef321db5f1fff690b365b60c9cac025322e4eb3
Fix "latex" writer broken in [r9541].

Adding the "template" setting to the list of registered
"relative paths" prevented finding the default template file
in the LATEX_WRITER_DIR.

Unfortunately, the test suite did not detect this breakage.
It seems only to happen when using the "latex" writer from the command line
(via rst2latex or docutils --writer="latex").

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9581 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docs/ref/doctree.txt
docutils/docs/ref/rst/directives.txt
docutils/docutils/writers/latex2e/__init__.py