emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xavier Garrido <xavier.garrido@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Replace EMAIL keyword by some LaTeX command
Date: Mon, 14 Oct 2013 10:20:09 +0200	[thread overview]
Message-ID: <525BA939.8060804@gmail.com> (raw)

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

             reply	other threads:[~2013-10-14  8:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14  8:20 Xavier Garrido [this message]
2013-10-15  0:11 ` Replace EMAIL keyword by some LaTeX command Rasmus
2013-10-15  6:08   ` Xavier Garrido
2013-10-15 19:19   ` Marcin Borkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525BA939.8060804@gmail.com \
    --to=xavier.garrido@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).