mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Partial revert of e3027574
: don't add \docbook_table_output at lyx2lyx step, let LyX do it when saving the document
This commit is contained in:
parent
d6ec3d686b
commit
1706438cba
@ -3922,13 +3922,6 @@ def revert_libertinus_sftt_fonts(document):
|
||||
add_to_preamble(document, ["\\renewcommand*{\\LibertinusMono@scale}{" + str(tt_scale / 100.0) + "}"])
|
||||
|
||||
|
||||
def convert_docbook_table_output(document):
|
||||
if find_token(document.header, '\\docbook_table_output') != -1:
|
||||
document.warning("Malformed LyX file: \\docbook_table_output found before format 598!")
|
||||
else:
|
||||
document.header.append('\\docbook_table_output 0')
|
||||
|
||||
|
||||
def revert_docbook_table_output(document):
|
||||
i = find_token(document.header, '\\docbook_table_output')
|
||||
if i != -1:
|
||||
@ -3994,7 +3987,7 @@ convert = [
|
||||
[595, []],
|
||||
[596, [convert_parskip]],
|
||||
[597, [convert_libertinus_rm_fonts]],
|
||||
[598, [convert_docbook_table_output]]
|
||||
[598, []]
|
||||
]
|
||||
|
||||
revert = [[597, [revert_docbook_table_output]],
|
||||
|
Loading…
Reference in New Issue
Block a user