texlive[55560] Master/texmf-dist: parskip (15jun20)
commits+karl at tug.org
commits+karl at tug.org
Mon Jun 15 22:42:53 CEST 2020
Revision: 55560
http://tug.org/svn/texlive?view=revision&revision=55560
Author: karl
Date: 2020-06-15 22:42:53 +0200 (Mon, 15 Jun 2020)
Log Message:
-----------
parskip (15jun20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/parskip/MANIFEST.md
trunk/Master/texmf-dist/doc/latex/parskip/changes.txt
trunk/Master/texmf-dist/doc/latex/parskip/parskip-code.pdf
trunk/Master/texmf-dist/doc/latex/parskip/parskip.pdf
trunk/Master/texmf-dist/source/latex/parskip/parskip.dtx
trunk/Master/texmf-dist/tex/latex/parskip/parskip.sty
Modified: trunk/Master/texmf-dist/doc/latex/parskip/MANIFEST.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/parskip/MANIFEST.md 2020-06-15 20:42:38 UTC (rev 55559)
+++ trunk/Master/texmf-dist/doc/latex/parskip/MANIFEST.md 2020-06-15 20:42:53 UTC (rev 55560)
@@ -58,6 +58,7 @@
different engines (pdfTeX, XeTeX, LuaTeX, etc.).
* github-0012.lvt
+* github-0014.lvt
* parskip-000.lvt
* parskip-001.lvt
* parskip-002.lvt
@@ -67,6 +68,7 @@
* parskip-006.lvt
* sx-450551.lvt
* github-0012.tlg
+* github-0014.tlg
* parskip-000.tlg
* parskip-001.tlg
* parskip-002.tlg
Modified: trunk/Master/texmf-dist/doc/latex/parskip/changes.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/parskip/changes.txt 2020-06-15 20:42:38 UTC (rev 55559)
+++ trunk/Master/texmf-dist/doc/latex/parskip/changes.txt 2020-06-15 20:42:53 UTC (rev 55560)
@@ -1,3 +1,10 @@
+#### placed on CTAN as 2.0f ####
+
+2020-06-15 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * parskip.dtx (subsubsection{Option handling}):
+ Allow skip key without value without a package error (gh/14)
+
#### placed on CTAN as 2.0e ####
2020-05-19 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
Modified: trunk/Master/texmf-dist/doc/latex/parskip/parskip-code.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/parskip/parskip.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/parskip/parskip.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/parskip/parskip.dtx 2020-06-15 20:42:38 UTC (rev 55559)
+++ trunk/Master/texmf-dist/source/latex/parskip/parskip.dtx 2020-06-15 20:42:53 UTC (rev 55560)
@@ -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 at 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.
%
Modified: trunk/Master/texmf-dist/tex/latex/parskip/parskip.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/parskip/parskip.sty 2020-06-15 20:42:38 UTC (rev 55559)
+++ trunk/Master/texmf-dist/tex/latex/parskip/parskip.sty 2020-06-15 20:42:53 UTC (rev 55560)
@@ -40,17 +40,16 @@
\DeclareRelease {v1}{2001-04-09}{parskip-2001-04-09.sty}
\DeclareCurrentRelease{v2}{2018-08-24}
-\ProvidesPackage{parskip}[2020-05-19 v2.0e non-zero parskip adjustments]
+\ProvidesPackage{parskip}[2020-06-15 v2.0f non-zero parskip adjustments]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{family=parskip,prefix=parskip@}
\DeclareStringOption[0pt]{indent}[\parindent]
\DeclareStringOption[0pt]{parfill}[30pt]
-\DeclareStringOption{skip}
+\DeclareStringOption{skip}[]
\DeclareStringOption[0pt]{tocskip}[\parskip]
\ProcessKeyvalOptions*
\ifx\parskip at skip\@empty
- \parskip.5\baselineskip
- \advance\parskip 0pt plus 2pt\relax
+ \parskip=.5\baselineskip plus 2pt\relax
\else
\setlength\parskip\parskip at skip
\fi
More information about the tex-live-commits
mailing list.