bug 1018 fix part 2

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7074 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-06-01 00:01:50 +00:00
parent 5d239b2db0
commit 767034028f
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-01 John Levon <levon@movementarian.org>
* lyx2lyx/lyxconvert_221.py: "\BibTeX" to "\bibtex" (bug 1018)
(from José Matos)
2003-05-31 Angus Leeming <leeming@lyx.org>
* configure.m4 (latex_to_html_command): add a bunch of formats and

View File

@ -24,9 +24,15 @@ def convert_spaces(lines):
for i in range(len(lines)):
lines[i] = string.replace(lines[i],"\\SpecialChar ~","\\InsetSpace ~")
def convert_bibtex(lines):
for i in range(len(lines)):
lines[i] = string.replace(lines[i],"\\begin_inset LatexCommand \\BibTeX",
"\\begin_inset LatexCommand \\bibtex")
def convert(header, body):
add_end(header)
convert_spaces(body)
convert_bibtex(body)
if __name__ == "__main__":
pass