Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-11 Thread Peter Münster
On Wed, 10 Jun 2009, Hans Hagen wrote:

 Peter Münster wrote:
  Hello,
  
  Here I get the error:
  
  \starttext
  bla\footnote{\useURL[bla][http://bla/]\from[bla]}
  \stoptext
  
  I use \useURL inside the footnote, because in my real code, I put \useURL
  and \from together in a macro.
 
 i'll make them unexpandable although normally such commands are not used that
 way it does not hurt

Ok.
Or is there perhaps another command (for example \fromURL{}) that does
just this: \useURL[dummy][http://my-url/]\from[dummy];

Perhaps with alternative optional argument:
\fromURL[#1]{#2} = \useURL[dummy][#2][][#1]\from[dummy]

Cheers, Peter

P.S: Any news about the problems with \placehead and \lastpagenumber ?

-- 
Contact information: http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-11 Thread Wolfgang Schuster
Am 11.06.2009 um 10:08 schrieb Peter Münster:Or is there perhaps another command (for example "\fromURL{}") that doesjust this: "\useURL[dummy][http://my-url/]\from[dummy]"Perhaps with alternative optional argument:\fromURL[#1]{#2} = "\useURL[dummy][#2][][#1]\from[dummy]"Hans gave *you* a while ago this solution: \goto{...}[url(...)]Wolfgang___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-11 Thread Peter Münster
On Thu, 11 Jun 2009, Hans Hagen wrote:

 Peter Münster wrote:
  \lastpagenumber ?
 
 should work in the beta

Indeed, thanks!
Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-10 Thread Hans Hagen

Peter Münster wrote:

Hello,

Here I get the error:

\starttext
bla\footnote{\useURL[bla][http://bla/]\from[bla]}
\stoptext

I use \useURL inside the footnote, because in my real code, I put \useURL
and \from together in a macro.


i'll make them unexpandable although normally such commands are not used 
that way it does not hurt




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Argument of \doswitchtotypeface has an extra }

2009-06-09 Thread Peter Münster
Hello,

Here I get the error:

\starttext
bla\footnote{\useURL[bla][http://bla/]\from[bla]}
\stoptext

I use \useURL inside the footnote, because in my real code, I put \useURL
and \from together in a macro.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___