texlive[68324] Master: setspaceenhanced (19sep23)

commits+karl at tug.org commits+karl at tug.org
Tue Sep 19 22:08:00 CEST 2023


Revision: 68324
          https://tug.org/svn/texlive?view=revision&revision=68324
Author:   karl
Date:     2023-09-19 22:08:00 +0200 (Tue, 19 Sep 2023)
Log Message:
-----------
setspaceenhanced (19sep23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/setspaceenhanced/README.md
    trunk/Master/texmf-dist/doc/latex/setspaceenhanced/setspaceenhanced.pdf
    trunk/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx
    trunk/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty
    trunk/Master/tlpkg/libexec/ctan2tds

Modified: trunk/Master/texmf-dist/doc/latex/setspaceenhanced/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/setspaceenhanced/README.md	2023-09-19 20:05:54 UTC (rev 68323)
+++ trunk/Master/texmf-dist/doc/latex/setspaceenhanced/README.md	2023-09-19 20:08:00 UTC (rev 68324)
@@ -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 @@
 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 @@
 
 	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,7 +103,7 @@
 	
 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
 	
@@ -110,10 +110,10 @@
 # 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 @@
 # 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 @@
 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)
+

Modified: trunk/Master/texmf-dist/doc/latex/setspaceenhanced/setspaceenhanced.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx	2023-09-19 20:05:54 UTC (rev 68323)
+++ trunk/Master/texmf-dist/source/latex/setspaceenhanced/setspaceenhanced.dtx	2023-09-19 20:08:00 UTC (rev 68324)
@@ -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 @@
   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 @@
   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 @@
 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 at size\endcsname pt with
@@ -497,7 +499,9 @@
   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 @@
 % \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 @@
 % \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 @@
   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:

Modified: trunk/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty	2023-09-19 20:05:54 UTC (rev 68323)
+++ trunk/Master/texmf-dist/tex/latex/setspaceenhanced/setspaceenhanced.sty	2023-09-19 20:08:00 UTC (rev 68324)
@@ -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}{

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2023-09-19 20:05:54 UTC (rev 68323)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2023-09-19 20:08:00 UTC (rev 68324)
@@ -3318,7 +3318,7 @@
  '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',



More information about the tex-live-commits mailing list.