From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ox-koma-letter: how to use @@LaTeX:@@ specific commands in #+ directives Date: Thu, 18 Jun 2015 00:03:54 +0200 Message-ID: <87twu66lh1.fsf@selenimh.access.network> References: <87y4jimeai.fsf@delle7240.chemeng.ucl.ac.uk> <87bngexeyv.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5LPj-0001aW-1v for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 18:02:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5LPi-0007bH-0S for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 18:02:30 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:43937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5LPh-0007ZO-Qj for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 18:02:29 -0400 In-Reply-To: <87bngexeyv.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 17 Jun 2015 22:22:16 +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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: > Eric S Fraga writes: > >> Dear all, >> >> I have started using ox-koma-letter from the contrib directory. Very >> nice. Thanks Nicolas, Alan, Viktor, and Rasmus! >> >> Everything works well so far except for one minor niggle: I would like >> to introduce, sometimes, LaTeX specific inline directives in #+ >> lines. E.g. for LaTeX export, I would use @@latex:\\@@ to get a line >> break in a title or author entry. I had expected the same to work with >> ox-koma-letter given that it is a latex /derived/ backend and does work >> in normal text, just not in #+ lines. I cannot reproduce it. koma-letter back-ends explicitly allows latex export snippets, e.g., #+title: @@latex:\something@@ produces the expected \something. > It also doesn't work with ox-beamer: > > #+subtitle: subtitle @@latx:\LaTeX@@ @@beamer:BEAMER@@ > > I guess it's a feature. Or a bug at a higher level than > ox-koma-letter. This is a feature. If @@latex:...@@ is supported in beamer export, you have no way to insert latex-only code in a document that you plan to export using both beamer and latex back-ends. However, this doesn't apply in koma-letter. Regards, -- Nicolas Goaziou