summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/kpfonts-otf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-22 20:13:50 +0000
committerKarl Berry <karl@freefriends.org>2021-05-22 20:13:50 +0000
commit9a6b6e7734c5a57c3cc281c0ea7a4c96aec40915 (patch)
tree412d8a9c9ee968196e22d2524bb78980a7242f61 /Master/texmf-dist/tex/latex/kpfonts-otf
parentaf973a429bcf691d7a19954d7d34792ea2456554 (diff)
kpfonts-otf (22may21)
git-svn-id: svn://tug.org/texlive/trunk@59304 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/kpfonts-otf')
-rw-r--r--Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty16
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty b/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty
index 0630b74ed2d..b182d5f199d 100644
--- a/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty
+++ b/Master/texmf-dist/tex/latex/kpfonts-otf/kpfonts-otf.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}[2019-01-01]
-\def\fileversion{0.35}
-\def\filedate{2021-03-14}
+\def\fileversion{0.36}
+\def\filedate{2021-05-21}
\ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
@@ -179,6 +179,12 @@
\fi
% Loading Math fonts...
+\newcommand*{\KP@mathcal@Warning}{%
+ \PackageWarning{kpfonts-otf}{Option mathcal is no longer needed:\MessageBreak
+ just use \protect\mathcal{} for "calligraphic" \MessageBreak
+ and \protect\mathscr{} for "script" capitals;\MessageBreak reported
+ }%
+}
\ifkp@math
\ifkp@tight
\thinmuskip=2mu
@@ -187,7 +193,7 @@
\fi
\ifkp@lightmath
\ifkp@calasscr
- \Store@KP@MOption{RawFeature}{+ss01}
+ \KP@mathcal@Warning
\fi
\ifkp@sfmathbb
\Store@KP@MOption{RawFeature}{+ss02}
@@ -208,9 +214,10 @@
\Store@KP@MOption{partial}{upright}
\fi
\expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Light.otf}
+ \setmathfont[range={cal,bfcal},RawFeature=+ss01]{KpMath-Light.otf}
\else
\ifkp@calasscr
- \Store@KP@MOption{RawFeature}{+ss01}
+ \KP@mathcal@Warning
\fi
\ifkp@sfmathbb
\Store@KP@MOption{RawFeature}{+ss02}
@@ -231,6 +238,7 @@
\Store@KP@MOption{partial}{upright}
\fi
\expandafter\setmathfont\expandafter[\the\KpMtoks]{KpMath-Regular.otf}
+ \setmathfont[range={cal,bfcal},RawFeature=+ss01]{KpMath-Regular.otf}
\fi
\fi