mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-25 17:44:59 +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?
|
//how can I put it back?
|
||||||
}
|
}
|
||||||
} else if (token == "\\bulletLaTeX") {
|
} else if (token == "\\bulletLaTeX") {
|
||||||
|
// The bullet class should be able to read this.
|
||||||
lex.nextToken();
|
lex.nextToken();
|
||||||
int const index = lex.getInteger();
|
int const index = lex.getInteger();
|
||||||
lex.next();
|
lex.next();
|
||||||
@ -911,6 +912,7 @@ Buffer::parseSingleLyXformat2Token(LyXLex & lex, Paragraph *& par,
|
|||||||
lex.next();
|
lex.next();
|
||||||
temp_str = lex.getString();
|
temp_str = lex.getString();
|
||||||
}
|
}
|
||||||
|
|
||||||
params.user_defined_bullets[index].setText(sum_str);
|
params.user_defined_bullets[index].setText(sum_str);
|
||||||
params.temp_bullets[index].setText(sum_str);
|
params.temp_bullets[index].setText(sum_str);
|
||||||
} else if (token == "\\secnumdepth") {
|
} else if (token == "\\secnumdepth") {
|
||||||
|
@ -171,9 +171,9 @@ void BufferParams::writeFile(ostream & os) const
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
os << "\\bulletLaTeX " << i
|
os << "\\bulletLaTeX " << i
|
||||||
<< "\n\t"
|
<< "\n\t\""
|
||||||
<< user_defined_bullets[i].getText()
|
<< user_defined_bullets[i].getText()
|
||||||
<< "\n\\end_bullet\n";
|
<< "\"\n\\end_bullet\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user