On Thu, Feb 20, 2025 at 07:46:02AM +0000, Juergen Spitzmueller wrote: > commit 3eecbaee3db92c9f7fea1f952b6a818a31545b24 > Author: Juergen Spitzmueller <sp...@lyx.org> > Date: Thu Feb 20 08:34:30 2025 +0100 > > A bit more color to the world, part I > > In addition to the rather small list of mostly unpleasant "base colors" > as defined by color and xcolor, we now support the whole range of > (a whopping 752) named colors provided by the xcolor package. > > The colors are only added to LyX's color cache and list if actually > used, but they are all accessible (for math and text) via the char > style dialog (and we'll see if the UI needs improvement), and known > to tex2lyx. > > In forthcoming parts, these colors will be made accessible also in > other places (e.g., boxes), and I will add the possibility to add to > the list own custom colors (as requested in #1841). > > NOTE that this will drop on you a frightening number of new GUI strings, > many of which, however, (the more technical color names) should probably > simply be taken over from the original (English) form for l7n. > > development/FORMAT | 12 +- > lib/Makefile.am | 2 +- > lib/doc/UserGuide.lyx | 107 +- > lib/doc/de/UserGuide.lyx | 116 +- > lib/latexcolors | 4571 > +++++++++++++++++++++++++++++++++ > lib/lyx2lyx/lyx_2_5.py | 614 ++++- > po/CMakeLists.txt | 1 + > po/lyx_pot.py | 31 +- > src/Color.cpp | 16 +- > src/ColorSet.h | 6 +- > src/Font.cpp | 35 +- > src/FontInfo.cpp | 12 +- > src/FontInfo.h | 1 + > src/LaTeXColors.cpp | 238 ++ > src/LaTeXColors.h | 103 + > src/LaTeXFeatures.cpp | 47 +- > src/LyX.cpp | 15 +- > src/LyX.h | 2 + > src/Makefile.am | 2 + > src/frontends/qt/CategorizedCombo.cpp | 50 +- > src/frontends/qt/CategorizedCombo.h | 5 +- > src/frontends/qt/GuiCharacter.cpp | 94 +- > src/frontends/qt/GuiCharacter.h | 3 +- > src/frontends/qt/ui/CharacterUi.ui | 121 +- > src/mathed/InsetMathColor.cpp | 46 +- > src/mathed/InsetMathColor.h | 2 + > src/tex2lyx/Makefile.am | 1 + > src/tex2lyx/Preamble.cpp | 16 + > src/tex2lyx/Preamble.h | 3 + > src/tex2lyx/dummy_impl.cpp | 10 + > src/tex2lyx/text.cpp | 168 +- > src/version.h | 4 +- > 32 files changed, 6089 insertions(+), 365 deletions(-) > --
I think related to this commit, I now get: /usr/bin/ld: /home/scott/lyxbuilds/master-master/repo/src/FontInfo.cpp:723:(.text+0x50db): undefined reference to `lyx::LaTeXColors::getLaTeXColor(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' clang++: error: linker command failed with exit code 1 (use -v to see invocation) Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-devel