From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Odd constrained failure mode in org-format-latex Date: Sun, 01 Aug 2010 10:08:52 +0200 Message-ID: <87lj8q92ln.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48713 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfbWy-0001bX-Ft for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 12:36:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfTbK-0007ML-RP for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 04:08:56 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:34622) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfTbK-0007MG-LH for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 04:08:54 -0400 Received: by wwi14 with SMTP id 14so2424033wwi.30 for ; Sun, 01 Aug 2010 01:08:53 -0700 (PDT) In-Reply-To: (Alexandre Passos's message of "Sat, 31 Jul 2010 19:35:29 -0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alexandre Passos Cc: emacs-orgmode@gnu.org Alexandre Passos writes: > I was editing an org document on a server earlier today, remotely > using tramp, and continuously exporting it to html. When I added > LaTeX, it exported once and then not anymore, failing because it > couldn't create a directory anymore. So I found out that patching > org-export-latex to pass a "t" parameter to org-make-directory fixes > this, and it continues to work perfectly. This is the modified version > of that function, if anyone else is interested in this constrained > case. The only change I made was right under the "make sure directory > exists" comment. Fixed, thanks. -- Bastien