+2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
+
+ * lyx_cb.C (MenuInsertLabel): Enable default value code.
+
2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
* paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
string label(arg);
ProhibitInput(bv);
if (label.empty()) {
-#ifdef LABEL_INIT
#ifndef NEW_INSETS
LyXParagraph * par =
bv->text->cursor.par()->FirstPhysicalPar();
string head;
par_text = split(par_text, head, ' ');
if (i > 0)
- text += '_'; // Is it legal to use spaces in
+ text += '-'; // Is it legal to use spaces in
// labels ?
text += head;
}
pair<bool, string> result =
askForText(_("Enter new label to insert:"), text);
-#else
- pair<bool, string> result =
- askForText(_("Enter new label to insert:"));
-#endif
if (result.first) {
label = frontStrip(strip(result.second));
}