summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/parskip
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-06-16 03:02:40 +0000
committerNorbert Preining <norbert@preining.info>2020-06-16 03:02:40 +0000
commit305bf45bf758ea76ec5be2a737bd8eb491f68921 (patch)
treea0d6ad7bdfc7a258d831c6dd746484263ff66b10 /macros/latex/contrib/parskip
parent539648a9305d6107a588ecdff34b5cdce48fb930 (diff)
CTAN sync 202006160302
Diffstat (limited to 'macros/latex/contrib/parskip')
-rw-r--r--macros/latex/contrib/parskip/MANIFEST.md2
-rw-r--r--macros/latex/contrib/parskip/changes.txt7
-rw-r--r--macros/latex/contrib/parskip/parskip-code.pdfbin226081 -> 226324 bytes
-rw-r--r--macros/latex/contrib/parskip/parskip.dtx18
-rw-r--r--macros/latex/contrib/parskip/parskip.pdfbin175049 -> 175119 bytes
5 files changed, 19 insertions, 8 deletions
diff --git a/macros/latex/contrib/parskip/MANIFEST.md b/macros/latex/contrib/parskip/MANIFEST.md
index ec8a0eebe0..349bd5e50c 100644
--- a/macros/latex/contrib/parskip/MANIFEST.md
+++ b/macros/latex/contrib/parskip/MANIFEST.md
@@ -58,6 +58,7 @@ the same output. These output files are sometimes shared and sometime specific f
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 @@ different engines (pdfTeX, XeTeX, LuaTeX, etc.).
* parskip-006.lvt
* sx-450551.lvt
* github-0012.tlg
+* github-0014.tlg
* parskip-000.tlg
* parskip-001.tlg
* parskip-002.tlg
diff --git a/macros/latex/contrib/parskip/changes.txt b/macros/latex/contrib/parskip/changes.txt
index db84ddd38b..6cdccbc1d5 100644
--- a/macros/latex/contrib/parskip/changes.txt
+++ b/macros/latex/contrib/parskip/changes.txt
@@ -1,3 +1,10 @@
+#### placed on CTAN as 2.0f ####
+
+2020-06-15 Frank Mittelbach <Frank.Mittelbach@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@latex-project.org>
diff --git a/macros/latex/contrib/parskip/parskip-code.pdf b/macros/latex/contrib/parskip/parskip-code.pdf
index becb2250a9..0aebb0a149 100644
--- a/macros/latex/contrib/parskip/parskip-code.pdf
+++ b/macros/latex/contrib/parskip/parskip-code.pdf
Binary files differ
diff --git a/macros/latex/contrib/parskip/parskip.dtx b/macros/latex/contrib/parskip/parskip.dtx
index eea08157f6..6b4f87b48b 100644
--- a/macros/latex/contrib/parskip/parskip.dtx
+++ b/macros/latex/contrib/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.
%
diff --git a/macros/latex/contrib/parskip/parskip.pdf b/macros/latex/contrib/parskip/parskip.pdf
index bb9dff0260..37bac82767 100644
--- a/macros/latex/contrib/parskip/parskip.pdf
+++ b/macros/latex/contrib/parskip/parskip.pdf
Binary files differ