lyx_mirror/lib
Enrico Forestieri 039de52ad9 Amend 58103cf2
The \underbar macro is a text mode macro that can also be used
in math mode. However, when inserting it in mathed, LyX helpfully
wraps it in a \text inset. One can dissolve such text inset and
the macro would appear in math mode without any problem. But the
output routine thinks that the user is shooting itself in the
foot and tries to protect him by wrapping \underbar in the
\lyxmathsym macro, whose definition is normally added to the
preamble when an unicode character is used in math mode.

Of course, this is not the case for \underbar and a compile
error arises. The easier solution is to simply add lyxmathsym as
a requirement for \underbar in lib/symbols, but this means
that the definition of \lyxmathsym would be added even when not
necessary (because in the validation routine we miss the info
about the current mode). The correct solution is acknowledging
the dual nature of \underbar as a text-mode macro that can also
be used in math mode. Luckily the correct solution is almost as
easy as the easier one and is what is done in this commit.
2023-11-09 00:21:21 +01:00
..
attic Move Kluwer template to attic. 2022-12-18 17:37:50 +01:00
bind fix comment 2023-10-24 13:48:57 +02:00
citeengines Update layouts. 2023-07-28 18:21:47 -04:00
commands
doc UserGuide: fix menu name 2023-11-09 00:15:16 +01:00
docbook
examples Update ru docs 2023-09-19 01:05:40 +02:00
fonts
images Use same icon for outline-in/out regardeless of "local" argument 2023-10-24 14:34:14 +02:00
kbd missing-symbols-hebrew-kbd 2023-08-01 05:23:05 -04:00
layouts Adapt listings label color for darkmode 2023-09-21 07:11:07 +02:00
lyx2lyx Do not reverse parentheses in pass thru insets (#12966) 2023-11-08 15:14:37 +01:00
scripts Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00
tabletemplates Wrong borders on Simple Grid/Grid with Head table template 2023-02-11 12:07:24 +01:00
templates Revert "Fix compilation of es/Letter standard class" 2023-09-29 10:23:26 -04:00
tex
ui Move textstyle-apply icon back to the group of text-style related icons (+ its appearance). 2023-10-21 23:09:37 +02:00
xtemplates
.gitignore
autocorrect * autocorrect comment 2023-03-20 22:48:41 +01:00
build-listerrors
chkconfig.ltx Limit nomencl backwards support to case when old package is really used 2023-11-08 16:17:58 +01:00
configure.py Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00
CREDITS Add brenyhp to credits 2023-09-13 20:41:43 +02:00
encodings
generate_contributions.py Add brenyhp to credits 2023-09-13 20:41:43 +02:00
languages proper unicode support for hebrew in 8bit engines 2023-09-30 17:09:41 +02:00
latexfonts
layouttranslations Review of pt layouttranslation by Jose 2023-09-03 20:47:36 +02:00
layouttranslations.review Review of pt layouttranslation by Jose 2023-09-03 20:47:36 +02:00
lyx.desktop.in
Makefile.am Whitespace 2023-09-19 23:52:13 +02:00
org.lyx.LyX.metainfo.xml
RELEASE-NOTES * RELEASE-NOTES rephrase 2023-11-01 21:34:46 +01:00
symbols Amend 58103cf2 2023-11-09 00:21:21 +01:00
syntax.default
unicodesymbols proper unicode support for hebrew in 8bit engines 2023-09-30 17:09:41 +02:00