Re: [R] How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
Hello, I have exactly the same problem that bibtex is not being called and so the bibliography is not being processed... Did you find any solution for that? Many thanks syrvn -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-Bibtex-with-pdfLatex-in-StatEt-MikTex-on-Windows-tp2271396p3867625.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
On 03/10/2011 10:12 AM, syrvn wrote: Hello, I have exactly the same problem that bibtex is not being called and so the bibliography is not being processed... Did you find any solution for that? That sounds like a StatET question. You should get bibtex if you run R CMD texi2dvi --pdf (or R CMD texi2pdf in the upcoming R 2.14). But you can always just run bibtex manually... Duncan Murdoch __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
Hi Duncan, you were right. texi2dvi does latex + bibtex. Unfortunately I cannot get it running. When I run texi2dvi(file = path/to/tex/file, pdf=TRUE, quiet=FALSE) then I get the following error message: ___ Error in texi2dvi(file = /Users/XXX/Desktop/test/body.tex, texinputs = /Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/tex, : Running 'texi2dvi' on '/Users/XXX/Desktop/test/body.tex' failed. Output: You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://www.tug.org. If you happen to be using Debian, you can get it with this command: apt-get install tetex-bin __ So the output tells us it cannot find a a tex binary file. If I open my terminal and type in: /Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/tex I get the following output: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) ** which means the tex binary is there. -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-Bibtex-with-pdfLatex-in-StatEt-MikTex-on-Windows-tp2271396p3868063.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
I am a bit confused... I wrote a little shell script called tex2pdf which just calls: texi2pdf body.tex and when I execute it in a terminal it runs smoothly. If I type into R: system(/Path/to/tex2pdf) I get the same error message: You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://www.tug.org. If you happen to be using Debian, you can get it with this command: apt-get install tetex-bin How can this happen? I originally thought it's a problem with the texi2dvi function in R but it seems to be something else... -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-Bibtex-with-pdfLatex-in-StatEt-MikTex-on-Windows-tp2271396p3868123.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
Hi, I know now why it did not work. See here: http://www.mail-archive.com/r-help@r-project.org/msg19682.html I started R via the terminal with open -a R and then called the script again as well as the texi2dvi function. Both worked. The problem now is I use R within Eclipse and I don't know how to start R in that way so that the paths are set correct. -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-Bibtex-with-pdfLatex-in-StatEt-MikTex-on-Windows-tp2271396p3868226.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
Your subject line says Windows, but your error message suggests MacOS. I think you need to post questions that are answerable if you want an answer. Duncan Murdoch On 03/10/2011 12:48 PM, syrvn wrote: Hi Duncan, you were right. texi2dvi does latex + bibtex. Unfortunately I cannot get it running. When I run texi2dvi(file = path/to/tex/file, pdf=TRUE, quiet=FALSE) then I get the following error message: ___ Error in texi2dvi(file = /Users/XXX/Desktop/test/body.tex, texinputs = /Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/tex, : Running 'texi2dvi' on '/Users/XXX/Desktop/test/body.tex' failed. Output: You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details. For information about obtaining TeX, please see http://www.tug.org. If you happen to be using Debian, you can get it with this command: apt-get install tetex-bin __ So the output tells us it cannot find a a tex binary file. If I open my terminal and type in: /Library/Frameworks/R.framework/Resources/share/texmf/tex/latex/tex I get the following output: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) ** which means the tex binary is there. -- View this message in context: http://r.789695.n4.nabble.com/How-to-run-Bibtex-with-pdfLatex-in-StatEt-MikTex-on-Windows-tp2271396p3868063.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] How to run Bibtex with pdfLatex in StatEt/MikTex on Windows ?
Hello, I'm running R2.10, Eclipse, StatEt and MikTex 2.8 to create Sweave documents, and everything seems to work great, until today... I was trying to add citations from a Bibtex file, but I just got [?] citations. However, if I open the .tex file that StatEt created in MikTex and run the latex+bibtex+pdflatex command, the citations are present. Does anyone know how to either configure StatEt to run bibtex or to somehow fix this ? Thanks Paul. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.