emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Rafael <rvf0068@gmail.com>
Cc: Emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: Bug in org-beamer-publish-to-pdf?
Date: Mon, 24 Mar 2014 14:00:57 +0100	[thread overview]
Message-ID: <87bnwvlpiu.fsf@gmail.com> (raw)
In-Reply-To: <86k3bkxm36.fsf@gmail.com> (Rafael's message of "Sun, 23 Mar 2014 22:22:05 -0600")

Hello,

Rafael <rvf0068@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

      reply	other threads:[~2014-03-24 13:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-24  4:22 Bug in org-beamer-publish-to-pdf? Rafael
2014-03-24 13:00 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnwvlpiu.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rvf0068@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).