diff options
| author | jfbu <jfbu@free.fr> | 2021-01-21 19:51:59 +0100 |
|---|---|---|
| committer | jfbu <jfbu@free.fr> | 2021-01-21 19:51:59 +0100 |
| commit | 11e7feb6fa8f94de42e4ebdcd8848ba81b259960 (patch) | |
| tree | acce85d4431d2ab7e34bb5443dadc029acfe5dcc | |
| parent | 82ef497a8c88f0f6e50d84520e7276bfbf65025d (diff) | |
| download | sphinx-git-11e7feb6fa8f94de42e4ebdcd8848ba81b259960.tar.gz | |
Closes: #8339
Handled as only a documentation issue.
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | doc/latex.rst | 6 | ||||
| -rw-r--r-- | sphinx/texinputs/sphinx.sty | 6 |
3 files changed, 10 insertions, 3 deletions
@@ -72,6 +72,7 @@ Bugs fixed * #8683: :confval:`html_last_updated_fmt` generates wrong time zone for %Z * #1112: ``download`` role creates duplicated copies when relative path is specified +* #8339: make latexpdf fails when using literal-blocks and fancybox package Testing -------- diff --git a/doc/latex.rst b/doc/latex.rst index 53fe9301a..039c72171 100644 --- a/doc/latex.rst +++ b/doc/latex.rst @@ -95,6 +95,12 @@ Keys that you may want to override include: A string which will be positioned early in the preamble, designed to contain ``\\PassOptionsToPackage{options}{foo}`` commands. + .. hint:: + + It may be also used for loading LaTeX packages very early in the + preamble. For example package ``fancybox`` is incompatible with + being loaded via the ``'preamble'`` key, it must be loaded earlier. + Default: ``''`` .. versionadded:: 1.4 diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 4b637a9ec..ed4f56869 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -966,9 +966,9 @@ % - with possibly of a top caption, non-separable by pagebreak. % - and usable inside tables or footnotes ("footnotehyper-sphinx"). -% For extensions which use \OriginalVerbatim and compatibility with Sphinx < -% 1.5, we define and use these when (unmodified) Verbatim will be needed. But -% Sphinx >= 1.5 does not modify the \Verbatim macro anymore. +% Prior to Sphinx 1.5, \Verbatim and \endVerbatim were modified by Sphinx. +% The aliases defined here are used in sphinxVerbatim environment and can +% serve as hook-points with no need to modify \Verbatim itself. \let\OriginalVerbatim \Verbatim \let\endOriginalVerbatim\endVerbatim |
