Uncompatiable syntax of \set_color

Richard Kimberly Heck rikiheck at gmail.com
Fri Jun 7 17:50:43 UTC 2024


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.

Riki




More information about the lyx-devel mailing list