commit 2955992f8a017c4f635d6cffeadf256b08f90f25
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Oct 27 17:01:44 2025 +0100

    un-hardcode special characters
    
    They are now defined in a structured format (see stdspecialchars.inc
    for the received ones), hence new ones can be added in layouts or
    modules and existing ones modified.
    
    Eventually, I also plan to add per-language definitions, which would
    allow us to support language specific commands and shorthands.
    
    Layout format change. File format only needs to change when new chars
    are being added.

 lib/Makefile.am                 |   1 +
 lib/doc/Customization.lyx       | 998 ++++++++++++++++++++++++++++++++++++++++
 lib/doc/de/Customization.lyx    | 726 ++++++++++++++++++++++++++++-
 lib/layouts/stdspecialchars.inc | 206 +++++++--
 lib/scripts/layout2layout.py    |   7 +-
 lib/ui/stdmenus.inc             |  15 +-
 src/Text.cpp                    |  48 +-
 src/TextClass.cpp               | 206 ++++++++-
 src/TextClass.h                 |  29 ++
 src/frontends/qt/Menus.cpp      |  50 ++
 src/insets/InsetInfo.cpp        |   2 +-
 src/insets/InsetSpecialChar.cpp | 565 ++++++-----------------
 src/insets/InsetSpecialChar.h   |  14 +-
 src/support/lstrings.cpp        |   2 -
 src/support/lstrings.h          |   4 +-
 15 files changed, 2360 insertions(+), 513 deletions(-)
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to