diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index 693e16d55b..5115a57a97 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -1081,6 +1081,7 @@ def revert_mhchem(document): i = 0 j = 0 k = 0 + mhchem = "off" i = find_token(document.header, "\\use_mhchem 1", 0) if i != -1: mhchem = "auto"