From bf1b8a148b46973363ccbffc8c44ea07a8e93e74 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 24 May 2024 20:57:28 +0000 Subject: se2thesis (23may24) git-svn-id: svn://tug.org/texlive/trunk@71340 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/se2thesis/se2colors.dtx | 2 +- .../texmf-dist/source/latex/se2thesis/se2fonts.dtx | 2 +- .../source/latex/se2thesis/se2packages.dtx | 29 +++++++++++++++++++++- .../source/latex/se2thesis/se2thesis.dtx | 6 ++--- 4 files changed, 33 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx b/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx index ccea6781949..89763ba6500 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} {2024-05-17} {4.0.1} +\ProvidesExplPackage {se2colors} {2024-05-24} {4.0.2} {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 741478e0fd6..9ba84219cc8 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx @@ -151,7 +151,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2fonts} {2024-05-17} {4.0.1} +\ProvidesExplPackage {se2fonts} {2024-05-24} {4.0.2} {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 4c28b13fce6..328e456efed 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx @@ -125,6 +125,33 @@ % % Please be aware to use \emph{either} \pkg{minted} \emph{or} \pkg{listings}! % +% \emph{Attention:} The way how \pkg{minted} is implemented causes the resulting +% code to be typeset in gray scale, if you use the \pkg{se2colors} package with +% option |cmode=bw| or the \cls{se2thesis} class with |colormode=bw| (or their +% respective aliases). Students were requesting that they want to use the +% black-and-white mode of \pkg{se2color} because it saves lots of money when +% printing their thesis, while they want the colours in the syntax highlighting +% of \pkg{minted}. One can achieve this by adding hooks to the preamble of the +% document, after loading the \pkg{minted} package (which is recommend by +% setting |minted=true| as an option to \pkg{se2packages}): +% \begin{LaTeXdemo}[code only] +% \AddToHook{env/minted/begin}{\selectcolormodel{cmyk}} +% \AddToHook{cmd/mintinline/before}{\selectcolormodel{cmyk}} +% \end{LaTeXdemo} +% Thanks to Ulrike Fischer for pointing out this hook mechanism.\footnote{% +% \href{https://tex.stackexchange.com/a/718719/14622}{tex.stackexchange.com/a/718719/14622} +% } +% +% Another option, if you do not want colours in the \pkg{minted} output when you +% use the gray-scale mode of \pkg{se2colors} is the change the highlighting +% style, \pkg{minted} uses. The package for this provides the macro +% \cs{usemintedstyle}, which accepts a style available in your local +% \texttt{pygments} installation, see the \texttt{pygments} +% documentation\footnote{% +% \href{https://pygments.org/styles/}{pygments.org/styles/} +% } for an overview over the available styles; the |bw| style is explicitly +% designed for this kind of scenario. +% % \subsubsection{Designing Tables} % % A basically mandatory package to all users of tables @@ -443,7 +470,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2packages} {2024-05-17} {4.0.1} +\ProvidesExplPackage {se2packages} {2024-05-24} {4.0.2} {Supporting packages for the se2thesis bundle} % \end{macrocode} % diff --git a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx index ced3b912d1e..5164bc06546 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx @@ -607,7 +607,7 @@ % % Identify the class and give the overall version number. % \begin{macrocode} -\ProvidesExplClass {se2thesis} {2024-05-17} {4.0.1} +\ProvidesExplClass {se2thesis} {2024-05-24} {4.0.2} {A thesis class for the Chair of Software Engineering II} % \end{macrocode} % @@ -1655,7 +1655,7 @@ % We provide the following English translations. % % \begin{macrocode} -\ProvideDictionaryFor{English}{se2translations}[2024/05/17] +\ProvideDictionaryFor{English}{se2translations}[2024/05/24] \ProvideDictTranslation{abstract}{abstract} \ProvideDictTranslation{Abstract}{Abstract} \ProvideDictTranslation{acknowledgement}{acknowledgement} @@ -1706,7 +1706,7 @@ % We provide the following German translations. % % \begin{macrocode} -\ProvideDictionaryFor{German}{se2translations}[2024/05/17] +\ProvideDictionaryFor{German}{se2translations}[2024/05/24] \ProvideDictTranslation{abstract}{Zusammenfassung} \ProvideDictTranslation{Abstract}{Zusammenfassung} \ProvideDictTranslation{acknowledgement}{Danksagung} -- cgit v1.2.3