mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
preamble.cpp: don't add \makeatother twice
\makeatother and \makeatletter are already added by LyX around the user preamble git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22027 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3af56311a7
commit
a1b9eedee8
@ -421,12 +421,10 @@ TextClass const parse_preamble(Parser & p, ostream & os, string const & forcecla
|
||||
|
||||
else if (t.cs() == "makeatletter") {
|
||||
p.setCatCode('@', catLetter);
|
||||
h_preamble << "\\makeatletter";
|
||||
}
|
||||
|
||||
else if (t.cs() == "makeatother") {
|
||||
p.setCatCode('@', catOther);
|
||||
h_preamble << "\\makeatother";
|
||||
}
|
||||
|
||||
else if (t.cs() == "newcommand" || t.cs() == "renewcommand"
|
||||
|
Loading…
Reference in New Issue
Block a user