Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Scott Kostyshak
On Sat, Sep 29, 2012 at 5:43 PM, Yihui Xie wrote: > He sent me the message log without cc'ing the list, and I saw > > 12:13:14.353: Rscript --verbose --no-save --no-restore > "/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R" > "/var/folders/yx/tvnzczfx7c31c68jrddvlqgrgn/T/lyx_tmpdi

Re: Lyx on MacBook Pro retina

2012-09-29 Thread James Sutherland
Here is a way to get it working (for the displayed text at least - icons are another matter): 1. Edit /Applications/LyX.app/Contents/Info.plist 2. At the bottom of that file, inside the scope, add the following two lines: NSHighResolutionCapable Restart LyX and you should be good to go!

How to make a layout derived from extbook in LyX?

2012-09-29 Thread Steve Litt
Hi all, I'm writing a couple books destined to be eBooks and nothing else, so I want bigger than a 12pt font, and I understand the way to do that is with the extsizes package, which I already have installed and texhashed. For most books I like to make a layout derived the Book document class, so

Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Yihui Xie
He sent me the message log without cc'ing the list, and I saw 12:13:14.353: Rscript --verbose --no-save --no-restore "/Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R" "/var/folders/yx/tvnzczfx7c31c68jrddvlqgrgn/T/lyx_tmpdir.xJL523/lyx_tmpbuf3/""skryptum.Rnw" "/var/folders/yx/tvnzcz

Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Scott Kostyshak
On Sat, Sep 29, 2012 at 5:34 PM, Yihui Xie wrote: > I think this indicated the problem in your log: > > 12:13:14.670: Warning in readLines(input, warn = FALSE) : > 12:13:14.673: invalid input found on input connection 'skryptum.Rnw' > > But without a reproducible example, I'm afraid I cannot do

Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Yihui Xie
I think this indicated the problem in your log: 12:13:14.670: Warning in readLines(input, warn = FALSE) : 12:13:14.673: invalid input found on input connection 'skryptum.Rnw' But without a reproducible example, I'm afraid I cannot do anything, especially I do not have Mac OS to test with. Rega

Re: highlighting long text exhibits

2012-09-29 Thread Francesco Menoncin
I have used the following environment with good results: \newenvironment{sidebar}{\def\FrameCommand{\color[gray]{0.8}\vrule width 5pt \hspace{10pt}\color{black}}\MakeFramed{\advance\hsize-\width\FrameRestore}}{\endMakeFramed} then in the text you can use \begin{sidebar} ... \end{sidebar} an

Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Scott Kostyshak
Does the knitr example file work? I forget how to get to example files on MacOS. Mabye Yihui will have an idea of what's going on, but in the meantime if you want to try something, you can try with the newest version of LyX's knitr module that Yihui sent in a couple of days ago. To do this, you ca

Toobar customizing

2012-09-29 Thread BADI-Hamid
Hello, I'd like to cutomize the toolbars by adding some new shortcut items. Documentation is still confused about the name of the icon. For example : 1 - I want to add three items that align the text on left, center and right, i put this code Item "Left" "paragraph-params-apply \align left"

Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Michael Bach
Just a quick follow-up. I gather from the log that R reads the file as UTF-8. I checked my System $ locale and the R > Sys.getlocale() Both are correctly set up as en_US.UTF-8. Just to rule that one out(?)...

highlighting long text exhibits

2012-09-29 Thread Jeremy C. Reed
My book has several long exhibits or examples that may be multiple pages long (such as verbatim copies of software agreements and lists of software packages and descriptions). Instead of putting at end of book as appendix material, I am including them directly in the chapters with the related

Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Michael Bach
On 9/26/12 6:25 PM, Yihui Xie wrote: The first place to look at is View-->View Messages, as described in the troubleshooting section in Sweave manual (which applies to knitr as well): https://github.com/downloads/yihui/lyx/sweave.pdf Very good to know, thanks. I enabled that and tried again. I

Re: Lyx on MacBook Pro retina

2012-09-29 Thread Jacques Le Bourlot
Le 29 sept. 2012 à 11:02, Jürgen Spitzmüller a écrit : > Richard Heck wrote: >>> Is there a (VERY simple) way to fix that, or must I wait for an update? >> >> I believe this is being fixed for 2.0.5. Stephan? > > Only in trunk, apparently: > http://www.lyx.org/trac/changeset/99e53ffce04337cc50

Re: Lyx on MacBook Pro retina

2012-09-29 Thread Jürgen Spitzmüller
Richard Heck wrote: > > Is there a (VERY simple) way to fix that, or must I wait for an update? > > I believe this is being fixed for 2.0.5. Stephan? Only in trunk, apparently: http://www.lyx.org/trac/changeset/99e53ffce04337cc50c9cfbdb900e66064d450ed/lyxgit Would be worth backporting, I suppose