Hello, Rafael <rvf0...@gmail.com> writes:
> I think there is a bug in org-beamer-publish-to-pdf. The code of the > function is: > > #+BEGIN_SRC emacs-lisp > (defun org-beamer-publish-to-pdf (plist filename pub-dir) > (org-publish-attachment > plist > (org-latex-compile (org-publish-org-to 'beamer filename ".tex" plist)) > pub-dir)) > #+END_SRC > > It seems to me that (org-publish-org-to 'beamer filename ".tex" plist) > only returns filename.tex without the directory. Hence org-latex-compile > wants to compile a .tex file in my home directory, (rather than at the base > directory of the publishing) and fails at not finding it there. You're correct. This should now be fixed in maint. Thank you for reporting it. Regards, -- Nicolas Goaziou