________________________________
From: Jacob Bishop <[email protected]>
To: John Kane <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Sunday, May 12, 2013 10:26:29 PM
Subject: Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
Hi John,
I have not upgraded to 2.0.6 yet, but even on 2.0.5, I have never been able to
get the apa6 class working without specifying more information than what you
have included here (in the second file, "test.of.APA6.lyx"). Adding a title and
author makes this work for me with LyX 2.0.5. As far as I understand, this is
not unique to apa6, and is one of the main reasons for including a template.
With a template you should be able to have a working document "out of the box"
which you can then modify by adding your own content.
Does the template that comes with LyX 2.0.6 work for you?
Does it work for you to create a new document if you include a title, author,
and body text? (it does for me)
Amazing. Both the template and a quick and dirty test file with title, author
and one standard line of text work likea charm. It never occurred to me that
APA6 would require them, I guess because I was using an article class document
without a title, etc for testing something else the same day and it was
compiling just fine.
Well at least that means that it's likely that I have a knitr problem not a doc
class issue.
Thanks very much.
As for the knitr stuff goes, I have never used R with LyX before, but it is
something I am planning on looking into soon. So, any errors specific to that
will be more difficult (for me) to make sense of, but I will try if the
problems you are experiencing persist.
I'd appreciate that but perhaps don't waste your time at the moment . Now that
the main APA6 problem is gone away, I can start doing some extra checking to
see if I am just doing something silly. My major problem was that because the
two error messages came up almost simultaneously and immediately after the
upgrade to 2.0.6 that I jumped to that conclusion that it was likely the
complete source of the problem. I will probably be back asking for help in a
couple of days but hopefully with narrower problem definition.
I, obviously, am just floundering around with knitr/LyX/R but I really like it.
In particular, Yuihe has provided an externalization approach
http://yihui.name/knitr/demo/externalization that allows one to call in
external R scripts that looks excellent---it means that one can do all the
coding etc in a normal manner and then just use one simple command to pull in
the script. The savings in compile time alone look fantastic.