Today I was using gretl for producing some beautiful tables with coefficients after OLS estimaton when I came across the following little problem: when a model name contains an underscore (like “mod_Chow <- ols price Xlist”), then the LaTeX output begins with the following:
\begin{center} mod_Chow: OLS, using observations 1--992 ($n$ = 959)\\
Of course it fails to render, and the menu item “LaTeX — View — Tabular” does nothing. After I did “LaTeX — Save — Tabular” and changed “mod_Chow” to “mod\_Chow”, everything was fine in the document.
Could you implement the TeX underscore escape for model names, please? Or, maybe, enforce some restrictions on characters in model names (just to be on the safe side)?