Re: [O] Replace EMAIL keyword by some LaTeX command

2013-10-15 Thread Marcin Borkowski
Dnia 2013-10-15, o godz. 02:11:53 Rasmus napisał(a): > Hi Xavier, > > Xavier Garrido writes: > > But you have to be certain that this command is present. > > You could use etoolbox to test it. That brings in another dependency, > tho. Not really. \providecommand{\email}[1]{whatever you lik

Re: [O] Replace EMAIL keyword by some LaTeX command

2013-10-14 Thread Xavier Garrido
Hi Rasmus, It works like a charm ! Thanks a lot for the trick and for your help. Xavier Le 15/10/2013 02:11, Rasmus a écrit : #+BEGIN_SRC Org #+TITLE: LaTeX test #+AUTHOR: toto #+EMAIL: t...@toto.org #+LATEX_HEADER: \usepackage{nopkg} #+OPTIONS: with-email: t Note that 1. email is insert

Re: [O] Replace EMAIL keyword by some LaTeX command

2013-10-14 Thread Rasmus
Hi Xavier, Xavier Garrido writes: But you have to be certain that this command is present. You could use etoolbox to test it. That brings in another dependency, tho. > The only point is that I do not know how to translate =#+EMAIL= org > keyword into =\email= LaTeX command. Can a export filte

[O] Replace EMAIL keyword by some LaTeX command

2013-10-14 Thread Xavier Garrido
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: t...@toto.org #+END_SRC and