Uncompatiable syntax of \set_color

Udicoudco udifoglle at gmail.com
Fri Jun 7 18:36:49 UTC 2024


On Fri, Jun 7, 2024 at 8:50 PM Richard Kimberly Heck <rikiheck at gmail.com> wrote:
>
> On 6/7/24 11:33, Udicoudco wrote:
> > Hello all,
> >
> > The old syntax of \set_color in 2.3 was
> > \set_color "lyxcolorname" "color in normal mode"
> > but now it is
> > \set_color "lyxcolorname" "color in normal mode" "color in darkmode"
> > and so all the color schemes in https://wiki.lyx.org/Tips/ColorSchemes
> > or other places do not work. Is there a way to make the last argument
> > optional to keep all these color schemes work?
>
> I think this was meant to be handled in the prefs2prefs script. Check
> the file prefs2prefs_prefs.py, especially the add_dark_color routine.
>
Oh, I see, thanks! I'll probably mention that in the wiki page.


More information about the lyx-devel mailing list