mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
parent
954be0907b
commit
47176ce34c
@ -1786,10 +1786,13 @@ void Preamble::handle_package(Parser &p, string const & name,
|
|||||||
h_use_nomentbl = true;
|
h_use_nomentbl = true;
|
||||||
options.erase(it);
|
options.erase(it);
|
||||||
}
|
}
|
||||||
if (!options.empty())
|
// Add the package options to the global document options
|
||||||
// Fixme: add PackageOptions to local layout
|
if (!options.empty()) {
|
||||||
warning_message("Ignoring options '" + join(options, ",")
|
if (h_options.empty())
|
||||||
+ "' of package " + name + '.');
|
h_options = join(options, ",");
|
||||||
|
else
|
||||||
|
h_options += ',' + join(options, ",");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (name == "geometry")
|
else if (name == "geometry")
|
||||||
|
Loading…
Reference in New Issue
Block a user