mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
finish support for change tracking revert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7861 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3bb63924d5
commit
05f3c80f92
@ -1,3 +1,7 @@
|
||||
2003-10-06 José Matoa <jamatos@lyx.org>
|
||||
|
||||
* lyxrevert_223.py: finish support for change tracking revert.
|
||||
|
||||
2003-10-03 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx2lxy:
|
||||
|
@ -34,14 +34,23 @@ def convert_bibtex(lines):
|
||||
"\\begin_inset LatexCommand \\BibTeX")
|
||||
|
||||
def rm_tracking_changes(lines):
|
||||
i = find_token(lines, "\\author", 0)
|
||||
if i != -1:
|
||||
del lines[i]
|
||||
|
||||
i = find_token(lines, "\\tracking_changes", 0)
|
||||
if i == -1:
|
||||
return
|
||||
del lines[i]
|
||||
|
||||
#FIXME
|
||||
def rm_body_changes(lines):
|
||||
pass
|
||||
i = 0
|
||||
while 1:
|
||||
i = find_token(lines, "\\change_", i)
|
||||
if i == -1:
|
||||
return
|
||||
|
||||
del lines[i]
|
||||
|
||||
def convert(header, body):
|
||||
rm_end_header(header)
|
||||
|
Loading…
Reference in New Issue
Block a user