Re: Knitr and Beamer

2017-06-04 Thread Julio Rojas
Yup, Scott, you are right. I tried using a small example and it worked
perfectly.

I believe that I must have done something incorrectly with my main document.

Thanks for the clarification.

Regards,

Julio Rojas
jcredbe...@gmail.com

On Sun, Jun 4, 2017 at 3:23 PM, Scott Kostyshak  wrote:

> On Sun, Jun 04, 2017 at 12:03:20PM -0400, Julio Rojas wrote:
> > Dear all,
> >
> > While using Knitr with Beamer, is it possible to keep data read in one
> > frame to the next without reloading it? After some 20 slides the need to
> do
> > all the previous steps before doing what it needs to show, compilation
> into
> > PDF gets really slow.
> >
> > I have seen that RMarkdown can do it, BTW.
> >
> > Thanks in advance. Regards,
>
> Julio, can you give an example .lyx file with knitr chunks for what you
> want to do?
>
> knitr by default preserves data from one chunk to the next.
>
> Scott
>


Re:Re: floatrow and longtable in LyX

2017-06-04 Thread subaochen
I mean, declaring longtable "center" is harmless with [c] property:


\begin{longtable}[c]{lcl}
...
\end{longtable}


when the user choose "center" in longtable property dialog window. 


I have not checked the lyx source code, But I think LyX maybe do some extra 
check to intenionally omit [c] setting?  

At 2017-06-05 09:13:54, "Scott Kostyshak"  wrote:
>On Sun, May 28, 2017 at 10:12:39AM +0800, subaochen wrote:
>> hi all,
>> 
>> 
>> Longtable in LyX is centered default, and floatrow package also centered 
>> table default, but according to 
>> https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable
>>  , when using floatrow and longtable together,  longtable should be declared:
>> 
>> 
>> \begin{longtable}[c]{ccc}
>> ...
>> 
>> 
>> Or, longtable will left aligned.
>> 
>> 
>> The problem is, LyX ommit "[c]" when inserting a longtable, I can not find 
>> anyway to add ommited "[c]":-(. So please explicitly add "[c]" to 
>> \begin{longtable} declaration from table property dialog window, thanks very 
>> much!
>
>The SE link suggests that the behavior might be due to a bug in floatrow
>(if I understand David's use of "strange reason" correctly).
>
>In LyX I think we try not to work around too many bugs in LaTeX packages.
>
>Scott


Re: floatrow and longtable in LyX

2017-06-04 Thread Scott Kostyshak
On Sun, May 28, 2017 at 10:12:39AM +0800, subaochen wrote:
> hi all,
> 
> 
> Longtable in LyX is centered default, and floatrow package also centered 
> table default, but according to 
> https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable
>  , when using floatrow and longtable together,  longtable should be declared:
> 
> 
> \begin{longtable}[c]{ccc}
> ...
> 
> 
> Or, longtable will left aligned.
> 
> 
> The problem is, LyX ommit "[c]" when inserting a longtable, I can not find 
> anyway to add ommited "[c]":-(. So please explicitly add "[c]" to 
> \begin{longtable} declaration from table property dialog window, thanks very 
> much!

The SE link suggests that the behavior might be due to a bug in floatrow
(if I understand David's use of "strange reason" correctly).

In LyX I think we try not to work around too many bugs in LaTeX packages.

Scott


signature.asc
Description: PGP signature


Re: Stix fonts

2017-06-04 Thread Scott Kostyshak
On Sun, Jun 04, 2017 at 06:59:04PM +0100, F M Salter wrote:
> Hi,
> 
> With texlive 2017 containing the stix two fonts, will they be one of
> the font choices readily available in LyX 2.3?

I don't think so. See

http://www.lyx.org/trac/ticket/9014

Scott


Re: Knitr and Beamer

2017-06-04 Thread Scott Kostyshak
On Sun, Jun 04, 2017 at 12:03:20PM -0400, Julio Rojas wrote:
> Dear all,
> 
> While using Knitr with Beamer, is it possible to keep data read in one
> frame to the next without reloading it? After some 20 slides the need to do
> all the previous steps before doing what it needs to show, compilation into
> PDF gets really slow.
> 
> I have seen that RMarkdown can do it, BTW.
> 
> Thanks in advance. Regards,

Julio, can you give an example .lyx file with knitr chunks for what you
want to do?

knitr by default preserves data from one chunk to the next.

Scott


Stix fonts

2017-06-04 Thread F M Salter
Hi,

With texlive 2017 containing the stix two fonts, will they be one of
the font choices readily available in LyX 2.3?

Regards

Frank Salter



Knitr and Beamer

2017-06-04 Thread Julio Rojas
Dear all,

While using Knitr with Beamer, is it possible to keep data read in one
frame to the next without reloading it? After some 20 slides the need to do
all the previous steps before doing what it needs to show, compilation into
PDF gets really slow.

I have seen that RMarkdown can do it, BTW.

Thanks in advance. Regards,

-
Julio Rojas
jcredbe...@gmail.com


Re: Error reading module basic

2017-06-04 Thread Jürgen Spitzmüller
Am Freitag, den 02.06.2017, 09:33 -0400 schrieb Paul A. Rubin:
> On 06/02/2017 05:40 AM, Louis Turk wrote:
> > Hi everyone,
> > 
> > I'm a long-time user of Lyx. It is a great piece of software. Many
> > thanks to the developers.
> > 
> > I just installed Lyx 2.2.2 and an error message is popping up:
> > "Error
> > reading module basic"
> > 
> > I find this file on my harddrive:
> > /usr/share/lyx/layouts/basic.module
> > 
> > So, I did:
> > 
> > sudo cp /usr/share/lyx/layouts/basic.module
> > /home/l/lyx/lyx-devel/lib/layouts/basic.module
> > 
> > to see it that would help.  I then ran Reconfigure, and restarted
> > Lyx.
> > But it did not help: the error still pops up every few minutes.
> > 
> > Is there a solution?
> > 
> > Louis
> > 
> 
> First question: does this happen only when you work with a document
> in 
> which the basic module is selected (in Documents > Settings... > 
> Modules), or does it happen with all documents?

Note that basic.module is not one you can select via the Modules pane.
It is loaded if you have "Default (numerical)" set in Documents >
Settings > Bibliography > Citation Style. So it's not really a module
in the proper sense.

Louis, did you install LyX 2.3alpha intermediately? It could be a mix
of settings from LyX 2.2 and LyX 2.3 (where basic.module has been
dropped in favor of a cite engine).

Jürgen

signature.asc
Description: This is a digitally signed message part