Re: an even uglier conversion
On Wed, Feb 13, 2002 at 01:24:08PM -0500, Richard E. Hawkins wrote: I see no current way around this but to learn enough latex to write all the math for my captions in latex, as it seems impossible to paste the math inset into the ERT. You could copy open the .lyx file in a text editor. The formulas are stored as LaTeX there. Alternately, you could change line 108 in src/mathed/formulabase.C from '#if 0' to '#if 1'. Afterwards pressing backspace at the very beginning of a formula copys the formula as LaTeX into the main text. Sorry if both of these 'solutions' are clumsy. Andre' -- André Pönitz .. [EMAIL PROTECTED]
Re: an even uglier conversion
On Wed, Feb 13, 2002 at 01:24:08PM -0500, Richard E. Hawkins wrote: > I see no current way around this but to learn enough latex to write all > the math for my captions in latex, as it seems impossible to paste the > math inset into the ERT. You could copy open the .lyx file in a text editor. The formulas are stored as LaTeX there. Alternately, you could change line 108 in src/mathed/formulabase.C from '#if 0' to '#if 1'. Afterwards pressing backspace at the very beginning of a formula copys the formula as LaTeX into the main text. Sorry if both of these 'solutions' are clumsy. Andre' -- André Pönitz .. [EMAIL PROTECTED]
Re: an even uglier conversion
On Wednesday 13 February 2002 6:24 pm, Richard E. Hawkins wrote: I've found two more of the same type of misconversion, but now a worse one: I used lyx math inside the long caption (within the {} ). The ERT ends at the first math inset. I see no current way around this but to learn enough latex to write all the math for my captions in latex, as it seems impossible to paste the math inset into the ERT. Two ERT insets on either side of a math inset ERT[ \caption{ ] MATH[x=y+z] ERT[ } ] Capisco? Angus
Re: an even uglier conversion
Richard E. Hawkins wrote: I've found two more of the same type of misconversion, but now a worse one: I used lyx math inside the long caption (within the {} ). The ERT ends at the first math inset. I see no current way around this but to learn enough latex to write all the math for my captions in latex, as it seems impossible to paste the math inset into the ERT. outside the float do - insert ert \newcommand\myMath[ - insert the formula as usual with mathed - insert ert } - insert the caption as \caption[blub]{blah \myMath bla} and all works well. Herbert -- http://www.lyx.org/help/
Re: an even uglier conversion
[EMAIL PROTECTED] wrote: So if I'm reading this right, the problem isn't that ert can't have insets, but that an ert within a float can't have insets? Or is it that the nesting limit for insets is 1? no, inside ert is only ert! but you can left ert with an open end, means only an opening parenthesis. than you can do what you want. LyX doesn't know that this first ert is incomplete. Another ert with the closing parenthesis makes it latex ready. Between these two ert's you can have all inset stuff as usual. Herbert -- http://www.lyx.org/help/
Re: an even uglier conversion
Herbert Voss wrote: no, inside ert is only ert! but you can left ert ^ leave may be a better word ... :-) HErbert -- http://www.lyx.org/help/
Re: an even uglier conversion
[EMAIL PROTECTED] wrote: hmm. That's how all of these started--real ERT, then ERT off for my text, then an ERT } to close the caption. Conversion left my last caption as plain. Could I have just changed it back?? I had this several times with my 1.1.6 docs. But I can't remember if I made a bug report. Herbert -- http://www.lyx.org/help/
Re: an even uglier conversion
On Wednesday 13 February 2002 6:24 pm, Richard E. Hawkins wrote: > I've found two more of the same type of misconversion, but now a worse > one: I used lyx math inside the long caption (within the {} ). The > ERT ends at the first math inset. > > I see no current way around this but to learn enough latex to write all > the math for my captions in latex, as it seems impossible to paste the > math inset into the ERT. Two ERT insets on either side of a math inset ERT[ \caption{ ] MATH[x=y+z] ERT[ } ] Capisco? Angus
Re: an even uglier conversion
Richard E. Hawkins wrote: > I've found two more of the same type of misconversion, but now a worse > one: I used lyx math inside the long caption (within the {} ). The > ERT ends at the first math inset. > > I see no current way around this but to learn enough latex to write all > the math for my captions in latex, as it seems impossible to paste the > math inset into the ERT. outside the float do - insert ert "\newcommand\myMath[" - insert the formula as usual with mathed - insert ert "}" - insert the caption as \caption[blub]{blah \myMath bla} and all works well. Herbert -- http://www.lyx.org/help/
Re: an even uglier conversion
[EMAIL PROTECTED] wrote: > So if I'm reading this right, the problem isn't that ert can't have > insets, but that an ert within a float can't have insets? > > Or is it that the nesting limit for insets is 1? no, inside ert is only ert! but you can left ert with an open end, means only an opening parenthesis. than you can do what you want. LyX doesn't know that this first ert is incomplete. Another ert with the closing parenthesis makes it latex ready. Between these two ert's you can have all inset stuff as usual. Herbert -- http://www.lyx.org/help/
Re: an even uglier conversion
Herbert Voss wrote: > no, inside ert is only ert! but you can left ert ^ "leave" may be a better word ... :-) HErbert -- http://www.lyx.org/help/
Re: an even uglier conversion
[EMAIL PROTECTED] wrote: > hmm. That's how all of these started--real ERT, then ERT off for my > text, then an ERT } to close the caption. Conversion left my last > caption as plain. Could I have just changed it back?? I had this several times with my 1.1.6 docs. But I can't remember if I made a bug report. Herbert -- http://www.lyx.org/help/