mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Renaming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36031 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f652f90af9
commit
a678ee4bdf
@ -362,7 +362,7 @@ def revert_flex_inset(document, name, LaTeXname, position):
|
|||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
|
|
||||||
def revert_charstyles(document, name, LaTeXname, changed):
|
def revert_font_attrs(document, name, LaTeXname, changed):
|
||||||
" Reverts character styles to TeX code "
|
" Reverts character styles to TeX code "
|
||||||
i = 0
|
i = 0
|
||||||
while True:
|
while True:
|
||||||
@ -834,9 +834,9 @@ def revert_printindexall(document):
|
|||||||
def revert_strikeout(document):
|
def revert_strikeout(document):
|
||||||
" Reverts \\strikeout character style "
|
" Reverts \\strikeout character style "
|
||||||
changed = False
|
changed = False
|
||||||
changed = revert_charstyles(document, "\\uuline", "\\uuline", changed)
|
changed = revert_font_attrs(document, "\\uuline", "\\uuline", changed)
|
||||||
changed = revert_charstyles(document, "\\uwave", "\\uwave", changed)
|
changed = revert_font_attrs(document, "\\uwave", "\\uwave", changed)
|
||||||
changed = revert_charstyles(document, "\\strikeout", "\\sout", changed)
|
changed = revert_font_attrs(document, "\\strikeout", "\\sout", changed)
|
||||||
if changed == True:
|
if changed == True:
|
||||||
insert_to_preamble(0, document,
|
insert_to_preamble(0, document,
|
||||||
'% Commands inserted by lyx2lyx for proper underlining\n'
|
'% Commands inserted by lyx2lyx for proper underlining\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user