I am in work with implementing the use of IBM Plex fonts.

Lyx2lyx works now fine,
The 2.3 user (latex) preamble looks so, and is working
...
% Added by lyx2lyx
\usepackage[semibold,scale=0.70,textmd]{plex-mono}
% Added by lyx2lyx
\usepackage[extralight,scale=0.80]{plex-sans}
% Added by lyx2lyx
\usepackage{DejaVuSerif}
...
The 2.4 preamble is empty, and the lyx-preamble is
...
\font_roman "DejaVuSerif" "default"
\font_sans "IBMPlexSansExtraLight" "default"
\font_typewriter "IBMPlexMonoSemibold" "default"
\font_math "md-IBMPlexMono" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 80 100
\font_tt_scale 70 100
...
This looks all OK, but when looking int the outed latex-preamble:
...
\documentclass[english]{article}
\usepackage{DejaVuSerif}
\usepackage[extralight,scale=0.8]{plex-sans}
\usepackage[semibold,scale=0.7]{plex-mono}
\usepackage[textmd]{plex-mono}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{babel}
...

This is unfortunately creating option clash, because the math-font shares the 
same package as the mono font (though with different option)

Combined \usepackage[semibold,scale=0.70,textmd]{plex-mono} would work.
The reversion lyx2lyx routine takes care of it, but 'lyx2.4-export latex' does 
not.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to