mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
52d2588613
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". |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
generate_encoding_info.py | ||
lyx2lyx | ||
lyx2lyx_lang.py | ||
lyx2lyx_tools.py | ||
lyx2lyx_version.py.in | ||
lyx_0_06.py | ||
lyx_0_08.py | ||
lyx_0_10.py | ||
lyx_0_12.py | ||
lyx_1_0.py | ||
lyx_1_1_5.py | ||
lyx_1_1_6_0.py | ||
lyx_1_1_6_3.py | ||
lyx_1_1.py | ||
lyx_1_2.py | ||
lyx_1_3.py | ||
lyx_1_4.py | ||
lyx_1_5.py | ||
lyx_1_6.py | ||
lyx_2_0.py | ||
lyx_2_1.py | ||
lyx_2_2.py | ||
LyX.py | ||
Makefile.am | ||
parser_tools.py | ||
profiling.py | ||
test_parser_tools.py | ||
unicode_symbols.py |