On Fri, Apr 29, 2005 at 06:52:17PM +0200, Georg Baum wrote:
> Martin Vermeer wrote:
>
> > +case LFUN_INSERT_MATH: {
> > +bool const textarg =
> > +arg == "\\textbf" || arg == "\\textsf" ||
> > +arg == "\\textrm" || arg ==
On Fri, Apr 29, 2005 at 07:37:02PM +0300, Martin Vermeer wrote:
> Slightly improved version of same. Makes it nearly impossible to mess up
> :-)
\def\textbf#1{^} and endless variations.
However, I tend to think that for LyX it is ok to handle the common
cases and take the 'once you use ERT you ar
On Fri, Apr 29, 2005 at 06:42:34PM +0200, Jean-Marc Lasgouttes wrote:
> > "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
>
> Martin> Slightly improved version of same. Makes it nearly impossible
> Martin> to mess up :-)
>
> + Separator
> + Item "Text box" "math
On Fri, Apr 29, 2005 at 06:52:17PM +0200, Georg Baum wrote:
> Martin Vermeer wrote:
>
> > +case LFUN_INSERT_MATH: {
> > +bool const textarg =
> > +arg == "\\textbf" || arg == "\\textsf" ||
> > +arg == "\\textrm" || arg ==
Martin Vermeer wrote:
> +case LFUN_INSERT_MATH: {
> +bool const textarg =
> +arg == "\\textbf" || arg == "\\textsf" ||
> +arg == "\\textrm" || arg == "\\textmd" ||
> +arg == "\\textit" || arg ==
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
Martin> Slightly improved version of same. Makes it nearly impossible
Martin> to mess up :-)
+ Separator
+ Item "Text box" "math-mode"
+ End
Isn't this misleading when one is outside math-mode?
JMarc
Slightly improved version of same. Makes it nearly impossible to mess up
:-)
- Martin
Index: src/mathed/math_nestinset.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_nestinset.C,v
retrieving revision 1.153
diff -u