mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
* Forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32229 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
df329341aa
commit
48168a92b4
@ -1069,6 +1069,15 @@ def revert_mhchem(document):
|
|||||||
del document.header[k]
|
del document.header[k]
|
||||||
|
|
||||||
|
|
||||||
|
def revert_fontenc(document):
|
||||||
|
" Remove fontencoding param "
|
||||||
|
i = find_token(document.header, '\\fontencoding', 0)
|
||||||
|
if i == -1:
|
||||||
|
document.warning("Malformed LyX document: Missing \\fontencoding.")
|
||||||
|
return
|
||||||
|
del document.header[i]
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Conversion hub
|
# Conversion hub
|
||||||
#
|
#
|
||||||
@ -1099,10 +1108,12 @@ convert = [[346, []],
|
|||||||
[368, []],
|
[368, []],
|
||||||
[369, [convert_author_id]],
|
[369, [convert_author_id]],
|
||||||
[370, []],
|
[370, []],
|
||||||
[371, []]
|
[371, []],
|
||||||
|
[372, []]
|
||||||
]
|
]
|
||||||
|
|
||||||
revert = [[370, [revert_mhchem]],
|
revert = [[371, [revert_fontenc]],
|
||||||
|
[370, [revert_mhchem]],
|
||||||
[369, [revert_suppress_date]],
|
[369, [revert_suppress_date]],
|
||||||
[368, [revert_author_id]],
|
[368, [revert_author_id]],
|
||||||
[367, [revert_hspace_glue_lengths]],
|
[367, [revert_hspace_glue_lengths]],
|
||||||
|
Loading…
Reference in New Issue
Block a user