From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: BUG(?): #+BINDing org-export-publishing-directory only affects HTML output, not PDF or Babel results Date: Fri, 23 Mar 2012 14:00:24 +0100 Message-ID: <87iphvmpzr.fsf@gnu.org> References: <87aa3s1jff.fsf@gmail.com> <4F579B2A.6030104@christianmoe.com> <4F5911DD.6050805@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB45I-00048M-0H for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 08:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SB45B-0005ae-7D for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 08:59:11 -0400 Received: from incoming2.cnam.fr ([163.173.128.34]:47380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SB45B-0005aK-1M for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 08:59:05 -0400 In-Reply-To: <4F5911DD.6050805@christianmoe.com> (Christian Moe's message of "Thu, 08 Mar 2012 21:09:01 +0100") 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: mail@christianmoe.com Cc: "A. Major" , emacs-orgmode@gnu.org Hi, I fixed this bug. Christian Moe writes: > On 3/8/12 7:38 AM, A. Major wrote: >> Thanks, but the "dir" PROPERTY appears to affect the target directory for >> babel's results, neither the HTML nor the PDF output are influenced that way. > > Yes, that's why I said "this part of the problem". > >> Combining BIND and the "dir" PROPERTY, I can get HTML and babel files in the >> right place, but not the PDF. >> >> Any other suggestions? :) > > Yep. Change three characters in org-latex.el. Problem > solved. Maybe. :) You showed the direction -- thanks! The right fix is to use org-export-latex-options-plist, which is initialized by combining opt-plist (general options for publishing) and ext-plist (local LaTeX options for publishing.) Thanks, -- Bastien