"R. Michael Weylandt" <michael.weyla...@gmail.com> 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: ndo...@gmail.com * foo This is my email: \emph{ {{{email}}} }. --8<---------------cut here---------------end--------------->8--- -- Nick