diff options
Diffstat (limited to 'fonts/kpfonts/latex/kpfonts.sty')
-rw-r--r-- | fonts/kpfonts/latex/kpfonts.sty | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/fonts/kpfonts/latex/kpfonts.sty b/fonts/kpfonts/latex/kpfonts.sty index a8e0e92f89..53000de1a9 100644 --- a/fonts/kpfonts/latex/kpfonts.sty +++ b/fonts/kpfonts/latex/kpfonts.sty @@ -1,8 +1,23 @@ +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN archives +%% in directory macros/latex/base/lppl.txt. +%% \NeedsTeXFormat{LaTeX2e} % -\ProvidesPackage{kpfonts} - [ 2010/08/20 v3.31] - +\ProvidesPackage{kpfonts}[ 2022/09/19 v3.34] +% +% This version prepaired by hvoss@tug.org +%----- hv 20220919 +\RequirePackage{iftex} +\@tempswafalse +\ifluatex \@tempswatrue \else \ifxetex \@tempswatrue \fi\fi +\if@tempswa + \RequirePackage{kpfonts-otf} + \endinput +\fi +%----- end hv + \newif\ifkp@math \kp@mathtrue \newif\ifkp@text \kp@texttrue \newif\ifkp@sf \kp@sftrue @@ -91,7 +106,12 @@ \ExecuteOptions{nointlimits,sumlimits} \ProcessOptions\relax -\ifkp@text\ifkp@textcomp\RequirePackage[full]{textcomp}\fi\fi +%----- hv 20220919 +%\ifkp@text\ifkp@textcomp +% \PassOptionsToPackage{full}{texcomp}% +% \RequirePackage{textcomp}% +%\fi\fi +%----- hv end 20220919 \ifkp@math\ifkp@amsmath\RequirePackage{amsmath}\fi\fi \ifkp@text\ifkp@easyscsl\RequirePackage{ifthen}\fi\fi |