{
bool const isFormatted =
(InsetRef::getName(typeCO->currentIndex()) == "formatted");
+ LYXERR0(InsetRef::getName(typeCO->currentIndex()));
bool const isLabelOnly =
(InsetRef::getName(typeCO->currentIndex()) == "labelonly");
bool const usingRefStyle = buffer().params().use_refstyle;
+ LYXERR0(usingRefStyle);
pluralCB->setEnabled(isFormatted && usingRefStyle);
capsCB->setEnabled(isFormatted && usingRefStyle);
noprefixCB->setEnabled(isLabelOnly);
{ "pageref", N_("Page Number"), N_("Page: ")},
{ "vpageref", N_("Textual Page Number"), N_("TextPage: ")},
{ "vref", N_("Standard+Textual Page"), N_("Ref+Text: ")},
- { "formatted", N_("Formatted"), N_("Format: ")},
{ "nameref", N_("Reference to Name"), N_("NameRef: ")},
+ { "formatted", N_("Formatted"), N_("Format: ")},
{ "labelonly", N_("Label Only"), N_("Label: ")},
{ "", "", "" }
};
- Only allow toggling math limits when it makes sense.
+- Repair (de)activation of plural, capitalize, etc, for refstyle.
+
* INTERNALS