tex2lyx/preamble.cpp: cosmetics again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24793 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-05-15 23:02:53 +00:00
parent b2b4cb1fe3
commit 001c77d65b

View File

@ -572,15 +572,18 @@ void parse_preamble(Parser & p, ostream & os,
h_language = "ukrainian"; h_language = "ukrainian";
h_quotes_language = h_language; h_quotes_language = h_language;
// paper sides // paper sides
if ((it = find(opts.begin(), opts.end(), "twoside")) != opts.end()) { if ((it = find(opts.begin(), opts.end(), "twoside"))
!= opts.end()) {
h_papersides = "2"; h_papersides = "2";
opts.erase(it); opts.erase(it);
} }
// paper columns // paper columns
if ((it = find(opts.begin(), opts.end(), "twocolumn")) != opts.end()) { if ((it = find(opts.begin(), opts.end(), "twocolumn"))
!= opts.end()) {
h_papercolumns = "2"; h_papercolumns = "2";
opts.erase(it); opts.erase(it);
} }
// the remaining options
h_options = join(opts, ","); h_options = join(opts, ",");
h_textclass = p.getArg('{', '}'); h_textclass = p.getArg('{', '}');
} }