In all Sweave (.Rnw) documents, the following lines must be included: \usepackage.Select Quick Build command 'User' and copy the following: R CMD Sweave -encoding=utf-8 %.Rnw|pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %|pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %|Rscript -e "library('patchDVI') patchSynctex('%.synctex')"|evince %.pdf Open TeXmaker and go to Options menu -> Configure Texmaker -> Quick Build.
Install the patchDVI package ( the package is available online at ) Start R, and run the command: install.packages("patchDVI", repos="").I assume that you have R, LaTeX and TeXmaker installed. By using this option (configure Texmaker -> Commands), the '-output-directorybuild' parameter will be automatically added to the (pdf)latex command and texmaker will search the log and pdf files into this subdirectory (the 'build' subdirectory is automatically created by Texmaker).patchDVI R package version 1.9 (works with Sweave and document previewers to facilitate editing: it modifies the links that LaTeX puts into the output so that they refer to the original source).R (R version 3.0.2 () - "Frisbee Sailing").Disclaimer: This will reset your startup page, new tab page, search engine, and. Select Restore settings to their default values. Select Settings from the drop down and click on Reset settings from the left pane.
Once you make these changes, your portable LaTeX setup should be all configured and ready to work on any USB stick. Click on the three dots () from the right top corner.
Below is my configuration that is successful for the following software setup: Set your QuickBuild to run PdfLaTeX + View PDF. After many trial and error attempts I have found a configuration that does work with TeXmaker. Due to efforts of Duncan Murdoch who developed the patchDVI R package, we can fix it and make it possible to jump from compiled PDF file directly to the.