mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
b2b4cb1fe3
commit
001c77d65b
@ -572,15 +572,18 @@ void parse_preamble(Parser & p, ostream & os,
|
||||
h_language = "ukrainian";
|
||||
h_quotes_language = h_language;
|
||||
// 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";
|
||||
opts.erase(it);
|
||||
}
|
||||
// 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";
|
||||
opts.erase(it);
|
||||
}
|
||||
// the remaining options
|
||||
h_options = join(opts, ",");
|
||||
h_textclass = p.getArg('{', '}');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user