diff options
Diffstat (limited to 'fonts/libertine/latex')
-rw-r--r-- | fonts/libertine/latex/biolinum-otf.sty | 59 | ||||
-rw-r--r-- | fonts/libertine/latex/biolinum-type1.sty | 16 | ||||
-rw-r--r-- | fonts/libertine/latex/biolinum.sty | 24 | ||||
-rw-r--r-- | fonts/libertine/latex/libertine-otf.sty | 60 | ||||
-rw-r--r-- | fonts/libertine/latex/libertine-type1.sty | 16 | ||||
-rw-r--r-- | fonts/libertine/latex/libertine.sty | 58 | ||||
-rw-r--r-- | fonts/libertine/latex/libertineMono-type1.sty | 16 | ||||
-rw-r--r-- | fonts/libertine/latex/libertineMono.sty | 2 | ||||
-rw-r--r-- | fonts/libertine/latex/libertineRoman.sty | 24 | ||||
-rw-r--r-- | fonts/libertine/latex/libertineotf.sty | 21 |
10 files changed, 20 insertions, 276 deletions
diff --git a/fonts/libertine/latex/biolinum-otf.sty b/fonts/libertine/latex/biolinum-otf.sty deleted file mode 100644 index 8aca0df631..0000000000 --- a/fonts/libertine/latex/biolinum-otf.sty +++ /dev/null @@ -1,59 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{biolinum-otf} - [2012/10/31 (autoinst) Style file for LinuxBiolinumO when using LuaLaTeX or XeLatex.] -\RequirePackage{ifxetex,ifluatex} -\ifxetex - % okay - \XeTeXtracingfonts=1\relax -\else - \ifluatex - % okay - \else - \PackageError{biolinum-otf}{runs only with xelatex and lualatex!}{} - \fi -\fi - - -\RequirePackage{textcomp} -\IfFileExists{fontaxes.sty}{ - \RequirePackage{fontaxes} -}{} - -\IfFileExists{xkeyval.sty}{ - \providecommand*{\LinuxBiolinumO@scale}{1} - \RequirePackage{xkeyval} - \DeclareOptionX{scaled}{\renewcommand*{\LinuxBiolinumO@scale}{##1}} -}{ - \let\DeclareOptionX\DeclareOption - \let\ExecuteOptionsX\ExecuteOptions - \let\ProcessOptionsX\ProcessOptions -} - - -\DeclareOptionX{lining}{\edef\LinuxBiolinumO@figurestyle{Lining}} -\DeclareOptionX{nf}{\edef\LinuxBiolinumO@figurestyle{Lining}} -\DeclareOptionX{oldstyle}{\edef\LinuxBiolinumO@figurestyle{OldStyle}} -\DeclareOptionX{osf}{\edef\LinuxBiolinumO@figurestyle{OldStyle}} -\DeclareOptionX{tabular}{\edef\LinuxBiolinumO@figurealign{Monospaced}} -\DeclareOptionX{proportional}{\edef\LinuxBiolinumO@figurealign{Proportional}} -\DeclareOptionX{bold}{} -\DeclareOptionX{semibold}{} -\ExecuteOptionsX{oldstyle,proportional} -\ProcessOptionsX\relax - -\RequirePackage{fontspec} -\defaultfontfeatures{ - Ligatures = TeX , - Extension = .otf } - -% Default font -\setsansfont - [ Numbers = {\LinuxBiolinumO@figurealign, \LinuxBiolinumO@figurestyle} , - Scale = \LinuxBiolinumO@scale , - UprightFont = *_R , - ItalicFont = *_RI , - BoldFont = *_RB , - BoldItalicFont = *_RBO ] % oblique to fake italic - {LinBiolinum} - -\endinput diff --git a/fonts/libertine/latex/biolinum-type1.sty b/fonts/libertine/latex/biolinum-type1.sty deleted file mode 100644 index 3cb9ceaa0b..0000000000 --- a/fonts/libertine/latex/biolinum-type1.sty +++ /dev/null @@ -1,16 +0,0 @@ -\ProvidesPackage{biolinum-type1}[% - 2013/02/14 (Bob Tennent) Compatibility style file for Linux Biolinum. ] - -\PackageWarningNoLine{biolinum-type1}{% - *****************************************\MessageBreak - The biolinum-type1 package is obsolete. \MessageBreak - For new documents, please use \MessageBreak - \@spaces\string\usepackage[type1]{biolinum} \MessageBreak - *****************************************} - -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{biolinum}} -\ProcessOptions\relax - -\RequirePackage[type1]{biolinum} - -\endinput diff --git a/fonts/libertine/latex/biolinum.sty b/fonts/libertine/latex/biolinum.sty index 6c19fcc824..a5180d5463 100644 --- a/fonts/libertine/latex/biolinum.sty +++ b/fonts/libertine/latex/biolinum.sty @@ -1,5 +1,5 @@ \ProvidesPackage{biolinum}[% - 2014/02/11 (Bob Tennent) Supports Biolinum fonts for all LaTeX engines.] + 2020/03/26 (Bob Tennent) Supports Biolinum fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -244,6 +244,8 @@ % Define \oldstylenums[f] and \liningnums[f] \iflibertine@otf + \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} \else % type1 % \oldstylenums defined by \textcomp? \DeclareTextFontCommand{\liningnums}{} @@ -254,24 +256,8 @@ % Define \tabularnums[f] and \proportionalnums[f] \iflibertine@otf - \newfontfamily\biolinumtabular - [ Numbers = {Monospaced,\biolinum@figurestyle}, - Scale = \LinuxBiolinumT@scale , - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_RB, - BoldItalicFont = *_RBO , % oblique to fake italic - ] {\biolinum@base} - \newfontfamily\biolinumproportional - [ Numbers = {Proportional,\biolinum@figurestyle}, - Scale = \LinuxBiolinumT@scale , - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_RB, - BoldItalicFont = *_RBO , % oblique to fake italic - ] {\biolinum@base} - \DeclareTextFontCommand{\tabularnumsf}{\biolinumtabular} - \DeclareTextFontCommand{\proportionalnumsf}{\biolinumproportional} + \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} + \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}} \else % type1 \DeclareTextFontCommand{\tabularnumsf}{\fontfamily{LinuxBiolinumT-T\biolinum@figurestyle}\selectfont} \DeclareTextFontCommand{\proportionalnumsf}{\fontfamily{LinuxBiolinumT-\biolinum@figurestyle}\selectfont} diff --git a/fonts/libertine/latex/libertine-otf.sty b/fonts/libertine/latex/libertine-otf.sty deleted file mode 100644 index 221c5f49fd..0000000000 --- a/fonts/libertine/latex/libertine-otf.sty +++ /dev/null @@ -1,60 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{libertine-otf} - [2012/10/31 (autoinst) Style file for LinuxLibertineO when using LuaLaTeX or XeLatex.] -\RequirePackage{ifxetex,ifluatex} -\ifxetex - % okay - \XeTeXtracingfonts=1\relax -\else - \ifluatex - % okay - \else - \PackageError{libertine-otf}{runs only with xelatex and lualatex!}{} - \fi -\fi - -\RequirePackage{textcomp} -\IfFileExists{fontaxes.sty}{ - \RequirePackage{fontaxes} -}{} - -\IfFileExists{xkeyval.sty}{ - \newcommand*{\LinuxLibertineO@scale}{1} - \RequirePackage{xkeyval} -% \DeclareOptionX{scaled}{\renewcommand*{\LinuxLibertineO@scale}{##1}} - \DeclareOptionX{scaled}{} -}{ - \let\DeclareOptionX\DeclareOption - \let\ExecuteOptionsX\ExecuteOptions - \let\ProcessOptionsX\ProcessOptions -} - - -\DeclareOptionX{lining}{\edef\LinuxLibertineO@figurestyle{Lining}} -\DeclareOptionX{nf}{\edef\LinuxLibertineO@figurestyle{Lining}} -\DeclareOptionX{oldstyle}{\edef\LinuxLibertineO@figurestyle{OldStyle}} -\DeclareOptionX{osf}{\edef\LinuxLibertineO@figurestyle{OldStyle}} -\DeclareOptionX{tabular}{\edef\LinuxLibertineO@figurealign{Monospaced}} -\DeclareOptionX{proportional}{\edef\LinuxLibertineO@figurealign{Proportional}} -\DeclareOptionX{bold}{\edef\LinuxLibertineO@boldstyle{RB}} -\DeclareOptionX{semibold}{\edef\LinuxLibertineO@boldstyle{RZ}} -\ExecuteOptionsX{oldstyle,proportional,bold} -\ProcessOptionsX\relax - -\RequirePackage{fontspec} -\defaultfontfeatures{ - Ligatures = TeX , - Extension = .otf } - -% Default font -\setmainfont - [ SmallCapsFeatures={Letters=SmallCaps}, - Numbers = {\LinuxLibertineO@figurealign, \LinuxLibertineO@figurestyle} , - Scale = \LinuxLibertineO@scale , - UprightFont = *_R , - ItalicFont = *_RI, - BoldFont = *_\LinuxLibertineO@boldstyle , - BoldItalicFont = *_\LinuxLibertineO@boldstyle I] - {LinLibertine} - -\endinput diff --git a/fonts/libertine/latex/libertine-type1.sty b/fonts/libertine/latex/libertine-type1.sty deleted file mode 100644 index c40a7991b8..0000000000 --- a/fonts/libertine/latex/libertine-type1.sty +++ /dev/null @@ -1,16 +0,0 @@ -\ProvidesPackage{libertine-type1}[% - 2013/02/14 (Bob Tennent) Compatibility style file for Linux Libertine. ] - -\PackageWarningNoLine{libertine-type1}{% - ******************************************\MessageBreak - The libertine-type1 package is obsolete. \MessageBreak - For new documents, please use \MessageBreak - \@spaces\string\usepackage[type1]{libertineRoman} \MessageBreak - ******************************************} - -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{libertineRoman}} -\ProcessOptions\relax - -\RequirePackage[type1]{libertineRoman} - -\endinput diff --git a/fonts/libertine/latex/libertine.sty b/fonts/libertine/latex/libertine.sty index d8ecfc6dda..c124410c0f 100644 --- a/fonts/libertine/latex/libertine.sty +++ b/fonts/libertine/latex/libertine.sty @@ -1,5 +1,5 @@ \ProvidesPackage{libertine}[% - 2019/07/01 (Bob Tennent) Supports Libertine and Biolinum fonts for all LaTeX engines.] + 2020/03/26 (Bob Tennent) Supports Libertine and Biolinum fonts for all LaTeX engines.] % with (partial) compatibilty with libertine-type1, biolinum-type1, % libertine, libertine-legacy and libertineotf packages @@ -471,22 +471,12 @@ \iflibertine@otf \iflibertine@rm - \DeclareTextFontCommand{\oldstylenums}{\libertineOsF} - \DeclareTextFontCommand{\liningnums}{\libertineLF} + \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} \fi \iflibertine@sf - \DeclareTextFontCommand{\oldstylenumsf}{\biolinumOsF} - \DeclareTextFontCommand{\liningnumsf}{\biolinumLF} - \fi - \iflibertine@rm - \iflibertine@sf\else % Libertine only - \DeclareTextFontCommand{\oldstylenumsf}{\sffamily\oldstylenums} - \DeclareTextFontCommand{\liningnumsf}{\sffamily\liningnums} - \fi - \else - \iflibertine@sf % Biolinum only - % \oldstynums and \liningnums defined by \fontspec ? - \fi + \DeclareTextFontCommand{\oldstylenumsf}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnumsf}{\addfontfeatures{Numbers=Lining}} \fi \else % type1 \iflibertine@rm @@ -512,43 +502,13 @@ % Define \tabularnums[f] and \proportionalnums[f] \iflibertine@otf - \newfontfamily\libertinetabular - [ Numbers = {Monospaced,\libertine@figurestyle}, - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_\libertine@boldstyle, - BoldItalicFont = *_\libertine@boldstyle I , - ] {\libertine@base} - \newfontfamily\libertineproportional - [ Numbers = {Proportional,\libertine@figurestyle}, - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_\libertine@boldstyle, - BoldItalicFont = *_\libertine@boldstyle I, - ] {\libertine@base} - \newfontfamily\biolinumtabular - [ Numbers = {Monospaced,\biolinum@figurestyle}, - Scale = \LinuxBiolinumT@scale , - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_RB, - BoldItalicFont = *_RBO , % oblique to fake italic - ] {\biolinum@base} - \newfontfamily\biolinumproportional - [ Numbers = {Proportional,\biolinum@figurestyle}, - Scale = \LinuxBiolinumT@scale , - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_RB, - BoldItalicFont = *_RBO , % oblique to fake italic - ] {\biolinum@base} \iflibertine@rm - \DeclareTextFontCommand{\tabularnums}{\libertinetabular} - \DeclareTextFontCommand{\proportionalnums}{\libertineproportional} + \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} + \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}} \fi \iflibertine@sf - \DeclareTextFontCommand{\tabularnumsf}{\biolinumtabular} - \DeclareTextFontCommand{\proportionalnumsf}{\biolinumproportional} + \DeclareTextFontCommand{\tabularnumsf}{\addfontfeatures{Numbers=Tabular}} + \DeclareTextFontCommand{\proportionalnumsf}{\addfontfeatures{Numbers=Proportional}} \fi \else % type1 \iflibertine@rm diff --git a/fonts/libertine/latex/libertineMono-type1.sty b/fonts/libertine/latex/libertineMono-type1.sty deleted file mode 100644 index dba88b364b..0000000000 --- a/fonts/libertine/latex/libertineMono-type1.sty +++ /dev/null @@ -1,16 +0,0 @@ -\ProvidesPackage{libertineMono-type1}[% - 2013/08/16 (Bob Tennent) Compatibility style file for Linux Libertine. ] - -\PackageWarningNoLine{libertineMono-type1}{% - ******************************************\MessageBreak - This package is obsolete. \MessageBreak - For new documents, please use \MessageBreak - \@spaces\string\usepackage[type1]{libertineMono} \MessageBreak - ******************************************} - -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{libertineMono}} -\ProcessOptions\relax - -\RequirePackage[type1]{libertineMono} - -\endinput diff --git a/fonts/libertine/latex/libertineMono.sty b/fonts/libertine/latex/libertineMono.sty index a5fc20f250..a2eed2c7ff 100644 --- a/fonts/libertine/latex/libertineMono.sty +++ b/fonts/libertine/latex/libertineMono.sty @@ -1,5 +1,5 @@ \ProvidesPackage{libertineMono}[% - 2013/07/19 (Bob Tennent) Supports Libertine Mono fonts for all LaTeX engines.] + 2020/03/26 (Bob Tennent) Supports Libertine Mono fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} diff --git a/fonts/libertine/latex/libertineRoman.sty b/fonts/libertine/latex/libertineRoman.sty index 8b559907ab..61e18e045e 100644 --- a/fonts/libertine/latex/libertineRoman.sty +++ b/fonts/libertine/latex/libertineRoman.sty @@ -1,5 +1,5 @@ \ProvidesPackage{libertineRoman}[% - 2014/03/16 (Bob Tennent) Supports Libertine Roman fonts for all LaTeX engines.] + 2020/03/26 (Bob Tennent) Supports Libertine Roman fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -226,8 +226,8 @@ % Define \oldstylenums[f] and \liningnums[f] \iflibertine@otf - \DeclareTextFontCommand{\oldstylenumsf}{\sffamily\oldstylenums} - \DeclareTextFontCommand{\liningnumsf}{\sffamily\liningnums} + \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} \else % type1 \DeclareTextFontCommand{\oldstylenums}{\libertineOsF} \DeclareTextFontCommand{\liningnums}{\libertineLF} @@ -238,22 +238,8 @@ % Define \tabularnums[f] and \proportionalnums[f] \iflibertine@otf - \newfontfamily\libertinetabular - [ Numbers = {Monospaced,\libertine@figurestyle}, - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_\libertine@boldstyle, - BoldItalicFont = *_\libertine@boldstyle I , - ] {\libertine@base} - \newfontfamily\libertineproportional - [ Numbers = {Proportional,\libertine@figurestyle}, - UprightFont = *_R, - ItalicFont = *_RI, - BoldFont = *_\libertine@boldstyle, - BoldItalicFont = *_\libertine@boldstyle I, - ] {\libertine@base} - \DeclareTextFontCommand{\tabularnums}{\libertinetabular} - \DeclareTextFontCommand{\proportionalnums}{\libertineproportional} + \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} + \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}} \else % type1 \DeclareTextFontCommand{\tabularnums}{\fontfamily{LinuxLibertineT-T\libertine@figurestyle}\selectfont} \DeclareTextFontCommand{\proportionalnums}{\fontfamily{LinuxLibertineT-\libertine@figurestyle}\selectfont} diff --git a/fonts/libertine/latex/libertineotf.sty b/fonts/libertine/latex/libertineotf.sty deleted file mode 100644 index 5558eea1c9..0000000000 --- a/fonts/libertine/latex/libertineotf.sty +++ /dev/null @@ -1,21 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{libertineotf} - [2012/11/19 (Bob Tennent) Compatibility style file for Linux Libertine and Biolinum.] - -\PackageWarningNoLine{libertineotf}{% -*********************************************\MessageBreak -The libertine package provides partial \MessageBreak -compatibility with the original libertineotf \MessageBreak -package for legacy documents; for new \MessageBreak -documents, please use `libertine' directly: \MessageBreak -\@spaces\string\usepackage{libertine}. \MessageBreak -The original libertineotf package is \MessageBreak -available from CTAN. \MessageBreak -**********************************************} - -\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{libertine}} -\ProcessOptions\relax - -\RequirePackage{libertine} - -\endinput |