mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Amend 5c2d0499
This commit is contained in:
parent
1c3b6807db
commit
9267b2b245
@ -2186,11 +2186,11 @@ def revert_verbatim_star(document):
|
|||||||
|
|
||||||
def convert_save_props(document):
|
def convert_save_props(document):
|
||||||
" Add save_transient_properties parameter. "
|
" Add save_transient_properties parameter. "
|
||||||
i = find_token(document.header, '\\origin', 0)
|
i = find_token(document.header, '\\begin_header', 0)
|
||||||
if i == -1:
|
if i == -1:
|
||||||
document.warning("Malformed lyx document: Missing '\\origin'.")
|
document.warning("Malformed lyx document: Missing '\\begin_header'.")
|
||||||
return
|
return
|
||||||
document.header.insert(i, '\\save_transient_properties true')
|
document.header.insert(i + 1, '\\save_transient_properties true')
|
||||||
|
|
||||||
|
|
||||||
def revert_save_props(document):
|
def revert_save_props(document):
|
||||||
|
Loading…
Reference in New Issue
Block a user