From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin 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 Message-ID: References: <87606l7xum.fsf@duenenhof-wilhelm.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11468de6b33b7d0566114911" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eq5CW-0003eS-18 for emacs-orgmode@gnu.org; Sun, 25 Feb 2018 17:55:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eq5CU-000554-GC for emacs-orgmode@gnu.org; Sun, 25 Feb 2018 17:55:24 -0500 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:39067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eq5CU-000549-4Z for emacs-orgmode@gnu.org; Sun, 25 Feb 2018 17:55:22 -0500 Received: by mail-wm0-x234.google.com with SMTP id 191so13859284wmm.4 for ; Sun, 25 Feb 2018 14:55:21 -0800 (PST) In-Reply-To: <87606l7xum.fsf@duenenhof-wilhelm.de> 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" To: "H. Dieter Wilhelm" Cc: org-mode-email --001a11468de6b33b7d0566114911 Content-Type: text/plain; charset="UTF-8" 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 > > > --001a11468de6b33b7d0566114911 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I posted this on your stack exchange question:

#+latex_class: report
#+options: author:nil=C2=A0 em= ail:nil
#+latex_header: \author{Some user \thanks{\href{mailto:bla@comp.org}{bla@comp.org}}}

That is basically w= hat ox-latex expands those keywords into.

John

---= --------------------------------
Professor John Kitchin=C2=A0
Doherty= Hall A207F
Department of Chemical Engineering
Carnegie Mellon Univer= sity
Pittsburgh, PA 15213
412-268-7803

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

=C2=A0 =C2=A0#+email: \href{mailto:a@b.com}{= a@b.com}

because org escapes here backslashes and the braces:

=C2=A0 $\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

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Dieter

PS: Already asked this on stackexchange:
https://emacs.stackexchange.com/q/39058/8979
--
Best wishes
H. Dieter Wilhelm
Kelkheim, Germany



--001a11468de6b33b7d0566114911--