Re: Protecting Math Environments

2001-08-01 Thread Tuukka Toivonen
On 1 Aug 2001, Jean-Marc Lasgouttes wrote: Rainer == Rainer Dorsch [EMAIL PROTECTED] writes: Rainer I am wondering, if it is possible to protect math Rainer environments. This is useful, if commands like Rainer \addcontentsline with non-robust commands are used. It works if you enter math

Re: Protecting Math Environments

2001-08-01 Thread Tuukka Toivonen
On 1 Aug 2001, Jean-Marc Lasgouttes wrote: Rainer == Rainer Dorsch [EMAIL PROTECTED] writes: Rainer I am wondering, if it is possible to protect math Rainer environments. This is useful, if commands like Rainer \addcontentsline with non-robust commands are used. It works if you enter math

Re: Protecting Math Environments

2001-08-01 Thread Tuukka Toivonen
On 1 Aug 2001, Jean-Marc Lasgouttes wrote: > > "Rainer" == Rainer Dorsch <[EMAIL PROTECTED]> writes: > Rainer> I am wondering, if it is possible to protect math > Rainer> environments. This is useful, if commands like > Rainer> \addcontentsline with non-robust commands are used. It works if

Re: Protecting Math Environments

2001-06-21 Thread Rainer Dorsch
Rainer Dorsch wrote: \newcommmand{\myMathEnv}{ \begin{anyMathEnv} . all the mathstuff \end{anyMathEnv}% I want to use the formula editor of lyx to enter the formulas. And it inserts in the latex file \( stuff \) but I need \protect\( stuff

Re: Protecting Math Environments

2001-06-21 Thread Dekel Tsur
On Wed, Jun 20, 2001 at 08:23:07PM +0200, Rainer Dorsch wrote: I want to use the formula editor of lyx to enter the formulas. And it inserts in the latex file \( stuff \) but I need \protect\( stuff \protect\) Just put \protect in latex mode before the math inset, and also go into

Re: Protecting Math Environments

2001-06-21 Thread Rainer Dorsch
Rainer Dorsch wrote: \newcommmand{\myMathEnv}{ \begin{anyMathEnv} . all the mathstuff \end{anyMathEnv}% I want to use the formula editor of lyx to enter the formulas. And it inserts in the latex file \( stuff \) but I need \protect\( stuff

Re: Protecting Math Environments

2001-06-21 Thread Dekel Tsur
On Wed, Jun 20, 2001 at 08:23:07PM +0200, Rainer Dorsch wrote: I want to use the formula editor of lyx to enter the formulas. And it inserts in the latex file \( stuff \) but I need \protect\( stuff \protect\) Just put \protect in latex mode before the math inset, and also go into

Re: Protecting Math Environments

2001-06-21 Thread Rainer Dorsch
> Rainer Dorsch wrote: > > > > > \newcommmand{\myMathEnv}{ > > > \begin{anyMathEnv} > > > . all the mathstuff > > > \end{anyMathEnv}% > > > I want to use the formula editor of lyx to enter the formulas. And it inserts > > in the latex file > > > > \( stuff \) > > > > but I need

Re: Protecting Math Environments

2001-06-21 Thread Dekel Tsur
On Wed, Jun 20, 2001 at 08:23:07PM +0200, Rainer Dorsch wrote: > I want to use the formula editor of lyx to enter the formulas. And it inserts > in the latex file > > \( stuff \) > > but I need > > \protect\( stuff \protect\) Just put \protect in latex mode before the math inset, and also go

Protecting Math Environments

2001-06-20 Thread Rainer Dorsch
Hello, I am wondering, if it is possible to protect math environments. This is useful, if commands like \addcontentsline with non-robust commands are used. Thank you. Rainer.

Re: Protecting Math Environments

2001-06-20 Thread Herbert Voss
Rainer Dorsch wrote: I am wondering, if it is possible to protect math environments. This is useful, if commands like \addcontentsline with non-robust commands are used. i don't know, if i understand your problem well. \newcommmand{\myMathEnv}{ \begin{anyMathEnv} . all the

Re: Protecting Math Environments

2001-06-20 Thread Herbert Voss
Rainer Dorsch wrote: \newcommmand{\myMathEnv}{ \begin{anyMathEnv} . all the mathstuff \end{anyMathEnv}% I want to use the formula editor of lyx to enter the formulas. And it inserts in the latex file \( stuff \) but I need \protect\( stuff \protect\) i don't

Protecting Math Environments

2001-06-20 Thread Rainer Dorsch
Hello, I am wondering, if it is possible to protect math environments. This is useful, if commands like \addcontentsline with non-robust commands are used. Thank you. Rainer.

Re: Protecting Math Environments

2001-06-20 Thread Herbert Voss
Rainer Dorsch wrote: I am wondering, if it is possible to protect math environments. This is useful, if commands like \addcontentsline with non-robust commands are used. i don't know, if i understand your problem well. \newcommmand{\myMathEnv}{ \begin{anyMathEnv} . all the

Re: Protecting Math Environments

2001-06-20 Thread Herbert Voss
Rainer Dorsch wrote: \newcommmand{\myMathEnv}{ \begin{anyMathEnv} . all the mathstuff \end{anyMathEnv}% I want to use the formula editor of lyx to enter the formulas. And it inserts in the latex file \( stuff \) but I need \protect\( stuff \protect\) i don't

Protecting Math Environments

2001-06-20 Thread Rainer Dorsch
Hello, I am wondering, if it is possible to protect math environments. This is useful, if commands like \addcontentsline with non-robust commands are used. Thank you. Rainer.

Re: Protecting Math Environments

2001-06-20 Thread Herbert Voss
Rainer Dorsch wrote: > > I am wondering, if it is possible to protect math environments. This is > useful, if commands like \addcontentsline with non-robust commands are used. i don't know, if i understand your problem well. \newcommmand{\myMathEnv}{ \begin{anyMathEnv} . all the

Re: Protecting Math Environments

2001-06-20 Thread Herbert Voss
Rainer Dorsch wrote: > > > \newcommmand{\myMathEnv}{ > > \begin{anyMathEnv} > > . all the mathstuff > > \end{anyMathEnv}% > I want to use the formula editor of lyx to enter the formulas. And it inserts > in the latex file > > \( stuff \) > > but I need > > \protect\( stuff