emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports
Date: Sun, 25 Feb 2018 14:55:18 -0800	[thread overview]
Message-ID: <CAJ51ETqRTUou6GoO4D21jFpjtL_79DTs1bm=Z=0npHfHzcP_oQ@mail.gmail.com> (raw)
In-Reply-To: <87606l7xum.fsf@duenenhof-wilhelm.de>

[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]

I posted this on your stack exchange question:

#+latex_class: report
#+options: author:nil  email:nil
#+latex_header: \author{Some user \thanks{\href{mailto:bla@comp.org}{
bla@comp.org}}}

That is basically what ox-latex expands those keywords into.

John

-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Sun, Feb 25, 2018 at 10:01 AM, H. Dieter Wilhelm <
dieter@duenenhof-wilhelm.de> wrote:

> Dear orgers,
>
> I'd like to have a clickable mailto link in a latex pdf export (of a
> report) for the #+email:-keyword's content.
>
> I assume this is not achievable with latex commands, for example
>
>    #+email: \href{mailto:a@b.com}{a@b.com}
>
> because org escapes here backslashes and the braces:
>
>   $\backslash$href\{mailto:a@b.com\}\{a@b.com\}
>
> Is it possible to suppress this escaping or what mechanism to achieve a
> clickable mailto link would you suggest?
>
> Thank you very much
>
>         Dieter
>
> PS: Already asked this on stackexchange:
> https://emacs.stackexchange.com/q/39058/8979
>
> --
> Best wishes
> H. Dieter Wilhelm
> Kelkheim, Germany
>
>
>

[-- Attachment #2: Type: text/html, Size: 2355 bytes --]

  reply	other threads:[~2018-02-25 22:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-25 18:01 mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports H. Dieter Wilhelm
2018-02-25 22:55 ` John Kitchin [this message]
2018-02-26  7:02   ` H. Dieter Wilhelm
2018-02-26 15:29     ` John Kitchin

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='CAJ51ETqRTUou6GoO4D21jFpjtL_79DTs1bm=Z=0npHfHzcP_oQ@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=dieter@duenenhof-wilhelm.de \
    --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).