mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix #10760
This commit is contained in:
parent
4f341fc59d
commit
4c62e25ed6
@ -1996,7 +1996,8 @@ def revert_mathindent(document):
|
||||
i = find_re(document.header, regexp, 0)
|
||||
if i != -1:
|
||||
value = get_value(document.header, "\\math_indentation" , i).split()[0]
|
||||
add_to_preamble(document, ["\\setlength{\\mathindent}{" + value + '}'])
|
||||
if value != "default":
|
||||
add_to_preamble(document, ["\\setlength{\\mathindent}{" + value + '}'])
|
||||
del document.header[i]
|
||||
# now set the document class option
|
||||
regexp = re.compile(r'(\\is_math_indent 1)')
|
||||
|
Loading…
Reference in New Issue
Block a user