Remove \it and other oldfonts from math completion

\it and the other oldfont commands are deprecated and the new forms
(e.g. \mathit) should be used instead. The old forms can lead to a
warning in TeX Live 2015 and an error in TeX Live 2016.

Note that with this commit only affects completion, so LyX still
supports displaying e.g. \it in math if the user enters it without
completion.

This is consistent with 24d01111.

Thanks to Guillaume for the patch.
This commit is contained in:
Scott Kostyshak 2016-06-25 19:37:15 -04:00
parent 1db883e183
commit 3cecd4d393

View File

@ -133,11 +133,11 @@ ce font forcetext
cf font forcetext cf font forcetext
# old-style font commands # old-style font commands
bf oldfont none bf oldfont none hiddensymbol
cal oldfont none cal oldfont none hiddensymbol
it oldfont none it oldfont none hiddensymbol
rm oldfont none rm oldfont none hiddensymbol
tt oldfont none tt oldfont none hiddensymbol
# matrix environments # matrix environments
Bmatrix matrix none Bmatrix matrix none