diff options
author | Norbert Preining <norbert@preining.info> | 2023-07-05 03:01:54 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-07-05 03:01:54 +0000 |
commit | 973c785dccc1812d63162178e8362e83e8c263c2 (patch) | |
tree | b2cb12a6b36a0a59e90f1611d32cf7e8d125d575 /macros/latex/contrib/se2thesis | |
parent | ab7f5e4df027c13f5aef4fbdb032184cf2f3d5c3 (diff) |
CTAN sync 202307050301
Diffstat (limited to 'macros/latex/contrib/se2thesis')
-rw-r--r-- | macros/latex/contrib/se2thesis/CHANGELOG.md | 14 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2colors.dtx | 2 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2fonts.dtx | 2 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2packages.dtx | 25 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf | bin | 1101208 -> 1101766 bytes | |||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex | 2 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis.dtx | 17 | ||||
-rw-r--r-- | macros/latex/contrib/se2thesis/se2thesis.pdf | bin | 382546 -> 383798 bytes |
8 files changed, 46 insertions, 16 deletions
diff --git a/macros/latex/contrib/se2thesis/CHANGELOG.md b/macros/latex/contrib/se2thesis/CHANGELOG.md index 96e937e109..a7a887addf 100644 --- a/macros/latex/contrib/se2thesis/CHANGELOG.md +++ b/macros/latex/contrib/se2thesis/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to ## [Unreleased] +## [v3.1.0] – 2023–07–04 + +### Changed + +- The `lua-widow-control` package causes build failures in different settings, + although the same TeX Live version is used. Until this can be resolved, we + deactivate the loading of this package from `se2packages` by default. It can + still be activated manually by adding the `widowcontrol=true` option to the + `se2packages` package. +- Set penalties for widows and orphans only if `lua-widow-control` package is + not loaded. +- Change the formatting of chapter headings. + ## [v3.0.0] – 2023–04–18 ### Added @@ -124,6 +137,7 @@ These changes might be breaking changes! ### Added - First official release +[v3.1.0]: https://github.com/se2p/se2thesis/compare/v3.1.0...v3.0.0 [v3.0.0]: https://github.com/se2p/se2thesis/compare/v3.0.0...v2.1.0 [v2.1.0]: https://github.com/se2p/se2thesis/compare/v2.1.0...v2.0.0 [v2.0.0]: https://github.com/se2p/se2thesis/compare/v2.0.0...v1.3.1 diff --git a/macros/latex/contrib/se2thesis/se2colors.dtx b/macros/latex/contrib/se2thesis/se2colors.dtx index bf2af3728f..8b4f738c8c 100644 --- a/macros/latex/contrib/se2thesis/se2colors.dtx +++ b/macros/latex/contrib/se2thesis/se2colors.dtx @@ -231,7 +231,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2colors} {2023-04-18} {3.0.0} +\ProvidesExplPackage {se2colors} {2023-07-04} {3.1.0} {A colour support package for the se2thesis bundle} % \end{macrocode} % diff --git a/macros/latex/contrib/se2thesis/se2fonts.dtx b/macros/latex/contrib/se2thesis/se2fonts.dtx index dccb8420b1..09e2351a94 100644 --- a/macros/latex/contrib/se2thesis/se2fonts.dtx +++ b/macros/latex/contrib/se2thesis/se2fonts.dtx @@ -159,7 +159,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2fonts} {2023-04-18} {3.0.0} +\ProvidesExplPackage {se2fonts} {2023-07-04} {3.1.0} {A font-selection support package for the se2thesis bundle} % \end{macrocode} % diff --git a/macros/latex/contrib/se2thesis/se2packages.dtx b/macros/latex/contrib/se2thesis/se2packages.dtx index 319bbfeed1..1e987c3575 100644 --- a/macros/latex/contrib/se2thesis/se2packages.dtx +++ b/macros/latex/contrib/se2thesis/se2packages.dtx @@ -162,6 +162,11 @@ % The former implements a better control over ligatures, % the latter provides better control over orphans and widows. % +% For some reason we were not yet able to fix properly, +% \pkg{lua-widow-control} works on some machine but fails on others, +% although they are using the same version of \TeXLive. +% We therefore deactivate \pkg{lua-widow-control} by default. +% % \subsubsection{Use \pkg{microtype} for Microtypographic Optimisation} % % \pkg{microtype} is a game changer when writing documents. @@ -299,8 +304,8 @@ % |nowidowcontrol| % \end{syntax} % The argument to |widowcontrol| can be one of |true| or |false|. -% The latter does not load \pkg{lua-widow-control}, -% the former is the default value. +% The former loads \pkg{lua-widow-control}, +% the latter is the default value. % By using |nowidowcontrol| you can also avoid % that \pkg{lua-widow-control} is loaded. % \end{function} @@ -426,7 +431,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2packages} {2023-04-18} {3.0.0} +\ProvidesExplPackage {se2packages} {2023-07-04} {3.1.0} {Supporting packages for the se2thesis bundle} % \end{macrocode} % @@ -541,7 +546,7 @@ noselnolig .meta:n = {selnolig=false}, widowcontrol .bool_gset:N = \l_@@_luawidowcontrol_bool, - widowcontrol .initial:n = true, + widowcontrol .initial:n = false, nowidowcontrol .meta:n = {widowcontrol=false}, microtype .bool_gset:N = \l_@@_microtype_bool, @@ -727,14 +732,20 @@ % \end{macrocode} % % Conditionally load and configure \pkg{microtype}. +% If a package option requires for the \pkg{lua-widow-control} package, +% we do not set penalties for widows and orphans +% but let that package control these penalties. % \begin{macrocode} \bool_if:NT \l_@@_microtype_bool { \msg_info:nnn { seiipackages } { load-package } { microtype } \RequirePackage{microtype} - \clubpenalty=10000 - \widowpenalty=10000 - \displaywidowpenalty=10000 + \bool_if:NF \l_@@_luawidowcontrol_bool + { + \clubpenalty=10000 + \widowpenalty=10000 + \displaywidowpenalty=10000 + } \SetExtraKerning{ encoding = {OT1,T1,T2A,LY1,OT4,QX,T5,TS1,EU1,EU2} }{ diff --git a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf Binary files differindex df38c24126..8cb95d80c3 100644 --- a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf +++ b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf diff --git a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex index da47aaa56e..106aa4b541 100644 --- a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex +++ b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex @@ -1,5 +1,5 @@ \documentclass[% - chapterprefix=true,% + chapterprefix=false,% open=right,% twoside=true,% paper=a4,% diff --git a/macros/latex/contrib/se2thesis/se2thesis.dtx b/macros/latex/contrib/se2thesis/se2thesis.dtx index 8826356f6c..9e04544bab 100644 --- a/macros/latex/contrib/se2thesis/se2thesis.dtx +++ b/macros/latex/contrib/se2thesis/se2thesis.dtx @@ -589,7 +589,7 @@ % % Identify the class and give the overall version number. % \begin{macrocode} -\ProvidesExplClass {se2thesis} {2023-04-18} {3.0.0} +\ProvidesExplClass {se2thesis} {2023-07-04} {3.1.0} {A thesis class for the Chair of Software Engineering II} % \end{macrocode} % @@ -1349,11 +1349,16 @@ \addtokomafont{section}{\large\mdseries} \addtokomafont{subsection}{\normalsize\mdseries} \renewcommand*{\chapterformat}{% - \mbox{% - \scalebox{1.3}{\chapappifchapterprefix{\nobreakspace}}% - \scalebox{3.5}{\color{UPSE2-Gray}\thechapter\autodot}\enskip% + \enskip\mbox{% + \scalebox{3}{\color{UPSE2-DarkGray}\thechapter\autodot}% }% } +\renewcommand{\chapterlinesformat}[3]{% + \parbox[b]{\textwidth}{\hrulefill#2}\par% + #3\par\bigskip% + \hrule% +} +\RedeclareSectionCommand[afterskip=1.5\baselineskip]{chapter} \renewcommand*{\chapterlineswithprefixformat}[3]{% \Ifstr{#1}{chapter} {#2\textls*[75]{\MakeUppercase{#3}}}% change definition for chapter @@ -1610,7 +1615,7 @@ % We provide the following English translations. % % \begin{macrocode} -\ProvideDictionaryFor{English}{se2translations}[2023/04/18] +\ProvideDictionaryFor{English}{se2translations}[2023/07/04] \ProvideDictTranslation{abstract}{abstract} \ProvideDictTranslation{Abstract}{Abstract} \ProvideDictTranslation{acknowledgement}{acknowledgement} @@ -1661,7 +1666,7 @@ % We provide the following German translations. % % \begin{macrocode} -\ProvideDictionaryFor{German}{se2translations}[2023/04/18] +\ProvideDictionaryFor{German}{se2translations}[2023/07/04] \ProvideDictTranslation{abstract}{Zusammenfassung} \ProvideDictTranslation{Abstract}{Zusammenfassung} \ProvideDictTranslation{acknowledgement}{Danksagung} diff --git a/macros/latex/contrib/se2thesis/se2thesis.pdf b/macros/latex/contrib/se2thesis/se2thesis.pdf Binary files differindex dd2d5278ec..04e910061f 100644 --- a/macros/latex/contrib/se2thesis/se2thesis.pdf +++ b/macros/latex/contrib/se2thesis/se2thesis.pdf |