Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with esttab to LaTex + file not found

    Hi everyone,

    Everything was going fine, I was trying for my first time to save a table in .tex and then typeset it in LaTeX.

    esttab using , label replace booktabs ///
    title(Regression example\label{tab1})
    (output written to example_stata.tex)

    Then I tried to run this code in LaTeX

    \documentclass[12]{article}
    \begin{document}
    \input{example_stata.tex}
    \end{document}

    Which resulted in some kind of error that unfortunately I cannot report anymore. Then, I moved the example_stata.tex file in the directory in which I usually create my .tex files. I tried to typeset again, apparently without success. However, later I discovered the pdf with my table in a directory that had nothing to do with the text one. Then, I tried again to use esttab to save another file, and from then onward, the result is always the same.

    esttab using example.tex, label replace booktabs ///
    title(Regression table\label{tab1}) (note: file example.tex not found)

    It looks like I changed the folder where actually Stata has writing permission, and I can't set it back, even looking at past answers on the same problem, since I don't really know what is the directory in which Stata has writing permission... What should I do?
Working...
X