From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Accessing #+EMAIL in LaTeX Export Date: Tue, 04 Feb 2014 00:54:11 -0500 Message-ID: <871tzj4e4c.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAYxq-0004si-DS for emacs-orgmode@gnu.org; Tue, 04 Feb 2014 00:54:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAYxj-0006he-4I for emacs-orgmode@gnu.org; Tue, 04 Feb 2014 00:54:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:50259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAYxi-0006hZ-Ts for emacs-orgmode@gnu.org; Tue, 04 Feb 2014 00:54:23 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WAYxh-0007jQ-SQ for emacs-orgmode@gnu.org; Tue, 04 Feb 2014 06:54:21 +0100 Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Feb 2014 06:54:21 +0100 Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Feb 2014 06:54:21 +0100 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 "R. Michael Weylandt" writes: > HI, > > I'm writing a latex export class which has an \email macro. > > Is it possible to autofill this macro using the #+EMAIL: property? > Looking at ox-latex.el, it seems that email is hardcoded to be placed > in \thanks{} but there might be a hook I'm missing. > > I thought that using a {{{ email }}} macro might work, but I keep > winding up with > \email{ {{{email}}} } in the produced LaTeX. > Not sure what your \email macro is supposed to look like or what it is supposed to do, but the {{{email}}} works for me, e.g. the following produces my italicized email in the output: --8<---------------cut here---------------start------------->8--- #+EMAIL: ndokos@gmail.com * foo This is my email: \emph{ {{{email}}} }. --8<---------------cut here---------------end--------------->8--- -- Nick