From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Garrido Subject: Replace EMAIL keyword by some LaTeX command Date: Mon, 14 Oct 2013 10:20:09 +0200 Message-ID: <525BA939.8060804@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVdNt-0008P8-25 for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 04:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVdNn-0007Kc-7J for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 04:20:12 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:36340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVdNn-0007J7-0Z for emacs-orgmode@gnu.org; Mon, 14 Oct 2013 04:20:07 -0400 Received: by mail-wi0-f175.google.com with SMTP id hm4so838390wib.2 for ; Mon, 14 Oct 2013 01:20:05 -0700 (PDT) Received: from [134.158.88.60] (nb-88060.lal.in2p3.fr. [134.158.88.60]) by mx.google.com with ESMTPSA id e1sm31779821wij.6.2013.10.14.01.20.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 01:20:04 -0700 (PDT) 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" Dear Orgers, I would like to use the EMAIL keyword from an orgmode file and translate it into a LaTeX command I have defined. To understand what I would like to achieve is to have an org mode file with #+BEGIN_SRC org #+TITLE: LaTeX test #+AUTHOR: toto #+EMAIL: toto@toto.org #+END_SRC and to get it translated to LaTeX #+BEGIN_SRC latex \title{LaTeX test} \author{toto} \email{toto@toto.org} #+END_SRC I have defined my own =email= LaTeX command so I know it will work. The only point is that I do not know how to translate =#+EMAIL= org keyword into =\email= LaTeX command. Can a export filter do it ? Thanks, Xavier