2008-01-06 Benny Malengier <benny.malengier@gramps-project.org>
Raphael Ackermann <raphael.ackermann@gmail.com> * src/docgen/LaTeXDoc.py: wrong indent on write, bug #1506 svn: r9718
This commit is contained in:
parent
5c8214c843
commit
d003fd55a7
@ -1,3 +1,7 @@
|
||||
2008-01-06 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||
* src/docgen/LaTeXDoc.py: wrong indent on write, bug #1506
|
||||
|
||||
2008-01-06 Brian Matherly <brian@gramps-project.org>
|
||||
Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||
James Friedmann <jfriedmannj@gmail.com>
|
||||
|
@ -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('<super>','\\textsuperscript{')
|
||||
text = text.replace('</super>','}')
|
||||
text = text.replace('_____________','\\underline{\hspace{3cm}}')
|
||||
self.f.write(text)
|
||||
text = text.replace('#','\#')
|
||||
text = text.replace('&','\&')
|
||||
text = text.replace('<super>','\\textsuperscript{')
|
||||
text = text.replace('</super>','}')
|
||||
text = text.replace('_____________','\\underline{\hspace{3cm}}')
|
||||
self.f.write(text)
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user