Re: User guide inaccuracy
Darren == Darren Freeman [EMAIL PROTECTED] writes: Darren On Thu, 2007-06-28 at 18:09 +0200, Uwe Stöhr wrote: Darren Freeman schrieb: This is a completely different case and a known bug btw. (consequence of bug 1435). Presing C-m in mathed should create another formula inside the formula. To trasform text in formulas, use Alt-m m. Darren Pressing C-m has worked to create math-text within mathed for Darren as long as I have used LyX.. since 1.2-ish. Also I'm sure I Darren first read to do that in the user guide. C-m and Alt-m m are exactly the same thing. They are both bound to math-mode. So you are right. JMarc
Re: User guide inaccuracy
> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: Darren> On Thu, 2007-06-28 at 18:09 +0200, Uwe Stöhr wrote: >> Darren Freeman schrieb: >> This is a completely different case and a known bug btw. >> (consequence of bug 1435). Presing C-m in mathed should create >> another formula inside the formula. To trasform text in formulas, >> use "Alt-m m". Darren> Pressing C-m has worked to create math-text within mathed for Darren> as long as I have used LyX.. since 1.2-ish. Also I'm sure I Darren> first read to do that in the user guide. C-m and Alt-m m are exactly the same thing. They are both bound to "math-mode". So you are right. JMarc
Re: User guide inaccuracy
On Thu, 2007-06-28 at 18:09 +0200, Uwe Stöhr wrote: Darren Freeman schrieb: This doesn't change the fact that if you open a new document and hit C-m around some text in mathed, the View-Source window will show \mbox in use. This is a completely different case and a known bug btw. (consequence of bug 1435). Presing C-m in mathed should create another formula inside the formula. To trasform text in formulas, use Alt-m m. Pressing C-m has worked to create math-text within mathed for as long as I have used LyX.. since 1.2-ish. Also I'm sure I first read to do that in the user guide. I'm no longer sure that we are talking about the same thing! So is the manual wrong, is there a bug, or what? Have fun, Darren
Re: User guide inaccuracy
On Thu, 2007-06-28 at 18:09 +0200, Uwe Stöhr wrote: > Darren Freeman schrieb: > > > This doesn't change the fact that if you open a new document and hit C-m > > around some text in mathed, the View->Source window will show \mbox in > > use. > > This is a completely different case and a known bug btw. (consequence of bug > 1435). > Presing C-m in mathed should create another formula inside the formula. To > trasform text in > formulas, use "Alt-m m". Pressing C-m has worked to create math-text within mathed for as long as I have used LyX.. since 1.2-ish. Also I'm sure I first read to do that in the user guide. I'm no longer sure that we are talking about the same thing! So is the manual wrong, is there a bug, or what? Have fun, Darren
Re: User guide inaccuracy
On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But on my system I do the same thing and see \mbox{} even for the user guide. Do you use the same file? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: User guide inaccuracy
On Thu, 2007-06-28 at 09:10 +0200, [EMAIL PROTECTED] wrote: On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But on my system I do the same thing and see \mbox{} even for the user guide. Do you use the same file? I guess so, I'm on the latest svn. I haven't seen any \textrm anywhere and I would have thought it doesn't depend on the particular LyX file. Have fun, Darren
Re: User guide inaccuracy
On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 09:10 +0200, [EMAIL PROTECTED] wrote: On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But on my system I do the same thing and see \mbox{} even for the user guide. Do you use the same file? I guess so, I'm on the latest svn. I haven't seen any \textrm anywhere and I would have thought it doesn't depend on the particular LyX file. I didn't understand you - is it a difference in behaviour of LyX that you're discussing? /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: User guide inaccuracy
On Thu, 2007-06-28 at 12:57 +0200, [EMAIL PROTECTED] wrote: Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice This is wrong because LyX now uses \mbox{}. I didn't understand you - is it a difference in behaviour of LyX that you're discussing? As you can see above, I am pointing out that the manual refers to old behaviour of LyX which must have since changed, according to my observations. Have fun, Darren
Re: User guide inaccuracy
As you can see above, I am pointing out that the manual refers to old behaviour of LyX which must have since changed, according to my observations. What are you talking about? Open the View- source Window in lyx and set the cursor into the formula of the section 5.7.2 and you will see that its LaTeX-code is: \[ f(x)=\begin{array}{cc} x \textrm{if I say so}\\ -x \textrm{otherwise}\end{array}\] regards Uwe
Re: User guide inaccuracy
On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 12:57 +0200, [EMAIL PROTECTED] wrote: Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice This is wrong because LyX now uses \mbox{}. I didn't understand you - is it a difference in behaviour of LyX that you're discussing? As you can see above, I am pointing out that the manual refers to old behaviour of LyX which must have since changed, according to my observations. I understood that, but not how you and Uwe can have different behaviours in LyX (assuming you both use SVN). Oh well, I'll leave this to you experts :-) /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: User guide inaccuracy
On Thu, 2007-06-28 at 16:34 +0200, Uwe Stöhr wrote: As you can see above, I am pointing out that the manual refers to old behaviour of LyX which must have since changed, according to my observations. What are you talking about? Open the View- source Window in lyx and set the cursor into the formula of the section 5.7.2 and you will see that its LaTeX-code is: \[ f(x)=\begin{array}{cc} x \textrm{if I say so}\\ -x \textrm{otherwise}\end{array}\] I don't believe it! I looked again and you are right. I could have sworn the last time I checked (this morning) it was using \mbox. Maybe related to my working dir having some files owned by root - might not have had the dead latest version of the user guide until just now. (or I'm making it up, in which case sorry :) This doesn't change the fact that if you open a new document and hit C-m around some text in mathed, the View-Source window will show \mbox in use. I guess the behaviour changed after that part of the guide was written, and maybe old LyX files should have instances of \textrm replaced by \mbox on load, for consistency with what you will get if you add another one. Have fun, Darren
Re: User guide inaccuracy
I guess the behaviour changed after that part of the guide was written, and maybe old LyX files should have instances of \textrm replaced by \mbox on load, for consistency with what you will get if you add another one. Please no. Using \mbox the text is not scaled right. (See attached example) Wouldn't using \textnormal or \text if using AMS math instead be better? Jonathan newfile2.lyx Description: application/lyx
Re: User guide inaccuracy
Darren Freeman schrieb: This doesn't change the fact that if you open a new document and hit C-m around some text in mathed, the View-Source window will show \mbox in use. This is a completely different case and a known bug btw. (consequence of bug 1435). Presing C-m in mathed should create another formula inside the formula. To trasform text in formulas, use Alt-m m. regards Uwe
Re: User guide inaccuracy
On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: > "Moreover, math text mode outputs its contents inside a > \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a > better choice" > > This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But on my system I do the same thing and see \mbox{} even for the user guide. Do you use the same file? /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: User guide inaccuracy
On Thu, 2007-06-28 at 09:10 +0200, [EMAIL PROTECTED] wrote: > On Thu, 28 Jun 2007, Darren Freeman wrote: > > > On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: > >> > "Moreover, math text mode outputs its contents inside a > >> > \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a > >> > better choice" > >> > > >> > This is wrong because LyX now uses \mbox{}. > >> > >> Where? When I look at the code of the formula in that section, I still > >> see \textrm for the text. > > > > But on my system I do the same thing and see \mbox{} even for the user > > guide. > > Do you use the same file? I guess so, I'm on the latest svn. I haven't seen any \textrm anywhere and I would have thought it doesn't depend on the particular LyX file. Have fun, Darren
Re: User guide inaccuracy
On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 09:10 +0200, [EMAIL PROTECTED] wrote: On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: "Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice" This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But on my system I do the same thing and see \mbox{} even for the user guide. Do you use the same file? I guess so, I'm on the latest svn. I haven't seen any \textrm anywhere and I would have thought it doesn't depend on the particular LyX file. I didn't understand you - is it a difference in behaviour of LyX that you're discussing? /C -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: User guide inaccuracy
On Thu, 2007-06-28 at 12:57 +0200, [EMAIL PROTECTED] wrote: > > "Moreover, math text mode outputs its contents inside a > > \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a > > better choice" > > > > This is wrong because LyX now uses \mbox{}. > I didn't understand you - is it a difference in behaviour of LyX > that you're discussing? As you can see above, I am pointing out that the manual refers to old behaviour of LyX which must have since changed, according to my observations. Have fun, Darren
Re: User guide inaccuracy
> As you can see above, I am pointing out that the manual refers to old > behaviour of LyX which must have since changed, according to my > observations. What are you talking about? Open the View-> source Window in lyx and set the cursor into the formula of the section 5.7.2 and you will see that its LaTeX-code is: \[ f(x)=\begin{array}{cc} x & \textrm{if I say so}\\ -x & \textrm{otherwise}\end{array}\] regards Uwe
Re: User guide inaccuracy
On Thu, 28 Jun 2007, Darren Freeman wrote: On Thu, 2007-06-28 at 12:57 +0200, [EMAIL PROTECTED] wrote: "Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice" This is wrong because LyX now uses \mbox{}. I didn't understand you - is it a difference in behaviour of LyX that you're discussing? As you can see above, I am pointing out that the manual refers to old behaviour of LyX which must have since changed, according to my observations. I understood that, but not how you and Uwe can have different behaviours in LyX (assuming you both use SVN). Oh well, I'll leave this to you experts :-) /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
Re: User guide inaccuracy
On Thu, 2007-06-28 at 16:34 +0200, Uwe Stöhr wrote: > > As you can see above, I am pointing out that the manual refers to old > > behaviour of LyX which must have since changed, according to my > > observations. > > What are you talking about? Open the View-> source Window in lyx and set the > cursor into the formula > of the section 5.7.2 and you will see that its LaTeX-code is: > > \[ > f(x)=\begin{array}{cc} > x & \textrm{if I say so}\\ > -x & \textrm{otherwise}\end{array}\] I don't believe it! I looked again and you are right. I could have sworn the last time I checked (this morning) it was using \mbox. Maybe related to my working dir having some files owned by root - might not have had the dead latest version of the user guide until just now. (or I'm making it up, in which case sorry :) This doesn't change the fact that if you open a new document and hit C-m around some text in mathed, the View->Source window will show \mbox in use. I guess the behaviour changed after that part of the guide was written, and maybe old LyX files should have instances of \textrm replaced by \mbox on load, for consistency with what you will get if you add another one. Have fun, Darren
Re: User guide inaccuracy
> I guess the behaviour changed after that part of the guide was written, > and maybe old LyX files should have instances of \textrm replaced by > \mbox on load, for consistency with what you will get if you add another > one. Please no. Using \mbox the text is not scaled right. (See attached example) Wouldn't using \textnormal or \text if using AMS math instead be better? Jonathan newfile2.lyx Description: application/lyx
Re: User guide inaccuracy
Darren Freeman schrieb: This doesn't change the fact that if you open a new document and hit C-m around some text in mathed, the View->Source window will show \mbox in use. This is a completely different case and a known bug btw. (consequence of bug 1435). Presing C-m in mathed should create another formula inside the formula. To trasform text in formulas, use "Alt-m m". regards Uwe
Re: User guide inaccuracy
Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But anyway, I fixed the typo in the footnote: http://www.lyx.org/trac/changeset/18920 We also have a special mailing list for documentation issues: [EMAIL PROTECTED] Posting there assures that this message is not overseen in the amount of devel related messages. regards Uwe
Re: User guide inaccuracy
On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: Moreover, math text mode outputs its contents inside a \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a better choice This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But on my system I do the same thing and see \mbox{} even for the user guide. Have fun, Darren
Re: User guide inaccuracy
> "Moreover, math text mode outputs its contents inside a > \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a > better choice" > > This is wrong because LyX now uses \mbox{}. Where? When I look at the code of the formula in that section, I still see \textrm for the text. But anyway, I fixed the typo in the footnote: http://www.lyx.org/trac/changeset/18920 We also have a special mailing list for documentation issues: [EMAIL PROTECTED] Posting there assures that this message is not overseen in the amount of devel related messages. regards Uwe
Re: User guide inaccuracy
On Thu, 2007-06-28 at 01:56 +0200, Uwe Stöhr wrote: > > "Moreover, math text mode outputs its contents inside a > > \textrm{}, whereas and \mbox (or AMS-LaTeX's \text) might have been a > > better choice" > > > > This is wrong because LyX now uses \mbox{}. > > Where? When I look at the code of the formula in that section, I still see > \textrm for the text. But on my system I do the same thing and see \mbox{} even for the user guide. Have fun, Darren