Fix #10984 [DOC] document latex_additional_files behavior with .tex (#10993)

This commit is contained in:
Jean-François B
2022-11-30 18:52:48 +01:00
committed by GitHub
parent cd3f2e4350
commit b1ca6b3e12
3 changed files with 15 additions and 0 deletions

View File

@@ -2372,6 +2372,15 @@ These options influence LaTeX output.
You have to make sure yourself that the filenames don't collide with those
of any automatically copied files.
.. attention::
Filenames with extension ``.tex`` will automatically be handed over to
the PDF build process triggered by :option:`sphinx-build -M`
``latexpdf`` or by :program:`make latexpdf`. If the file was added only
to be ``\input{}`` from a modified preamble, you must add a further
suffix such as ``.txt`` to the filename and adjust accordingly the
``\input{}`` command added to the LaTeX document preamble.
.. versionadded:: 0.6
.. versionchanged:: 1.2