Don't use '\n'.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26095 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-08-08 15:22:43 +00:00
parent 0b115f57db
commit 87d4bd72b3

View File

@ -354,9 +354,9 @@ def lyx2latex(document, lines):
# this needs to be added to the preamble because of cases like
# \textmu, \textbackslash, etc.
add_to_preamble(document, ['% added by lyx2lyx for converted index entries\n'
+ '\\@ifundefined{textmu}\n'
+ ' {\\usepackage{textcomp}}{}'])
add_to_preamble(document, ['% added by lyx2lyx for converted index entries',
'\\@ifundefined{textmu}',
' {\\usepackage{textcomp}}{}'])
# a lossless reversion is not possible
# try at least to handle some common insets and settings
if ert_end >= curline: