diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-15 20:42:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-15 20:42:53 +0000 |
commit | 93149e68a9a7e4c41183cda27b7a494de6edeb40 (patch) | |
tree | 3eec66df4de1122e04fe5fb4b2607f145a27613e /Master/texmf-dist/source/latex/parskip | |
parent | 14cedc26959371771ab85ac7870a90171686c0bd (diff) |
parskip (15jun20)
git-svn-id: svn://tug.org/texlive/trunk@55560 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/parskip')
-rw-r--r-- | Master/texmf-dist/source/latex/parskip/parskip.dtx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/parskip/parskip.dtx b/Master/texmf-dist/source/latex/parskip/parskip.dtx index eea08157f68..6b4f87b48b0 100644 --- a/Master/texmf-dist/source/latex/parskip/parskip.dtx +++ b/Master/texmf-dist/source/latex/parskip/parskip.dtx @@ -183,7 +183,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesPackage{parskip}[2020-05-19 v2.0e non-zero parskip adjustments] +\ProvidesPackage{parskip}[2020-06-15 v2.0f non-zero parskip adjustments] % \end{macrocode} % % @@ -219,9 +219,11 @@ % flexibility. If given, one need to provide an explicit value which % is then used as a separation (and it needs to contain any extra % stretch if that is wanted, i.e., there is no extra stretch added -% in this case). +% in this case). +% \changes{v2.0f}{2020/06/15}{Allow \texttt{skip} key without value +% without a package error (gh/14)} % \begin{macrocode} -\DeclareStringOption{skip} +\DeclareStringOption{skip}[] % \end{macrocode} % % The key \option{tocskip} defines the vertical separation inside the lists @@ -244,11 +246,10 @@ \ifx\parskip@skip\@empty % \end{macrocode} % If no \option{skip} was given (or it was empty) set \cs{parskip} -% to \verb=.5\baselineskip= plus \texttt{2pt} stretch. This has to -% be done in 2 steps as \cs{baselineskip} might already contain a stretch. +% to half of \verb=.5\baselineskip= plus \texttt{2pt} stretch. Stretch +% or shrink inside \cs{baselineskip} is ignored in this case. % \begin{macrocode} - \parskip.5\baselineskip - \advance\parskip 0pt plus 2pt\relax + \parskip=.5\baselineskip plus 2pt\relax \else % \end{macrocode} % Otherwise set it to the specified value: @@ -294,7 +295,8 @@ % \topsep = \z@ % add nothing to \parskip before first item %\end{verbatim} % -% However, if the user explicitly asked for a zero parskip (via the \option{skip} option) we +% However, if the user explicitly asked for a zero parskip (via the +% \option{skip} option) we % shouldn't do this but rather keep the default list settings, so % we better check for this. % |