char ichar = def[0];
if (ichar == '#')
continue;
- if (isUpperCase(ichar)) {
- cs.forceUpperCase = true;
- def[0] = lowercase(ichar);
- }
/** For portability reasons (between different
* cite engines such as natbib and biblatex),
lyx_cmd = split(lyx_cmd, style, '@');
cs.styles = getVectorFromString(style);
}
+ char fchar = lyx_cmd[0];
+ if (isUpperCase(fchar)) {
+ cs.forceUpperCase = true;
+ lyx_cmd[0] = lowercase(fchar);
+ }
cs.name = lyx_cmd;
cs.cmd = latex_cmd.empty() ? lyx_cmd : latex_cmd;
if (!alias.empty()) {