Hi all -
I'm having trouble getting TeX to work properly with Gretl 1.9.1 under Mac OS X
10.6.4.
Suppose for instance that I want to see the results of an OLS regression as TeX output
(the problem surfaces no matter what procedure I run). After running the regression I
choose the LaTeX drop-down menu and select View -> Tabular. I get an error box that
says it "Failed to process TeX file". On closing that error a log becomes
visible, saying at the beginning --
-----------
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex 2010.7.8) 8
JUL 2010 14:04
entering extended mode
%&-line parsing enabled.
**\batchmode \input window
(./window.tex
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 \begin{center}
You're in trouble here. Try typing <return> to proceed.
(more follows)
-----------
The problem seems to be that Gretl isn't using the gretlpre.tex file that I have
sitting in my working directory. I tried the sample gretlpre code in the current Gretl
manual. I also tried deleting the file (the manual says that if there's no
gretlpre.tex file the preamble defaults to the standard preamble). The problem remains.
When instead I choose to save the TeX output (rather than viewing it) the regression
results are indeed saved as a TeX file. but again lacks the preamble that's in
gretlpre.tex.
Any help appreciated.
Many thanks.
- Bob