From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug in org-beamer-publish-to-pdf? Date: Mon, 24 Mar 2014 14:00:57 +0100 Message-ID: <87bnwvlpiu.fsf@gmail.com> References: <86k3bkxm36.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS4Ub-00009p-Ax for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 09:00:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS4US-0004sx-J7 for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 09:00:41 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:63892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS4US-0004sl-70 for emacs-orgmode@gnu.org; Mon, 24 Mar 2014 09:00:32 -0400 Received: by mail-wg0-f51.google.com with SMTP id k14so3450564wgh.22 for ; Mon, 24 Mar 2014 06:00:31 -0700 (PDT) In-Reply-To: <86k3bkxm36.fsf@gmail.com> (Rafael's message of "Sun, 23 Mar 2014 22:22:05 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rafael Cc: Emacs-orgmode list Hello, Rafael 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