diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-04 19:54:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-04 19:54:36 +0000 |
commit | 05521ca120f1bb734f3c85b7a85f9b33b093459c (patch) | |
tree | ff0c7fc4ebead9e9d0685bb931f1de7e6aea4192 /Master/texmf-dist/source | |
parent | 0da6a9ab743631e01ecd830eb9e43069d13f8b28 (diff) |
se2thesis (4jul23)
git-svn-id: svn://tug.org/texlive/trunk@67548 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
4 files changed, 31 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx b/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx index bf2af3728f9..8b4f738c8c9 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx b/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx index dccb8420b10..09e2351a94e 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx b/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx index 319bbfeed18..1e987c35753 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx index 8826356f6c9..9e04544bab1 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx +++ b/Master/texmf-dist/source/latex/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} |