* mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports
@ 2018-02-25 18:01 H. Dieter Wilhelm
2018-02-25 22:55 ` John Kitchin
0 siblings, 1 reply; 4+ messages in thread
From: H. Dieter Wilhelm @ 2018-02-25 18:01 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports
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
2018-02-26 7:02 ` H. Dieter Wilhelm
0 siblings, 1 reply; 4+ messages in thread
From: John Kitchin @ 2018-02-25 22:55 UTC (permalink / raw)
To: H. Dieter Wilhelm; +Cc: org-mode-email
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports
2018-02-25 22:55 ` John Kitchin
@ 2018-02-26 7:02 ` H. Dieter Wilhelm
2018-02-26 15:29 ` John Kitchin
0 siblings, 1 reply; 4+ messages in thread
From: H. Dieter Wilhelm @ 2018-02-26 7:02 UTC (permalink / raw)
To: emacs-orgmode
John Kitchin <jkitchin@andrew.cmu.edu> writes:
> 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}}}
Perfect, thanks a lot John!
Hmm, I'm asking now myself how can I get a mailto link for an html
export as well? ;-)
Dieter
[...]
l
--
Best wishes
H. Dieter Wilhelm
Kelkheim, Germany
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports
2018-02-26 7:02 ` H. Dieter Wilhelm
@ 2018-02-26 15:29 ` John Kitchin
0 siblings, 0 replies; 4+ messages in thread
From: John Kitchin @ 2018-02-26 15:29 UTC (permalink / raw)
To: H. Dieter Wilhelm; +Cc: emacs-orgmode
Something besides:
#+BEGIN_EXPORT html
<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">Send Mail</a>
#+END_EXPORT
or
@@html:<a href="mailto:someone@example.com?Subject=Hello%20again" target="_top">Send Mail</a>@@
?
H. Dieter Wilhelm writes:
> John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> 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}}}
>
> Perfect, thanks a lot John!
>
> Hmm, I'm asking now myself how can I get a mailto link for an html
> export as well? ;-)
>
> Dieter
> [...]
>
> l
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-26 15:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2018-02-26 7:02 ` H. Dieter Wilhelm
2018-02-26 15:29 ` John Kitchin
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).