No, I think that gretl can't find the latex preamble. My gretlpre.tex is : \documentclass[11pt]{article} \usepackage[latin1]{inputenc} %% but see below \usepackage{amsmath} \usepackage{dcolumn,longtable} \begin{document} \thispagestyle{empty}
I copy it from the manual. Could you tell me where is the default preamble? Le 9 avr. 2010 à 20:38, Allin Cottrell a écrit : > > > On Fri, 9 Apr 2010, [iso-8859-1] Frédéric maison wrote: > >> Le 9 avr. 2010 à 18:47, Berend Hasselman a écrit : >>> On 09-04-2010, at 14:22, Frédéric Dupont wrote: >>>> When I ask Gretl to view the output as LaTeX file, I get the following >>>> message : >>>> ! LaTeX Error: Missing \begin{document}. >>>> %%%%%%%%%%%%%%%%%%%%%%% >>> >>> 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 > > If you have a gretlpre.tex in your working directory, and you are > seeing the error message "Missing \begin{document}" from LaTeX, > that suggests that your gretlpre.tex is incorrect -- it's missing > the line "\begin{document}", For reference, here is my > gretlpre.tex: > > %% LaTeX preamble for gretl tex output > \documentclass[11pt]{article} > \usepackage{lucidabr} > \usepackage{amsmath} > \usepackage{dcolumn,longtable} > > \begin{document} > \thispagestyle{empty} >