Skip to content

Commit a080f98

Browse files
Release se2thesis v4.0.2
Added: - Enhance documentation of `se2packages` regarding the usage of `minted` and the grey-scale mode of `se2colors`.
1 parent 2ec4879 commit a080f98

6 files changed

+40
-6
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to
77

88
## [Unreleased]
99

10+
## [v4.0.2] – 2024–05–24
11+
12+
### Added
13+
14+
- Enhance documentation of `se2packages` regarding the usage of `minted` and the
15+
grey-scale mode of `se2colors`.
16+
1017
## [v4.0.1] – 2024–05–17
1118

1219
### Fixed
-94 Bytes
Binary file not shown.

se2colors.dtx

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
%
232232
% Identify the package and give the overall version information.
233233
% \begin{macrocode}
234-
\ProvidesExplPackage {se2colors} {2024-05-17} {4.0.1}
234+
\ProvidesExplPackage {se2colors} {2024-05-24} {4.0.2}
235235
{A colour support package for the se2thesis bundle}
236236
% \end{macrocode}
237237
%

se2fonts.dtx

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
%
152152
% Identify the package and give the overall version information.
153153
% \begin{macrocode}
154-
\ProvidesExplPackage {se2fonts} {2024-05-17} {4.0.1}
154+
\ProvidesExplPackage {se2fonts} {2024-05-24} {4.0.2}
155155
{A font-selection support package for the se2thesis bundle}
156156
% \end{macrocode}
157157
%

se2packages.dtx

+28-1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,33 @@
125125
%
126126
% Please be aware to use \emph{either} \pkg{minted} \emph{or} \pkg{listings}!
127127
%
128+
% \emph{Attention:} The way how \pkg{minted} is implemented causes the resulting
129+
% code to be typeset in gray scale, if you use the \pkg{se2colors} package with
130+
% option |cmode=bw| or the \cls{se2thesis} class with |colormode=bw| (or their
131+
% respective aliases). Students were requesting that they want to use the
132+
% black-and-white mode of \pkg{se2color} because it saves lots of money when
133+
% printing their thesis, while they want the colours in the syntax highlighting
134+
% of \pkg{minted}. One can achieve this by adding hooks to the preamble of the
135+
% document, after loading the \pkg{minted} package (which is recommend by
136+
% setting |minted=true| as an option to \pkg{se2packages}):
137+
% \begin{LaTeXdemo}[code only]
138+
% \AddToHook{env/minted/begin}{\selectcolormodel{cmyk}}
139+
% \AddToHook{cmd/mintinline/before}{\selectcolormodel{cmyk}}
140+
% \end{LaTeXdemo}
141+
% Thanks to Ulrike Fischer for pointing out this hook mechanism.\footnote{%
142+
% \href{https://tex.stackexchange.com/a/718719/14622}{tex.stackexchange.com/a/718719/14622}
143+
% }
144+
%
145+
% Another option, if you do not want colours in the \pkg{minted} output when you
146+
% use the gray-scale mode of \pkg{se2colors} is the change the highlighting
147+
% style, \pkg{minted} uses. The package for this provides the macro
148+
% \cs{usemintedstyle}, which accepts a style available in your local
149+
% \texttt{pygments} installation, see the \texttt{pygments}
150+
% documentation\footnote{%
151+
% \href{https://pygments.org/styles/}{pygments.org/styles/}
152+
% } for an overview over the available styles; the |bw| style is explicitly
153+
% designed for this kind of scenario.
154+
%
128155
% \subsubsection{Designing Tables}
129156
%
130157
% A basically mandatory package to all users of tables
@@ -443,7 +470,7 @@
443470
%
444471
% Identify the package and give the overall version information.
445472
% \begin{macrocode}
446-
\ProvidesExplPackage {se2packages} {2024-05-17} {4.0.1}
473+
\ProvidesExplPackage {se2packages} {2024-05-24} {4.0.2}
447474
{Supporting packages for the se2thesis bundle}
448475
% \end{macrocode}
449476
%

se2thesis.dtx

+3-3
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@
607607
%
608608
% Identify the class and give the overall version number.
609609
% \begin{macrocode}
610-
\ProvidesExplClass {se2thesis} {2024-05-17} {4.0.1}
610+
\ProvidesExplClass {se2thesis} {2024-05-24} {4.0.2}
611611
{A thesis class for the Chair of Software Engineering II}
612612
% \end{macrocode}
613613
%
@@ -1655,7 +1655,7 @@
16551655
% We provide the following English translations.
16561656
%
16571657
% \begin{macrocode}
1658-
\ProvideDictionaryFor{English}{se2translations}[2024/05/17]
1658+
\ProvideDictionaryFor{English}{se2translations}[2024/05/24]
16591659
\ProvideDictTranslation{abstract}{abstract}
16601660
\ProvideDictTranslation{Abstract}{Abstract}
16611661
\ProvideDictTranslation{acknowledgement}{acknowledgement}
@@ -1706,7 +1706,7 @@
17061706
% We provide the following German translations.
17071707
%
17081708
% \begin{macrocode}
1709-
\ProvideDictionaryFor{German}{se2translations}[2024/05/17]
1709+
\ProvideDictionaryFor{German}{se2translations}[2024/05/24]
17101710
\ProvideDictTranslation{abstract}{Zusammenfassung}
17111711
\ProvideDictTranslation{Abstract}{Zusammenfassung}
17121712
\ProvideDictTranslation{acknowledgement}{Danksagung}

0 commit comments

Comments
 (0)