-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closes: #5960 #5964
Closes: #5960 #5964
Conversation
Mumble
Codecov Report
@@ Coverage Diff @@
## 1.8 #5964 +/- ##
==========================================
- Coverage 82.14% 81.27% -0.88%
==========================================
Files 307 297 -10
Lines 40599 39858 -741
Branches 6278 5973 -305
==========================================
- Hits 33349 32393 -956
- Misses 5863 6042 +179
- Partials 1387 1423 +36
Continue to review full report at Codecov.
|
Actually I now prefer the layout of the new parskip package, because the vertical spacing after section headings really is too much with the old one. The downside is that the new Sphinx release would then have a different pdf output than earlier versions. |
@nioncode Thanks for suggestion, but no. The new parskip is used to modify core LaTeX macros, as well as core |
Thanks for reviewing, merging. |
I don't really know what's right or wrong in LaTeX terms, but to me it seems like the new parskip really has the right behavior now, because previously spacing after section headers were really big (which can be seen by having many (sub) sections that have only 1-2 lines; the spacing then is just weird). My understanding of There should at least be a way to NOT use the old revision in Sphinx. I think the only way after your merge would be to have a copy of parskip.sty in the build folder that ignores the old revision parameter. Is this the suggested usage from your point of view? |
@nioncode The new
line at its start. But assuming you deploy your project only on TeXLive 2018 type distributions (I don't recall offhand if initial TeXLive 2018 had LaTeX 2018-04-01, will check later), as you observed initial release did not have new parskip so you can add it your project by putting new file
This will override the |
Awesome, thanks for being so responsive and for fixing the original issue so quickly! |
If you want to use the new parskip on old systems, it should work by applying my previous comment but with a custom diff --git a/parskip.sty b/parskip.sty
index 5e3b3db..c0b9f33 100644
--- a/parskip.sty
+++ b/parskip.sty
@@ -36,11 +36,14 @@
%% (C) Copyright 1989 H.Partl, TU Wien
%% (C) Copyright 2001 Robin Fairbairns
%% (C) Copyright 2018-2019 Frank Mittelbach
-\NeedsTeXFormat{LaTeX2e}[2018-04-01]
+%%
+%% HACKED FOR PERSONAL USE
+\NeedsTeXFormat{LaTeX2e}%%[2018-04-01]
-\DeclareRelease {v1}{2001-04-09}{parskip-2001-04-09.sty}
-\DeclareCurrentRelease{v2}{2018-08-24}
-\ProvidesPackage{parskip}[2019-01-16 v2.0c non-zero parskip adjustments]
+%%\DeclareRelease {v1}{2001-04-09}{parskip-2001-04-09.sty}
+%%\DeclareCurrentRelease{v2}{2018-08-24}
+%%\ProvidesPackage{parskip}[2019-01-16 v2.0c non-zero parskip adjustments]
+\ProvidesPackage{parskip}[2019/01/16 v2.0c non-zero parskip adjustments]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{family=parskip,prefix=parskip@}
\DeclareStringOption[0pt]{indent}[\parindent] (untested). I neither recommend nor endorse this and maybe legally you will need to remove some more of the comments in the file. Edit: this indeed works on old systems. And it works on new (2018/04/01) LaTeX too, whether or not they have the new parskip installed. |
Mumble
Relates