]> git.lyx.org Git - features.git/commitdiff
tex2lyx: latexfonts importation fixes
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 12 Feb 2013 17:47:05 +0000 (18:47 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 12 Feb 2013 17:47:05 +0000 (18:47 +0100)
src/tex2lyx/Preamble.cpp

index 7f48bfb1b79e43d728095509c8eed42eb7f36d95..b1b9ded67d8742195618bb955d35792d75c50b9a 100644 (file)
@@ -679,7 +679,7 @@ void Preamble::handle_package(Parser &p, string const & name,
        }
 
        if (name == "libertine") {
-               h_font_roman = "libertine-legacy";
+               h_font_roman = "libertine";
                // this automatically invokes biolinum
                h_font_sans = "biolinum";
                if (opts == "osf")
@@ -688,8 +688,8 @@ void Preamble::handle_package(Parser &p, string const & name,
 
        if (name == "libertine-type1") {
                h_font_roman = "libertine";
-               // this automatically invokes biolinum
-               h_font_sans = "biolinum";
+               // NOTE: contrary to libertine.sty, libertine-type1
+               // does not automatically invoke biolinum
                if (opts == "lining")
                        h_font_osf = "false";
                else