From d003fd55a7b09cf557569e4db68f8ea7fd7b04cf Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Sun, 6 Jan 2008 08:58:27 +0000 Subject: [PATCH] 2008-01-06 Benny Malengier Raphael Ackermann * src/docgen/LaTeXDoc.py: wrong indent on write, bug #1506 svn: r9718 --- ChangeLog | 4 ++++ src/docgen/LaTeXDoc.py | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6071ca71c..6b09842b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-06 Benny Malengier + Raphael Ackermann + * src/docgen/LaTeXDoc.py: wrong indent on write, bug #1506 + 2008-01-06 Brian Matherly Raphael Ackermann James Friedmann diff --git a/src/docgen/LaTeXDoc.py b/src/docgen/LaTeXDoc.py index 56baa9df1..bc666a6ef 100644 --- a/src/docgen/LaTeXDoc.py +++ b/src/docgen/LaTeXDoc.py @@ -500,12 +500,12 @@ class LaTeXDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc): """Write the text to the file""" if text == '\n': text = '\\newline\n' - text = text.replace('#','\#') - text = text.replace('&','\&') - text = text.replace('','\\textsuperscript{') - text = text.replace('','}') - text = text.replace('_____________','\\underline{\hspace{3cm}}') - self.f.write(text) + text = text.replace('#','\#') + text = text.replace('&','\&') + text = text.replace('','\\textsuperscript{') + text = text.replace('','}') + text = text.replace('_____________','\\underline{\hspace{3cm}}') + self.f.write(text) #------------------------------------------------------------------------