diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty b/Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty index a8e0e92f895..53000de1a97 100644 --- a/Master/texmf-dist/tex/latex/kpfonts/kpfonts.sty +++ b/Master/texmf-dist/tex/latex/kpfonts/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 |