diff options
author | jfbu <jfbu@free.fr> | 2019-01-22 09:45:11 +0100 |
---|---|---|
committer | jfbu <jfbu@free.fr> | 2019-01-22 09:45:11 +0100 |
commit | f2536b145ee0c79eca29cf5c8ef0b6bad20147dd (patch) | |
tree | be7c8bc94686300a052a77b7cc13d4c2be9fb782 | |
parent | 52a9a1a81862469ce040103e652f09ec90afb146 (diff) | |
parent | a11a74287f7b26f1eb633c1a739eb493bdd949ee (diff) | |
download | sphinx-git-f2536b145ee0c79eca29cf5c8ef0b6bad20147dd.tar.gz |
Merge branch '1.8'
-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. |