From 1cfd4fceaccc2de186faf1118c2081346d37c65d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Sun, 13 Jan 2002 17:12:01 +0000 Subject: [PATCH] bug 7 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3356 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/buffer.C | 2 ++ src/bufferparams.C | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/buffer.C b/src/buffer.C index a24213ad5d..c18645a357 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -895,6 +895,7 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par, //how can I put it back? } } else if (token == "\\bulletLaTeX") { + // The bullet class should be able to read this. lex.nextToken(); int const index = lex.getInteger(); lex.next(); @@ -911,6 +912,7 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par, lex.next(); temp_str = lex.getString(); } + params.user_defined_bullets[index].setText(sum_str); params.temp_bullets[index].setText(sum_str); } else if (token == "\\secnumdepth") { diff --git a/src/bufferparams.C b/src/bufferparams.C index 09f291d39f..6aa67adfc1 100644 --- a/src/bufferparams.C +++ b/src/bufferparams.C @@ -171,9 +171,9 @@ void BufferParams::writeFile(ostream & os) const } else { os << "\\bulletLaTeX " << i - << "\n\t" + << "\n\t\"" << user_defined_bullets[i].getText() - << "\n\\end_bullet\n"; + << "\"\n\\end_bullet\n"; } } } -- 2.39.5