Am Sonntag, 14. Juli 2019, 15:33:17 CEST schrieb Jürgen Spitzmüller:
> Am Sonntag, den 14.07.2019, 09:11 +0200 schrieb Jürgen Spitzmüller:
> > I'd like to complement the list of TeX fonts with extra options. This
> > might require another file format change or two.
> 
> This is done.
> 
> Jürgen
> 

Hm, revert_fonts() is working as expected, but convert_fonts() does not extract
the extended options from e.g.
        \usepackage[a,b,scaled=0.5]{pkg}

To test:
1.) Open new file
2.) Select sf font IBM Plex Sans
3.) Add some option e.g. "proportional" (I know this is invalid)
4.) Add scale factor 50%

In the preamble we have now

        \font_sans "IBMPlexSans" "default"
        \font_sf_scale 50 100
        \font_sans_opts "proportional"

This is OK.
Now export to 2.3.x. The result in the preamble is
        % Added by lyx2lyx
        \usepackage[proportional,scale=0.50]{plex-sans}

This looks OK

Now reimport this back, we have lost setting for \font_sans_opts.

        Kornel

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

Reply via email to