[NTG-context] interaction (mailto) query

2014-07-16 Thread Alan Bowen
To open a new email message in the user’s email client, I have
\useURL
[xxx]
[mailto:x...@yyy.org]
[]
[{xxx}]

\setupinteraction[state=start,color=blue]

\starttext

send email to \from[xxx]

\stoptext

This sets the address to which the message is to be sent. Is there a way to
set the subject of this message as well?

Alan
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Peter Rolf
Hi Alan,

Am 16.07.2014 13:27, schrieb Alan Bowen:
 To open a new email message in the user’s email client, I have
 \useURL
 [xxx]
 [mailto:x...@yyy.org mailto:x...@yyy.org]

[mailto:x...@yyy.org?subject=foo]

There are also 'body=' for the mail text and 'cc=' / 'bcc='. All
worked well in a quick test.


Best wishes,

Peter

 []
 [{xxx}]
 
 \setupinteraction[state=start,color=blue]
 
 \starttext
 
 send email to \from[xxx]
 
 \stoptext
 
 This sets the address to which the message is to be sent. Is there a way
 to set the subject of this message as well?
 
 Alan
 
 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
 

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Alan Bowen
Many thanks, Peter. This works well but only if I do not have spaces in the
fields for “body=” etc. How did you get around this limitation? (I am
running ConTeXt  ver: 2014.07.11 12:20 MKIV beta.)

All best, Alan


On Wed, Jul 16, 2014 at 8:28 AM, Peter Münster pmli...@free.fr wrote:

 On Wed, Jul 16 2014, Peter Rolf wrote:

  Am 16.07.2014 13:27, schrieb Alan Bowen:
  To open a new email message in the user’s email client, I have
  \useURL
  [xxx]
  [mailto:x...@yyy.org mailto:x...@yyy.org]
 
  [mailto:x...@yyy.org?subject=foo]

 And if you need a newline in the body:

 [mailto:x...@yyy.org?subject=my subjectbody=Hi Peter,\%0ABye]

 --
Peter

 ___
 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Werner Hintze

Just put \%20 for for a space: »A\%20subject\%20with\%20spaces«



On 16 Jul 2014, at 16:55, Alan Bowen wrote:

Many thanks, Peter. This works well but only if I do not have spaces 
in the
fields for “body=” etc. How did you get around this limitation? 
(I am

running ConTeXt  ver: 2014.07.11 12:20 MKIV beta.)

All best, Alan


On Wed, Jul 16, 2014 at 8:28 AM, Peter Münster pmli...@free.fr 
wrote:



On Wed, Jul 16 2014, Peter Rolf wrote:


Am 16.07.2014 13:27, schrieb Alan Bowen:

To open a new email message in the user’s email client, I have
\useURL
[xxx]
[mailto:x...@yyy.org mailto:x...@yyy.org]


[mailto:x...@yyy.org?subject=foo]


And if you need a newline in the body:

[mailto:x...@yyy.org?subject=my subjectbody=Hi Peter,\%0ABye]

--
Peter

___
If your question is of interest to others as well, please add an 
entry to

the Wiki!

maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

___


___
If your question is of interest to others as well, please add an entry 
to the Wiki!


maillist : ntg-context@ntg.nl / 
http://www.ntg.nl/mailman/listinfo/ntg-context

webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] interaction (mailto) query

2014-07-16 Thread Alan Bowen
Thanks, Werner. That works perfectly.


On Wed, Jul 16, 2014 at 11:13 AM, Werner Hintze w.hin...@posteo.eu wrote:

 Just put \%20 for for a space: »A\%20subject\%20with\%20spaces«

 On 16 Jul 2014, at 16:55, Alan Bowen wrote:

 Many thanks, Peter. This works well but only if I do not have spaces in the
 fields for “body=” etc. How did you get around this limitation? (I am
 running ConTeXt ver: 2014.07.11 12:20 MKIV beta.)

 All best, Alan

 On Wed, Jul 16, 2014 at 8:28 AM, Peter Münster pmli...@free.fr wrote:

 On Wed, Jul 16 2014, Peter Rolf wrote:

 Am 16.07.2014 13:27, schrieb Alan Bowen:

 To open a new email message in the user’s email client, I have
 \useURL
 [xxx]
 [mailto:x...@yyy.org x...@yyy.org]

  [mailto:x...@yyy.org?subject=foo]

 And if you need a newline in the body:

 [mailto:x...@yyy.org?subject=my subjectbody=Hi Peter,\%0ABye]

 --
 Peter
 --

 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 --

 --

 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 --



 ___
 If your question is of interest to others as well, please add an entry to
 the Wiki!

 maillist : ntg-context@ntg.nl /
 http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___