diff --git a/CHANGELOG.md b/CHANGELOG.md index f5a4f80..c2fd9e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to ## [Unreleased] +### Removed + +- The option `fmode` was removed from `se2fonts`; it was already deprecated + since `se2thesis` version 2.0.0. + ## [v3.4.0] – 2024–04–20 ### Added diff --git a/se2fonts.dtx b/se2fonts.dtx index 9e86b3a..9879365 100644 --- a/se2fonts.dtx +++ b/se2fonts.dtx @@ -157,58 +157,19 @@ % % \subsection{Load-time options} % -% \begin{macro}{\l_@@_fontmode_tl} -% Holds the font-selection mode specified by the user as a package -% load-time option. -% \emph{Please note:} this option is deprecated! -% \begin{macrocode} -\tl_new:N \l_@@_fontmode_tl -\keys_define:nn { seiifonts } - { - fmode .choice:, - fmode / original .code:n = { - \tl_gset:Nn \l_@@_fontmode_tl {original} - }, - fmode / replacement .code:n = { - \tl_gset:Nn \l_@@_fontmode_tl {replacement} - }, - fmode / auto .code:n = { - \tl_gset:Nn \l_@@_fontmode_tl {auto} - }, - original .meta:n = {fmode=original}, - replacement .meta:n = {fmode=replacement}, - auto .meta:n = {fmode=auto}, - } -% \end{macrocode} -% \end{macro} -% -% \subsection{Option handling} -% -% \begin{macrocode} -\IfFormatAtLeastTF { 2022-06-01 } - { \ProcessKeyOptions [ seiifonts ] } - { - \RequirePackage{ l3keys2e } - \ProcessKeysOptions { seiifonts } - } -% \end{macrocode} +% The package does not have any load-time options; the formerly defined option +% to set the font mode was removed with \pkg{se2thesis} version 4.0.0. % -% Define a warning message -% \begin{macrocode} -\msg_set:nnnn { seiifonts } { deprecated-option } - { The~ option~ fmode~ to~ the~ se2fonts~ package~ is~ deprecated. } - { Remove~ it~ from~ your~ code.} -% \end{macrocode} +% \subsection{Helper macros} % -% Raise the warning if the option was used -% \begin{macrocode} -\tl_if_empty:NF \l_@@_fontmode_tl +% Define a warning message of users of \pdfLaTeX{} that not all features of the +% fonts are available and that they should consider using \LuaTeX{} instead. +\msg_set:nnnn { seiifonts } { pdflatex-used } + { You~ are~ using~ pdfLaTeX~ with~ the~ se2fonts~ packages.} { - \msg_warning:nn { seiifonts } { deprecated-option } + While~ this~ works~ some~ font~ features~ are~ not~ available,~ consider~ + using~ lualatex~ instead. } -% \end{macrocode} -% -% \subsection{Helper macros} % % \begin{macro}{\pdftexengine, \xetexengine, \luatexengine} % We define several alias macros to identify which engine the user is running. @@ -288,6 +249,7 @@ % % The user does not use \LuaTeX{}, thus fallback to T1 fonts. % \begin{macrocode} + \msg_warning:nn { seiifonts } { pdflatex-used } \PassOptionsToPackage{T1}{fontenc} \PassOptionsToPackage{scaled=0.9,varl}{inconsolata} \PassOptionsToPackage{mono=false}{libertinus-type1}