summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-08 22:15:39 +0000
committerKarl Berry <karl@freefriends.org>2020-02-08 22:15:39 +0000
commit1c3bbdff0aab0dc6cabe1fe32f485d289f861bb1 (patch)
tree238ad5e5628b5d44b74698221d22a7a305973d94
parent5e44a67a6bf73da086183ca92f7a96127fd22b2e (diff)
libertinus-otf (8feb20)
git-svn-id: svn://tug.org/texlive/trunk@53716 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/libertinus-otf/Changes1
-rw-r--r--Master/texmf-dist/doc/fonts/libertinus-otf/README.md2
-rw-r--r--Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdfbin536096 -> 557712 bytes
-rw-r--r--Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex16
-rw-r--r--Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty11
5 files changed, 22 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/Changes b/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
index 4f6cb3627f8..505f223d531 100644
--- a/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
+++ b/Master/texmf-dist/doc/fonts/libertinus-otf/Changes
@@ -1,3 +1,4 @@
+0.23 2020-02-08 - do not load unicode-math if option nomath is used
0.22 2019-10-23 - added SmallCaps for slanted fonts
- several fixes for symbolic names
0.21 2019-10-15 - added feature definitions for slanted fonts
diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/README.md b/Master/texmf-dist/doc/fonts/libertinus-otf/README.md
index 06544b12183..6c0a2e17f15 100644
--- a/Master/texmf-dist/doc/fonts/libertinus-otf/README.md
+++ b/Master/texmf-dist/doc/fonts/libertinus-otf/README.md
@@ -9,5 +9,5 @@ via several font feature settings.
%
%
-% Copyright 2019 Herbert Voss hvoss@tug.org
+% Copyright 2020 Herbert Voss hvoss@tug.org
diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf
index 49efb0927db..f7b6a942040 100644
--- a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf
+++ b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
index e2c7480e607..de6034ff2cd 100644
--- a/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
+++ b/Master/texmf-dist/doc/fonts/libertinus-otf/libertinus-otf-doc.tex
@@ -84,8 +84,9 @@ LibertinusMath-Regular.otf
\end{verbatim}
-With the package \Lpack{libertinus-otf} the serif, sans, mono, and math fonts are set
-as usual:
+With the package \Lpack{libertinus-otf} the serif, sans, mono, and the math fonts are set
+as usual. With the optional argument \verb|nomath| there will be no loading of package
+\verb|unicode-math| and no math font setting.
\begin{verbatim}
@@ -233,8 +234,14 @@ as usual:
Extension = .otf,
]
-\setmathfont{LibertinusMath-Regular.otf}
-\setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
+
+\iflibertinus@nomath\else
+ \typeout{*************************************^^J%
+ * Using libertinus math *^^J%
+ *************************************}%
+ \setmathfont{LibertinusMath-Regular.otf}%[BoldFont=LibertinusMath-Bold.otf]
+ \setmathfont[version=bold,RawFeature={embolden=3}]{LibertinusMath-Regular.otf}
+\fi
\newfontfamily\LibertinusKeyboard{libertinuskeyboard-regular.otf}
\newfontfamily\LibertinusDisplay{libertinusserifdisplay-regular.otf}
@@ -561,6 +568,7 @@ Taka Albo tace Usta pęk ucha.
\normalfont\normalsize
\selectlanguage{english}
+\clearpage
\section{Features}
diff --git a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
index 553231b76d9..e741af8b00d 100644
--- a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
+++ b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty
@@ -5,14 +5,13 @@
%% Either version 1.3 or, at your option, any later version.
%%
%
-% Copyright 2019 Herbert Voss hvoss@tug.org and Bob Tennent rdt@cs.queensu.ca
+% Copyright 2020 Herbert Voss hvoss@tug.org
%
\ProvidesPackage{libertinus-otf}[%
- 2019/10/23 v. 0.22 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.]
+ 2020/02/08 v. 0.23 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
%\RequirePackage[no-math]{fontspec}
-\RequirePackage{unicode-math}
\newif\iflibertinus@mono \libertinus@monotrue
\newif\iflibertinus@nomath \libertinus@nomathfalse
@@ -54,6 +53,12 @@
\ProcessOptionsX\relax
+\iflibertinus@nomath
+ \RequirePackage{fontspec}
+\else
+ \RequirePackage{unicode-math}
+\fi
+
\iflibertinus@lining
\def\libertinus@figurestyle{+lnum}
\else