2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
+ * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
+ alignment commands (when needed).
+
* text.C (InsertChar): Add ':' to number separator chars.
case LYX_ALIGN_SPECIAL:
break;
case LYX_ALIGN_LEFT:
+ if (moving_arg)
+ os << "\\protect";
if (getParLanguage(bparams)->babel() != "hebrew") {
os << "\\raggedright ";
column+= 13;
}
break;
case LYX_ALIGN_RIGHT:
+ if (moving_arg)
+ os << "\\protect";
if (getParLanguage(bparams)->babel() != "hebrew") {
os << "\\raggedleft ";
column+= 12;
}
break;
case LYX_ALIGN_CENTER:
+ if (moving_arg)
+ os << "\\protect";
os << "\\centering ";
column+= 11;
break;