From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [latex] Problems with old exporter (for Beamer) and with new exporter Date: Thu, 14 Jun 2012 20:06:07 +0200 Message-ID: <87vcit93ao.fsf@gmail.com> References: <80ipf2hmdy.fsf@somewhere.org> <87lijwdyte.fsf@gmail.com> <80aa062gbs.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfEUL-0001uQ-1s for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 14:09:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfEUI-0005kP-Dt for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 14:09:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:59018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfEUI-0005ju-3o for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 14:09:42 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SfEU8-0000J6-7c for emacs-orgmode@gnu.org; Thu, 14 Jun 2012 20:09:32 +0200 In-Reply-To: <80aa062gbs.fsf@somewhere.org> (Sebastien Vauban's message of "Thu, 14 Jun 2012 15:06:31 +0200") 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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, "Sebastien Vauban" writes: >>> With the new exporter, most things work. What does not work: >>> - macro does not get executed (no string in orange color), >> >> Macro are meant to produce contents, not to talk to back-ends. Every text >> they produce will be protected. > > Do you mean the template must be pure text? Yes. Pure text or another macro. > Do you mean that a thing such as > http://frozenlock.org/2011/11/05/on-the-fly-key-sequence-insertion/ won't work > anymore? Not at the moment, but macros may change in the future. I'm unsure about the best level to handle them, but it's probably too high at the moment. On the other hand, I would like to avoid too much intersection with inline Babel calls or src blocks. For example, expansion could happen before buffer is parsed, like in old exporter. But at the same time, inline src blocks are executed, so I'm sure the macro could be replaced with such a block. I'm open to discussion about this. > Though, now, when trying to export to LaTeX (with the new exporter and > up-to-date Org[1]), I get an error: This is because you're using "beamer" as your LaTeX class, which probably doesn't have any association in `org-e-latex-classes'. Note that even if it had one, it wouldn't work as expected since Beamer is not supported yet (but I'll probably implement a first draft for this back-end soon). Regards, -- Nicolas Goaziou