Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Rich Shepard
On Sat, 11 Jul 2015, Liviu Andronic wrote: Not necessarily. There are LaTeX labels associated with figures; and knitr labels associated with chunks. The latter MUST be unique for figure chunks, while fig.lp seems to affect the former. To be on the safe side, just manually ensure you have unique

Re: Document Menu greyed out

2015-07-11 Thread Scott Kostyshak
On Sat, Jul 11, 2015 at 6:36 PM, Malgosia Askanas wrote: > Works beautifully. Thank you very much. > > Best, > -malgosia Glad it works. Scott > > > On 2015-07-11 05:59 PM, Scott Kostyshak wrote: >> >> On Sat, Jul 11, 2015 at 5:36 PM, Malgosia Askanas >> wrote: >>> >>> Greetings, >>> >>> I jus

Re: Document Menu greyed out

2015-07-11 Thread Scott Kostyshak
On Sat, Jul 11, 2015 at 5:36 PM, Malgosia Askanas wrote: > Greetings, > > I just installed LyX under Ubuntu 15.04. It seems to work just fine, > except that all the entries in my Document menu are greyed out (i.e. > unselectable). Can anybody suggest why this is happening? I suspect it > may be

Document Menu greyed out

2015-07-11 Thread Malgosia Askanas
Greetings, I just installed LyX under Ubuntu 15.04. It seems to work just fine, except that all the entries in my Document menu are greyed out (i.e. unselectable). Can anybody suggest why this is happening? I suspect it may be a configuration-file-permissions problem, but if it is, I sure don'

Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Liviu Andronic
On Sat, Jul 11, 2015 at 11:12 PM, Rich Shepard wrote: > On Sat, 11 Jul 2015, Liviu Andronic wrote: > >> Knitr seems to be picky about label names of figure chunks to be unique. >> Check this. Also, to be safe, keep to one figure per chunk. > > > Liviu, > > Yes, I read about naming lables; that's

Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Rich Shepard
On Sat, 11 Jul 2015, Liviu Andronic wrote: Knitr seems to be picky about label names of figure chunks to be unique. Check this. Also, to be safe, keep to one figure per chunk. Liviu, Yes, I read about naming lables; that's why knitr has the lp option for label prefix. In my case, one lable

Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Liviu Andronic
On Sat, Jul 11, 2015 at 9:48 PM, Rich Shepard wrote: > On Sat, 11 Jul 2015, Liviu Andronic wrote: > >> Another way to do this is to keep figure floats, labels and cross-refs >> exclusively in LyX. So the chunk would simply output a graph, and you >> place the chunk within a LyX float (with associa

Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Rich Shepard
On Sat, 11 Jul 2015, Liviu Andronic wrote: Another way to do this is to keep figure floats, labels and cross-refs exclusively in LyX. So the chunk would simply output a graph, and you place the chunk within a LyX float (with associated caption and label). Then use normal LyX workflow. Might

Re: Different fonts in multilingual document

2015-07-11 Thread Richard Opheim
One more thing I forgot to mention: "\usepackage{xeCJK} \setCJKmainfont{MS PMincho}" and "Always Babel" in "language package." I didn't test all of the alternatives, but "default" definitely didn't work. On Fri, Jul 10, 2015 at 8:01 AM, Richard Opheim wrote: > > > On Fri, Jul 10, 2015 at 1:37

Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Liviu Andronic
On Sat, Jul 11, 2015 at 6:53 PM, Rich Shepard wrote: >> http://yihui.name/knitr/options/ > > > Liviu, > > I'm becoming more comfortable with knitr in lyx, yet cannot find answers > to some questions in the above page. For example, in a figure chunk I create > an option box and enter fig.cap='som

My physics book

2015-07-11 Thread edu Gpl
Dear lyx users This is my book with gpl liecence. https://www.zeta-uploader.com/792300836 Best regards

Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Scott Kostyshak
On Sat, Jul 11, 2015 at 12:53 PM, Rich Shepard wrote: >> http://yihui.name/knitr/options/ > > > Liviu, > > I'm becoming more comfortable with knitr in lyx, yet cannot find answers > to some questions in the above page. For example, in a figure chunk I create > an option box and enter fig.cap='so

Re: Using Sweave with LyX -- TeX Compilation Output

2015-07-11 Thread Rich Shepard
http://yihui.name/knitr/options/ Liviu, I'm becoming more comfortable with knitr in lyx, yet cannot find answers to some questions in the above page. For example, in a figure chunk I create an option box and enter fig.cap='some caption text' and fig.lp=1 as the lable prefix. What I have not f

Re: automatically updating latex code used in a LyX document

2015-07-11 Thread Georg Baum
Liviu Andronic wrote: > On Fri, Jul 10, 2015 at 11:23 AM, José Matos wrote: >> On Thursday 09 July 2015 23:19:07 Liviu Andronic wrote: >>> Perhaps we should consider renaming it to something like: "Child >>> Document (TeX or LyX)"? >>> >>> Liviu >> >> Note that a child document can also be a prog

Re: automatically updating latex code used in a LyX document

2015-07-11 Thread Georg Baum
Liviu Andronic wrote: > On Thu, Jul 9, 2015 at 10:11 PM, Georg Baum > wrote: >> Ian wrote: >> >>> Thanks Liviu. Inserting a Child document .tex file was exactly what I >>> wanted to do. I just didn't know what it was called. >> >> Except for the fact that it is not automatically updated if the ST