diff --git a/lni.cls b/lni.cls index 82e6041..7ec8504 100644 --- a/lni.cls +++ b/lni.cls @@ -126,14 +126,16 @@ \fi% \ifoldfonts \RequirePackage{mathptmx} -\else% nofonts activated - \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts - \MessageBreak - instead of the New TX fonts. Your document will NOT look like the - \MessageBreak - final result for publication. This should only be used if you have - \MessageBreak - no possibility to install fonts or upgrade your TeX installation!}% +\else% + \ifnofonts % nofonts activated + \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts + \MessageBreak + instead of the New TX fonts. Your document will NOT look like the + \MessageBreak + final result for publication. This should only be used if you have + \MessageBreak + no possibility to install fonts or upgrade your TeX installation!}% + \fi% \fi% \ifPDFTeX \RequirePackage[% diff --git a/lni.dtx b/lni.dtx index 08fbfbb..c1ee184 100644 --- a/lni.dtx +++ b/lni.dtx @@ -804,14 +804,16 @@ This work consists of the file lni.dtx \fi% \ifoldfonts \RequirePackage{mathptmx} -\else% nofonts activated - \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts - \MessageBreak - instead of the New TX fonts. Your document will NOT look like the - \MessageBreak - final result for publication. This should only be used if you have - \MessageBreak - no possibility to install fonts or upgrade your TeX installation!}% +\else% + \ifnofonts % nofonts activated + \ClassWarning{lni}{Option `nofonts' set! I will use standard fonts + \MessageBreak + instead of the New TX fonts. Your document will NOT look like the + \MessageBreak + final result for publication. This should only be used if you have + \MessageBreak + no possibility to install fonts or upgrade your TeX installation!}% + \fi% \fi% % \begin{macrocode} \ifPDFTeX