commit 3eecbaee3db92c9f7fea1f952b6a818a31545b24
Author: Juergen Spitzmueller <[email protected]>
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(-)
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs