- use valid citation commands only (bug 4876)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24856
a592a061-630c-0410-9148-
cb99ea01b6c8
string output;
switch (engine) {
case ENGINE_BASIC:
string output;
switch (engine) {
case ENGINE_BASIC:
+ if (input == "nocite")
+ output = input;
+ else
+ output = default_str;
break;
case ENGINE_NATBIB_AUTHORYEAR:
case ENGINE_NATBIB_NUMERICAL:
break;
case ENGINE_NATBIB_AUTHORYEAR:
case ENGINE_NATBIB_NUMERICAL:
- if (input == "cite" || input == "citefield" ||
- input == "citetitle" || input == "cite*")
+ if (input == "cite" || input == "citefield"
+ || input == "citetitle" || input == "cite*")
output = default_str;
else if (prefixIs(input, "foot"))
output = input.substr(4);
output = default_str;
else if (prefixIs(input, "foot"))
output = input.substr(4);