> I should get around to pushing it to CRAN one of these days. > I just committed an update to the vignette in patchDVI giving a quick version of the instructions for basic use. > includes an appendix describing how to set this up with TeXShop. > just run Sweave on one of the chapters, and it automatically produces > This is a problem addressed by my patchDVI package, available on > Has anybody succeeded in synchronizing with included Rnw files? > I am using the sweave engine found in the following webpage: If part of text is in book.Rnw I can synchronize, but if the text is in one of the included files, it just doesn't work. > The problem stands in the fact that like this I am missing synchronization between the pdf and the source Rnw. > I can compile them from the main one (book.Rnw) using the directive > My problem now is that the book is divided in Chapters, and every chapter is in its own Rnw file. > I was able to compile Rnw files, and to sync back and forth from the pdf to the source Rnw. > This book contains a lot of R code, hence the need to use Sweave. > I am in the process of writing a book in Latex with Texshop, on Mac. > On 13-01-09 3:25 PM, michele caseposta wrote: > On Jan 10, 2013, at 11:23 AM, Duncan Murdoch wrote: > I tried to mix and match configurations between texshop and texworks but I had no luck > patchDVI::SweavePDF('$fullname',stylepath=FALSE) > Funny thing is that the sync works in texworks, using the following Rscript line > latexmk -pdf -silent -pdflatex=‘pdflatex –shell-escape –synctex=1′"$.synctex.gz’)" SweaveFiles > The sweave engine is as follows: Set up your main file main.Rnw like this: What I'd recommend is that you don't use \SweaveInput. I thought this had been handled, but perhaps not, or perhaps I think you said before that you were using \SweaveInput to include theįiles. > My problem is that I don't seem to be able to obtain sync between the *included* Rnws and the pdf, either way. > Sync works flawlessly between the master file and the pdf produced by pdflatex. > I am using patchDVI in the TexShop Sweave engine. > Yes, I am already having a master file and separate Rnw files. > I might have not explained the problem completely. On 13-01-10 4:54 PM, michele caseposta wrote:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |