From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: ox-koma-letter: how to use @@LaTeX:@@ specific commands in #+ directives Date: Wed, 17 Jun 2015 22:22:16 +0200 Message-ID: <87bngexeyv.fsf@gmx.us> References: <87y4jimeai.fsf@delle7240.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Jqx-0004CB-3V for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 16:22:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Jqs-00084q-Og for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 16:22:31 -0400 Received: from plane.gmane.org ([80.91.229.3]:51200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Jqs-00083D-Hz for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 16:22:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Z5Jqp-0006LU-V0 for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 22:22:24 +0200 Received: from tsn109-201-154-189.dyn.nltelcom.net ([109.201.154.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jun 2015 22:22:23 +0200 Received: from rasmus by tsn109-201-154-189.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jun 2015 22:22:23 +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: emacs-orgmode@gnu.org 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 guess the processing of #+ lines is handled directly by ox-koma-letter. > > Would it be possible to extend @@...@@ processing to those lines? Or am > I doing something silly? 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. You can use the koma-letter snippet: #+subject: test @@koma-letter:\LaTeX@@ You can use a macro to combine several snippet types (not tested): #+macro: latex @@latex:$1@@@@beamer:$1@@@@koma-letter:$1@@ Rasmus -- . . . The proofs are technical in nature and provides no real understanding