Re: [O] mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports

2018-02-26 Thread John Kitchin
Something besides:

#+BEGIN_EXPORT html
mailto:some...@example.com?Subject=Hello%20again; target="_top">Send 
Mail
#+END_EXPORT

or


@@html:mailto:some...@example.com?Subject=Hello%20again; 
target="_top">Send Mail@@

?
H. Dieter Wilhelm writes:

> John Kitchin  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:b...@comp.org}{b...@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



Re: [O] mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports

2018-02-25 Thread H. Dieter Wilhelm
John Kitchin  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:b...@comp.org}{b...@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




Re: [O] mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports

2018-02-25 Thread John Kitchin
I posted this on your stack exchange question:

#+latex_class: report
#+options: author:nil  email:nil
#+latex_header: \author{Some user \thanks{\href{mailto:b...@comp.org}{
b...@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 <
die...@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
>
>
>


[O] mailto link for the #+email keyword: Suppressing backslash and braces "escaping" for latex exports

2018-02-25 Thread H. Dieter Wilhelm
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