From: John Levon Date: Sun, 1 Jun 2003 00:01:50 +0000 (+0000) Subject: bug 1018 fix part 2 X-Git-Tag: 1.6.10~16718 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=767034028fac1ed54fa303a5ebd5610dfdc5f33e;p=features.git bug 1018 fix part 2 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7074 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 2d4bb3ee92..c137a47a1e 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-06-01 John Levon + + * lyx2lyx/lyxconvert_221.py: "\BibTeX" to "\bibtex" (bug 1018) + (from José Matos) + 2003-05-31 Angus Leeming * configure.m4 (latex_to_html_command): add a bunch of formats and diff --git a/lib/lyx2lyx/lyxconvert_221.py b/lib/lyx2lyx/lyxconvert_221.py index 02d9e17f64..14ade384ac 100644 --- a/lib/lyx2lyx/lyxconvert_221.py +++ b/lib/lyx2lyx/lyxconvert_221.py @@ -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