Re: Seperating Definition Lists

2012-08-16 Thread Guenter Milde
On 2012-08-16, Kortink, Mark A wrote: [-- Type: text/plain, Encoding: base64 --] Hi Michael, which drop list, the only one that says anything about a separator is “Menu Separator” and that doesn’t work. The list of Styles (like section, title, definition) should also contain the ---

knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Michael Bach
Dear LyX Users and Developers, today I tried to use the knitr (Rnw) module successfully when accessed from Insert Custom Insets S/R expression. When I tried to do that in inline math via \Sexpr{0.5^2} then the display becomes 0.5² meaning that LyX correctly thinks I want LaTeX-ish

Re: knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Michael Bach
On 8/16/2012 9:25 PM, Michael Bach wrote: Dear LyX Users and Developers, today I tried to use the knitr (Rnw) module successfully when accessed from Insert Custom Insets S/R expression. When I tried to do that in inline math via \Sexpr{0.5^2} then the display becomes 0.5² meaning that LyX

Re: knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Yihui Xie
That should be the best solution for this particular case, but you are right this problem needs to be solved at a lower level in knitr or Sweave, or LyX's math mode. The difficulty on R's side is from parsing \Sexpr{} using regular expressions. In your case, the R code should be 0.5^{2} but knitr

Re: Seperating Definition Lists

2012-08-16 Thread Guenter Milde
On 2012-08-16, Kortink, Mark A wrote: [-- Type: text/plain, Encoding: base64 --] Hi Michael, which drop list, the only one that says anything about a separator is “Menu Separator” and that doesn’t work. The list of Styles (like section, title, definition) should also contain the ---

knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Michael Bach
Dear LyX Users and Developers, today I tried to use the knitr (Rnw) module successfully when accessed from Insert Custom Insets S/R expression. When I tried to do that in inline math via \Sexpr{0.5^2} then the display becomes 0.5² meaning that LyX correctly thinks I want LaTeX-ish

Re: knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Michael Bach
On 8/16/2012 9:25 PM, Michael Bach wrote: Dear LyX Users and Developers, today I tried to use the knitr (Rnw) module successfully when accessed from Insert Custom Insets S/R expression. When I tried to do that in inline math via \Sexpr{0.5^2} then the display becomes 0.5² meaning that LyX

Re: knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Yihui Xie
That should be the best solution for this particular case, but you are right this problem needs to be solved at a lower level in knitr or Sweave, or LyX's math mode. The difficulty on R's side is from parsing \Sexpr{} using regular expressions. In your case, the R code should be 0.5^{2} but knitr

Re: Seperating Definition Lists

2012-08-16 Thread Guenter Milde
On 2012-08-16, Kortink, Mark A wrote: > [-- Type: text/plain, Encoding: base64 --] > Hi Michael, which drop list, the only one that says anything about a > separator is “Menu Separator” and that doesn’t work. The list of Styles (like section, title, definition) should also contain the ---

knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Michael Bach
Dear LyX Users and Developers, today I tried to use the knitr (Rnw) module successfully when accessed from Insert > Custom Insets > S/R expression. When I tried to do that in inline math via \Sexpr{0.5^2} then the display becomes 0.5² meaning that LyX correctly thinks I want LaTeX-ish

Re: knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Michael Bach
On 8/16/2012 9:25 PM, Michael Bach wrote: Dear LyX Users and Developers, today I tried to use the knitr (Rnw) module successfully when accessed from Insert > Custom Insets > S/R expression. When I tried to do that in inline math via \Sexpr{0.5^2} then the display becomes 0.5² meaning that LyX

Re: knitr (Rnw) module: \Sexpr in Inline Math

2012-08-16 Thread Yihui Xie
That should be the best solution for this particular case, but you are right this problem needs to be solved at a lower level in knitr or Sweave, or LyX's math mode. The difficulty on R's side is from parsing \Sexpr{} using regular expressions. In your case, the R code should be 0.5^{2} but knitr