Malabarba / latex-extra

A series of usability improvements for Emacs latex-mode.
GNU General Public License v3.0
69 stars 14 forks source link

Beamer problems #29

Closed guilherme-salome closed 5 years ago

guilherme-salome commented 5 years ago

Hi there! I've been use your package for awhile now (it's helps a lot!!), mainly to compile latex articles. However, I'm having some issues when using C-c C-a with a beamer presentation.

I have a very bare bones presentation, and it won't compile. Specifically, I get back the error: ERROR: LaTeX Error: No counter 'refsection' defined.

The beamer presentation is just this:

\documentclass[presentation]{beamer}
\begin{document}
\begin{frame}[label={sec:orge7a571d}]{Hello world}
\end{frame}
\end{document}

Weirdly enough if I compile it with an external software using the same tex distribution it works. Any suggestions? Thanks! :D

guilherme-salome commented 5 years ago

Well, I am closing this because emacs works in mysterious ways, and it seems to be some weird issue related to the latex distribution and auto generated files by latex. I updated the tex distribution to 2018, and someone suggested me to delete all but the .tex files in the folder, and try recompiling again. That seemed to work.