mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
* cosmetic and comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23624 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
97a1fcc721
commit
c17df2980b
@ -1268,10 +1268,11 @@ bool MathMacroTemplate::fixNameAndCheckIfValid()
|
||||
|
||||
void MathMacroTemplate::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
if (optionals_ > 0) {
|
||||
//features.require("newlyxcommand");
|
||||
// we need global optional macro arguments. They are not available
|
||||
// with \def, and \newcommand does not support global macros. So we
|
||||
// are bound to xargs also for the single-optional-parameter case.
|
||||
if (optionals_ > 0)
|
||||
features.require("xargs");
|
||||
}
|
||||
}
|
||||
|
||||
void MathMacroTemplate::getDefaults(vector<docstring> & defaults) const
|
||||
|
Loading…
Reference in New Issue
Block a user