From b08d240fdd125f579769dac43c75608d36262e39 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 4 Sep 2013 22:48:53 +0000
Subject: libertine (3sep13)

git-svn-id: svn://tug.org/texlive/trunk@31570 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/libertine/libertine.sty | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/libertine/libertine.sty')

diff --git a/Master/texmf-dist/tex/latex/libertine/libertine.sty b/Master/texmf-dist/tex/latex/libertine/libertine.sty
index 64d7faca695..338312f7c0b 100644
--- a/Master/texmf-dist/tex/latex/libertine/libertine.sty
+++ b/Master/texmf-dist/tex/latex/libertine/libertine.sty
@@ -1,5 +1,5 @@
 \ProvidesPackage{libertine}[%
-  2013/07/21 (Bob Tennent) Supports Libertine and Biolinum fonts for all LaTeX engines.] 
+  2013/09/02 (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                
@@ -363,6 +363,21 @@
           BoldFont       = *_RB , 
           BoldItalicFont = *_RBO , % oblique to fake italic
         ] {\biolinum@base}
+  \providecommand\useosf{%
+    \defaultfontfeatures{
+       Ligatures = TeX ,
+       Extension = .otf ,
+       SmallCapsFeatures={Letters=SmallCaps} 
+    }
+    \setmainfont
+          [ Numbers = {\libertine@figurealign,OldStyle},
+            UprightFont    = *_R,
+            ItalicFont     = *_RI,
+            BoldFont       = *_\libertine@boldstyle, 
+            BoldItalicFont = *_\libertine@boldstyle I,
+          ] {\libertine@base}
+    \defaultfontfeatures{} 
+  }
   \defaultfontfeatures{ Extension = .otf } % Don't want ligatures for mono and keyboard
   \iflibertine@tt
     \setmonofont 
@@ -397,12 +412,14 @@
   \providecommand*\libertineSB{\fontfamily{\libertine@family}\fontseries{sb}\selectfont}
   \providecommand*\libertineOsF{\fontfamily{LinuxLibertineT-\libertine@figurealign OsF}\selectfont}
   \providecommand*\libertineLF{\fontfamily{LinuxLibertineT-\libertine@figurealign LF}\selectfont}
+  \providecommand*\useosf{\edef\libertine@figurestyle{OsF}%
+     \renewcommand*{\rmdefault}{LinuxLibertineT-OsF}}
   \providecommand*\libertineDisplay{\fontfamily{LinuxLibertineDisplayT-\libertine@figurealign\libertine@figurestyle}\selectfont}
   \providecommand*\biolinum{\fontfamily{\biolinum@family}\selectfont}
   \providecommand*\biolinumOsF{\fontfamily{LinuxBiolinumT-\biolinum@figurealign OsF}\selectfont}
   \providecommand*\biolinumLF{\fontfamily{LinuxBiolinumT-\biolinum@figurealign LF}\selectfont}
   \providecommand*\libmono{\fontfamily{LinuxLibertineMonoT-TLF}\selectfont}
-  \providecommand*\libertineInitial{\fontfamily{LinuxLibertineInitialsT-\libertine@figurealign\libertine@figurestyle}\selectfont}
+  \providecommand*\libertineInitial{\fontfamily{LinuxLibertineInitialsT-\libertine@figurestyle}\selectfont}
 
   \fa@naming@exception{figures}{{superior}{proportional}}{Sup}
   \fa@naming@exception{figures}{{superior}{tabular}}{Sup}
-- 
cgit v1.2.3

