diff options
author | Jean-François B <2589111+jfbu@users.noreply.github.com> | 2023-03-07 13:58:02 +0100 |
---|---|---|
committer | Jean-François B <2589111+jfbu@users.noreply.github.com> | 2023-03-07 13:58:02 +0100 |
commit | e39949fed0db12f776bd193efece700631eb8c4c (patch) | |
tree | d35f5589b0e0974fd4686a84018a35352a860fa2 | |
parent | 3a142d99cb8ff2f73392f47c6de27cbf075d1192 (diff) | |
download | sphinx-git-e39949fed0db12f776bd193efece700631eb8c4c.tar.gz |
Update some LaTeX comments and documentation after #11224
-rw-r--r-- | doc/latex.rst | 1 | ||||
-rw-r--r-- | sphinx/texinputs/sphinx.sty | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/latex.rst b/doc/latex.rst index 8861d7ad0..ea77a9435 100644 --- a/doc/latex.rst +++ b/doc/latex.rst @@ -1462,7 +1462,6 @@ optional argument, which is a comma-separated list of key=value pairs, as for - ``border-width``, - ``border-top-width``, ``border-right-width``, ``border-bottom-width``, ``border-left-width``, -- ``box-decoration-break``, - ``padding``, - ``padding-top``, ``padding-right``, ``padding-bottom``, ``padding-left``, - ``border-radius``, diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 2c23e9f30..f1896902e 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -693,7 +693,13 @@ will be set to white}% {border-right-width}% {border-bottom-width}% {border-left-width}% - {box-decoration-break}% + {box-decoration-break}% This one is actually useless, as \sphinxbox + % creates an unbreakable horizontal box, not a breakable vertical + % box. And as is well-known it is very complicated (not to say + % impossible) to create in LaTeX breakable horizontal boxes. No + % package offers them. See the complications for the support of + % verbatimforcewraps in sphinxlatexliterals.sty or see the source + % code of the soul or soulutf8 packages. {padding}% {padding-top}% {padding-right}% |