git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3356 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-01-13 17:12:01 +00:00
parent a7c062e14e
commit 1cfd4fceac
2 changed files with 4 additions and 2 deletions

View File

@ -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") {

View File

@ -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";
}
}
}