summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-19 20:08:00 +0000
committerKarl Berry <karl@freefriends.org>2023-09-19 20:08:00 +0000
commitcfda67c92b6828c89cd22f4cb095e41a0a6a913c (patch)
treec4e28edd0f20655e6e63834e793e47b81e4f630c
parent0e8fa1494881ebcc2a9b93c2604a19a3a71c1cf4 (diff)
setspaceenhanced (19sep23)
git-svn-id: svn://tug.org/texlive/trunk@68324 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/setspaceenhanced/README.md41
-rw-r--r--Master/texmf-dist/doc/latex/setspaceenhanced/setspaceenhanced.pdfbin315105 -> 317405 bytes
-rw-r--r--Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx32
-rw-r--r--Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty8
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds2
5 files changed, 50 insertions, 33 deletions
diff --git a/Master/texmf-dist/doc/latex/setspaceenhanced/README.md b/Master/texmf-dist/doc/latex/setspaceenhanced/README.md
index 601ae4b8ca0..ec433ed2046 100644
--- a/Master/texmf-dist/doc/latex/setspaceenhanced/README.md
+++ b/Master/texmf-dist/doc/latex/setspaceenhanced/README.md
@@ -2,7 +2,7 @@
Copyright © 2008–2023 Markus Kohm
-Release: 2023-08-04 v1.0
+Release: 2023-09-19 v1.01
License: LPPL 1.3c
@@ -41,15 +41,15 @@ replacements for the original packages they were intended to improve. Package
features and improvements by patching package
[`setspace`](https://ctan.org/pkg/setspace).
-# Unpacking and Installation for Users
+# Installation for Users
-If you are a user, you should wait until all the packages has been added to
+If you are a user, you should wait until all the package has been added to
your preferred TeX distribution. Then you can use the package manager of your
-TeX distribution to install all the packages.
+TeX distribution to install the packages.
# Unpacking for Distributors
-Distributors should download the [distribution from
+Distributors should download [the distribution from
CTAN](https://www.ctan.org/pkg/setspaceenhanced). This consists in:
* `setspaceenhanced.dtx`
@@ -86,16 +86,16 @@ using
git clone https://github.com/komascript/third-party-enhancements.git
-You can
-than either unpack and install all the third-party enhancements using:
+You can than either unpack and install all the third-party enhancements using:
l3build install --full
-from within the main directory of the cloned respository (omit option `--full`
-if you don't want the manual) or `setspaceenhanced` only doing the same from
-within the `setspaceenhanced` sub-directory.
+from within the main directory of the cloned respository. For installation of
+`setspaceenhanced` only run the same command from within the
+`setspaceenhanced` subdirectory. For installation without the manual omit
+option `--full`, but this is not recommended for developers.
-# How to get the Manuals
+# How to get the Manual
After installation you should get the user manual using:
@@ -103,17 +103,17 @@ After installation you should get the user manual using:
See the manual of your TeX distribution for more information.
-Developers or distributors can also build the manuals from the source using:
+Developers or distributors can also build the manual from the source using:
l3build doc
# How to Contribute
To become a contributor, e.g., do heavy testing. If you find an issue, please
-report it using the [issue
+report it using [the issue
tracker](https://github.com/komascript/third-party-enhancements/issues). You
can also become a developer and, e.g., make new test files to the
-packages. See the [`l3build`](https://ctan.prg/pkg/l3build) manual for more
+packages. See the [`l3build`](https://ctan.org/pkg/l3build) manual for more
information about tests. If you've created a new test and think that it would
be useful. Please either do a pull request or [add a new
issue](https://github.com/komascript/third-party-enhancements/issues/new/choose)
@@ -126,12 +126,12 @@ corresponding enhancement package from this project into her or his package.
# How to Report Issues
If you think you have found a bug (or another kind of issue) using
-`setspaceenhanced` you should use the [issue
+`setspaceenhanced` you should use [the issue
tracker](https://github.com/komascript/third-party-enhancements/issues). Please
first search for similar issues already reported and maybe also already fixed
and closed. Maybe the replies to such a similar report would help you too.
-If your issue is new, you should report it also using the [issue
+If your issue is new, you should report it also using [the issue
tracker](https://github.com/komascript/third-party-enhancements/issues). Please
be kind, not only when writing the report but also when reading replies and
commenting or answering. And please always add a minimal working example and
@@ -152,3 +152,12 @@ fop, so I'm certainly up for a quick thank you by email. On komascript.de you
can find an [explanation of my wishes](https://komascript.de/wunschliste) if
you want to give more. If you don't understand German, just click to links at
that page.
+
+# Changes
+
+v1.01 2023-09-19:
+
+- option `fontsize` has been renamed to `keepfontsize` because of
+ incompatibility with KOMA-Script → [issue
+ #1](https://github.com/komascript/third-party-enhancements/issues/1)
+
diff --git a/Master/texmf-dist/doc/latex/setspaceenhanced/setspaceenhanced.pdf b/Master/texmf-dist/doc/latex/setspaceenhanced/setspaceenhanced.pdf
index ac6c07e0a22..ba55cd2db0b 100644
--- a/Master/texmf-dist/doc/latex/setspaceenhanced/setspaceenhanced.pdf
+++ b/Master/texmf-dist/doc/latex/setspaceenhanced/setspaceenhanced.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx b/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx
index 97cfc589c5f..4045fd798ba 100644
--- a/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx
+++ b/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx
@@ -32,7 +32,7 @@
%</dtx>
%<*dtx|package>
%<package>\ProvidesExplPackage{setspaceenhanced}
- {2023-08-04}{1.0}
+ {2023-09-19}{1.01}
{%
%<*dtx>
sources and unpack driver of
@@ -155,6 +155,7 @@
%\fi
%
% \changes{v0.1}{2023/06/01}{new \KOMAScript{} spin-off}
+% \changes{v1.0}{2023/08/04}{release}
%
% \GetFileInfo{setspaceenhanced.dtx}
% \title{Improving ``\pkg{setspace}''}
@@ -362,8 +363,9 @@ group.
calculation of the factor depending on the font size and the baseline skip
set for the font size. It is recommended to use the option always without
value!
-\item[fontsize=\meta{boolean}]%
- \DescribeOption{fontsize}%
+\item[keepfontsize=\meta{boolean}]%
+ \DescribeOption{keepfontsize}%
+ \marginpar{\raggedleft\footnotesize (changed 2023-09-19)}%
\DescribeCommand{\setstretch}%
\hfill initial=\optvalue{false}, default=\optvalue{true}\\
As explained in \autoref{sec:whywithoutkomascript}, \pkg{setspace}'s
@@ -373,8 +375,8 @@ group.
using \cs{@setsize} than after using |\fontsize{…}{…}\selectfont|. With the
last the font size will be reset to the previous usage of one of the other
or the document font size. For a lot of users this is somehow
- unexpected. With option \opt{fontsize} or \opt{fontsize=true} this is
- changed and using \cs{setstretch} does not reactivate the last used
+ unexpected. With option \opt{keepfontsize} or \opt{keepfontsize=true} this
+ is changed and using \cs{setstretch} does not reactivate the last used
\cs{Huge}, \cs{huge}, \cs{LARGE}, \cs{Large}, \cs{large}, \cs{normalsize},
\cs{small}, \cs{footnotesize}, \cs{scriptsize}, \cs{tiny}.
\item[onehalfspacing=\meta{real}]%
@@ -482,7 +484,7 @@ this result in:
But
\begin{verbatim}
\documentclass[12pt]{article}
- \usepackage[fontsize]{setspaceenhanced}
+ \usepackage[keepfontsize]{setspaceenhanced}
\begin{document}
\fontsize{5pt}{7pt}\selectfont\onehalfspacing This is font size
\csname f@size\endcsname pt with
@@ -497,7 +499,9 @@ results in:
factor is 1.071428571428571. This results in a baseline skip of 7.49998pt.
\end{quote}
In my opinion this is more the expected result. See the previous
-\autoref{sec:howtouse} for more information about options like \opt{fontsize}.
+\autoref{sec:howtouse} for more information about options like
+\opt{keepfontsize}.
+
% \iffalse
%</doc>
% \fi
@@ -640,8 +644,8 @@ In my opinion this is more the expected result. See the previous
% \end{command}
%
% \begin{command}{\setstretch}
-% If \opt{fontsize=false}, we use the original functionality of
-% \pkg{setspace}. But with \opt{fontsize=true} we use \cs{linespread}:
+% If \opt{keepfontsize=false}, we use the original functionality of
+% \pkg{setspace}. But with \opt{keepfontsize=true} we use \cs{linespread}:
% \begin{macrocode}
\renewcommand*{\setstretch}[1]{
\bool_if:NTF \@@_fontsize_bool
@@ -657,6 +661,10 @@ In my opinion this is more the expected result. See the previous
% \end{command}
%
% Almost the end of the package we define all options:
+% \changes{v1.01}{2023/09/19}{option \opt{fontsize} renamed to
+% \opt{keepfontsize} because of incompatibility (issue
+% \href{https://github.com/komascript/third-party-enhancements/issues/1}
+% {\#1})}
% \begin{macrocode}
\DeclareKeys{%
singlespacing .code = \@@_set_spacing:nn {#1} {single},
@@ -668,9 +676,9 @@ In my opinion this is more the expected result. See the previous
byselectfont .bool_set:N = \@@_byselectfont_bool,
byselectfont .default:n = true,
byselectfont .initial:n = false,
- fontsize .bool_set:N = \@@_fontsize_bool,
- fontsize .default:n = true,
- fontsize .initial:n = false,
+ keepfontsize .bool_set:N = \@@_fontsize_bool,
+ keepfontsize .default:n = true,
+ keepfontsize .initial:n = false,
}
% \end{macrocode}
% And process them:
diff --git a/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty b/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty
index 92575aba2d6..c4291f87036 100644
--- a/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty
+++ b/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty
@@ -21,7 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesExplPackage{setspaceenhanced}
- {2023-08-04}{1.0}
+ {2023-09-19}{1.01}
{%
improved setspace package%
}
@@ -110,9 +110,9 @@
byselectfont .bool_set:N = \__setspaceenhanced_byselectfont_bool,
byselectfont .default:n = true,
byselectfont .initial:n = false,
- fontsize .bool_set:N = \__setspaceenhanced_fontsize_bool,
- fontsize .default:n = true,
- fontsize .initial:n = false,
+ keepfontsize .bool_set:N = \__setspaceenhanced_fontsize_bool,
+ keepfontsize .default:n = true,
+ keepfontsize .initial:n = false,
}
\ProcessKeyOptions\relax
\renewcommand*{\singlespacing}{
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 3e110467013..f61f5f340a4 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -3318,7 +3318,7 @@ my $core_latex = "$Master/texmf-dist/tex/latex";
'scrlayer-fancyhdr' => 'etex-answer-y',
'scrwfile' => 'etex',
'secnum' => 'etex-answer-y',
- 'setspaceenhanced' => 'etex',
+ 'setspaceenhanced' => 'etex-answer-y',
'silence' => 'latex -translate-file=empty.tcx', # no 8-bit
'sillypage' => 'etex',
'skdoc' => 'tex',