diff options
author | Karl Berry <karl@freefriends.org> | 2019-02-08 22:59:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-02-08 22:59:45 +0000 |
commit | 7604d048a7cb34edaea8ddd3a8600d9f11fbda95 (patch) | |
tree | 3e41410df96ee541d429f2f47168f5d932e60f32 /Master/texmf-dist/tex | |
parent | aa1c258640d2c95f349e4160664d613bf5836bde (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.sty | 24 |
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 |