mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
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:
parent
5d239b2db0
commit
767034028f
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user