summaryrefslogtreecommitdiff
path: root/fonts/kpfonts/latex/kpfonts.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-09-20 03:01:38 +0000
committerNorbert Preining <norbert@preining.info>2022-09-20 03:01:38 +0000
commit7907f67d07d36a7e20421a1ec3a0eceecac4aacd (patch)
tree7aae41d00037cc944480cecfa75b88048a672970 /fonts/kpfonts/latex/kpfonts.sty
parentfe872ca5d5d1bb989da6b31802b8e0bfb0342e45 (diff)
CTAN sync 202209200301
Diffstat (limited to 'fonts/kpfonts/latex/kpfonts.sty')
-rw-r--r--fonts/kpfonts/latex/kpfonts.sty28
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