summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-08 22:59:45 +0000
committerKarl Berry <karl@freefriends.org>2019-02-08 22:59:45 +0000
commit7604d048a7cb34edaea8ddd3a8600d9f11fbda95 (patch)
tree3e41410df96ee541d429f2f47168f5d932e60f32 /Master/texmf-dist/tex
parentaa1c258640d2c95f349e4160664d613bf5836bde (diff)
libertinus-type1 (7feb19)
git-svn-id: svn://tug.org/texlive/trunk@49979 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/libertinus-type1/libertinus-type1.sty24
1 files changed, 21 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/libertinus-type1/libertinus-type1.sty b/Master/texmf-dist/tex/latex/libertinus-type1/libertinus-type1.sty
index c84968e4c60..c7696c84b92 100644
--- a/Master/texmf-dist/tex/latex/libertinus-type1/libertinus-type1.sty
+++ b/Master/texmf-dist/tex/latex/libertinus-type1/libertinus-type1.sty
@@ -1,7 +1,25 @@
\ProvidesPackage{libertinus-type1}[%
- 2018/09/01 (Bob Tennent) Supports libertinus fonts for latex/pdflatex.]
+ 2019/02/07 (Bob Tennent) Supports libertinus fonts for latex/pdflatex.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
+\newif\iflibertinus@otf
+\ifxetex
+ \libertinus@otftrue
+\else\ifluatex
+ \libertinus@otftrue
+\else % [pdf]LaTeX
+ \libertinus@otffalse
+\fi\fi
+
+\iflibertinus@otf\PackageError{libertinus-type1}{%
+\MessageBreak Can't use xelatex or lualatex\MessageBreak with this package}%
+{*****************************************\MessageBreak
+Process with latex or pdflatex or\MessageBreak
+use libertinus.sty or libertinus-otf.sty.\MessageBreak
+*****************************************}
+\fi
+
+
\RequirePackage{mweights,fontenc,fontaxes}
@@ -185,8 +203,8 @@
\fa@naming@exception{figures}{{superior}{tabular}}{Sup}
\def\sufigures{\@nomath\sufigures\fontfigurestyle{superior}\selectfont}
\providecommand*\useosf{\edef\libertinusserif@figurestyle{OsF}\edef\libertinussans@figurestyle{OsF}%
- \iflibertinusserif@rm \renewcommand*\rmdefault{LibertinusSerif-OsF}\fi
- \iflibertinusserif@sf \renewcommand*\sfdefault{LibertinusSans-OsF}\fi}
+ \iflibertinus@rm \renewcommand*\rmdefault{LibertinusSerif-OsF}\fi
+ \iflibertinus@sf \renewcommand*\sfdefault{LibertinusSans-OsF}\fi}
\DeclareTextFontCommand{\textsu}{\sufigures}
\let\textsuperior\textsu