On 09-04-2010, at 20:32, Frédéric maison wrote:
>>
>> %%%%%%%%%%%%%%%%%%%%%%%
>> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=pdflatex
2010.4.7) 9 APR 2010 13:46
>> entering extended mode
>> %&-line parsing enabled.
>> **\batchmode \input window
>> (./window.tex
>>
>> ! LaTeX Error: Missing \begin{document}.
>> %%%%%%%%%%%%%%%%%%%%%%%
>>
>> I think Gretl doesn't find the file with LaTeX header (gretlpre.tex). I have
red the doc but I don't understand where this file lives on Mac OS X.
>
> Which version of Gretl?
1.8.7
> What are you trying to "LaTeX"? Summary statistics? Regression results?
Whatever
> In the TeX/LaTeX menu, what are you selecting: View, Copy, Save?
View
>
> You can see what Gretl regards as your working directory by going to the menu File,
Working Directory.
OK. gretlpre.tex file was into my working directory
>
> According to the manual, if Gretl can't find a gretlpre.tex in your working
directory it will use a default.
Yes, I know. In this case, why do I get this error message?
The error message says it all: missing \begin{document}
Try the View without a gretlpre.tex (just rename it) and see what happens.
Show us your gretlpre.tex
Berend