Am Mittwoch, den 17.07.2019, 18:24 +0200 schrieb Kornel Benko: > > > The PackageOption is not needed. Regular is default. > > Yes. I knew, but ... I wanted to handle this option in case it is > already used. > Otherwise it would slip into "MoreOptions".
But we can make the routine to consider this. Outputting a redundant option to the latex source just for the sake of lyx2lyx does not strike me plausible. > > > > > --- a/src/LaTeXFonts.cpp > > > > +++ b/src/LaTeXFonts.cpp > > > > @@ -388,6 +388,7 @@ bool LaTeXFont::readFont(Lexer & lex) > > > > { "ot1font", LF_OT1_FONT }, > > > > { "package", LF_PACKAGE }, > > > > { "packageoption", LF_PACKAGEOPTION }, > > > > + { "packageoptions", LF_PACKAGEOPTION }, > > > > > > Accidental commit? > > True :( > OTOH, it reflects the description in latexfonts. I am fine with changing it to the plural, but then packageoption should be removed (and also the enum value renamed accordingly). Jürgen
signature.asc
Description: This is a digitally signed message part