From 667a9ad0ce5cda2cf5f0a08a26f01661e30aa75f Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 9 Jul 2020 18:59:54 +0200 Subject: [PATCH] Add support for Libertinus Math --- lib/chkconfig.ltx | 1 + lib/doc/LaTeXConfig.lyx | 66 +++++++++++++++++++++++++++++++++++++++++ lib/latexfonts | 7 +++++ lib/lyx2lyx/lyx_2_4.py | 1 + 4 files changed, 75 insertions(+) diff --git a/lib/chkconfig.ltx b/lib/chkconfig.ltx index 8fb6800728..d2cb624b46 100644 --- a/lib/chkconfig.ltx +++ b/lib/chkconfig.ltx @@ -520,6 +520,7 @@ \TestPackage{libertineMono} \TestPackage{libertineRoman} \TestPackage{libertinus} +\TestPackage{libertinust1math} \TestPackage{lmodern} \TestPackage{luximono} \TestPackage{mathdesign}% for Roman fonts diff --git a/lib/doc/LaTeXConfig.lyx b/lib/doc/LaTeXConfig.lyx index 9532d33091..41ddb04493 100644 --- a/lib/doc/LaTeXConfig.lyx +++ b/lib/doc/LaTeXConfig.lyx @@ -1256,6 +1256,72 @@ Biolinum family of fonts with dome extra features \change_unchanged . +\change_inserted -712698321 1594313728 + +\end_layout + +\begin_layout Subsection +Libertinus +\change_inserted -712698321 1594313793 +T1Math +\change_unchanged + +\end_layout + +\begin_layout Description +Found: +\begin_inset Info +type "package" +arg "libertinust1math" +\end_inset + + +\end_layout + +\begin_layout Description +CTAN: +\family typewriter +fonts/libertinus +\change_inserted -712698321 1594313783 +t1math +\change_unchanged +/ +\end_layout + +\begin_layout Description +Notes: The +\family sans +libertinus +\change_inserted -712698321 1594313750 +t1math +\change_unchanged + +\family default + package provides support for the +\emph on +Libertinus +\change_inserted -712698321 1594313754 + Math +\change_unchanged + +\emph default + +\change_deleted -712698321 1594313759 +family of +\change_unchanged +font +\change_deleted -712698321 1594313767 +s, a derivate of the +\emph on +Libertine +\emph default + and +\emph on +Biolinum +\emph default + family of fonts with dome extra features +\change_unchanged +. \end_layout \begin_layout Subsection diff --git a/lib/latexfonts b/lib/latexfonts index 68a7cc2c93..3120233fd8 100644 --- a/lib/latexfonts +++ b/lib/latexfonts @@ -1289,6 +1289,13 @@ Font libertine-ntxm Provides amssymb,amsfonts EndFont +Font libertinusmath + GuiName "Libertinus Math" + Family math + Package libertinust1math + Provides amssymb,amsfonts +EndFont + Font minion-ntxm GuiName "Minion Pro (New TX)" Family math diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index ea6d0bcbf9..c4d63cab14 100644 --- a/lib/lyx2lyx/lyx_2_4.py +++ b/lib/lyx2lyx/lyx_2_4.py @@ -196,6 +196,7 @@ def createFontMapping(fontlist): fm.expandFontMapping(['FiraMono'], "typewriter", "tt", "FiraMono", "scaled", "lf", "true") elif font == 'libertinus': fm.expandFontMapping(['libertinus,serif'], "roman", None, "libertinus", None, "osf") + fm.expandFontMapping(['libertinusmath'], "math", None, "libertinust1math", None, None) return fm def convert_fonts(document, fm, osfoption = "osf"):