diff options
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | sphinx/texinputs/sphinx.sty | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -224,6 +224,8 @@ Bugs fixed * #5231: "make html" does not read and build "po" files in "locale" dir * #5954: ``:scale:`` image option may break PDF build if image in an admonition * #5966: mathjax has not been loaded on incremental build +* #5960: LaTeX: modified PDF layout since September 2018 TeXLive update of + :file:`parskip.sty` Testing -------- diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index b4708eb0e..3af7d3e1f 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -220,7 +220,13 @@ % For floating figures in the text. Better to load after float. \RequirePackage{wrapfig} % Separate paragraphs by space by default. -\RequirePackage{parskip} +\IfFileExists{parskip-2001-04-09.sty}% since September 2018 TeXLive update +% new parskip.sty, but let it rollback to old one. +% hopefully TeX installation not broken and LaTeX kernel not too old + {\RequirePackage{parskip}[=v1]} +% standard one from 1989. Admittedly \section of article/book gives possibly +% anomalous spacing, but we can't require September 2018 release for some time. + {\RequirePackage{parskip}} % For parsed-literal blocks. \RequirePackage{alltt} % Display "real" single quotes in literal blocks. |