mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
b73a59932e
lyx2lyx sets all new math packages to off when converting from old formats. This is correct if any command which would cause an automatic package loading exists in the document. However, it is wrong if no command exists: This leads to problems if later a command is added (bug #9069), which is especially annoying for templates. The fix consists of two parts: 1) convert_use_package() considers now the used commands like revert_use_package(), and uses them to decide whether to set the package to auto or off. 2) convert_undertilde() and revert_undertilde() use a slightly adjusted copy of convert_use_package() and revert_use_package(), so that the bug is also fixed for undertilde. We cannot use the latter functions directly, because of "\usepackage undertilde" vs. "\use_undertilde". |
||
---|---|---|
.. | ||
bind | ||
commands | ||
doc | ||
examples | ||
fonts | ||
images | ||
kbd | ||
layouts | ||
lyx2lyx | ||
scripts | ||
templates | ||
tex | ||
ui | ||
.gitignore | ||
appdata.xml | ||
autocorrect | ||
build-listerrors | ||
chkconfig.ltx | ||
configure.py | ||
CREDITS | ||
encodings | ||
external_templates | ||
generate_contributions.py | ||
languages | ||
latexfonts | ||
layouttranslations | ||
layouttranslations.review | ||
lyx.desktop.in | ||
Makefile.am | ||
symbols | ||
syntax.default | ||
unicodesymbols |