mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
bug 7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3356 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a7c062e14e
commit
1cfd4fceac
@ -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") {
|
||||
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user