Re: Use svgnames in preamble [v2.5.0]
Baris Erkus via lyx-users <[email protected]> Mon, 23 Feb 2026 14:03:37 +0300
| Newsgroups | gmane.editors.lyx.general |
|---|---|
| Message-ID | <DB9PR08MB6409269112EF52A71E728F13DE77A@DB9PR08MB6409.eurprd08.prod.outlook.com> |
On 2/23/2026 1:50 PM, Jürgen Spitzmüller via lyx-users wrote: > Am Montag, dem 23.02.2026 um 13:34 +0300 schrieb Baris Erkus via lyx- > users: >> Well, see the attached MWE: LyX 2.5.0 does not load the xcolor with >> dvips names "always". It loads it only if a dvips name color is used >> in the text. > Sure, this is the same as with other auto-loaded packages. > > Either > > 1. load it manually in the preamble, > > 2. trigger its loading by using such a color (you can do this in the > document body after an ERT % and it won't be output), or > > 3. add to Document Settings > Local Layout: > > Requires xcolor,xcolor:dvipsnames Thanks a bunch. BTW, the additions of colors is a big leap, thanks for all the efforts.. I wonder if "\latexcolor" names will be added in the later versions Also, there is a small bug, I guess, with the new custom color definitions. I cannot retrieve the properties of a previously defined custom color. When I press the "Alter Color" button, the values are all null. I have to look at the LaTeX code to see what I entered in there. One more thing I observed, dark and light mode settings did not work on my Windows 10 laptop, but it worked fine on Windows 11... Thanks again to the developers. Really cool improvements with 2.5.0.. -- lyx-users mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-users