Re: [NTG-context] About formatting the "Fonts out of ConTEXT" manual

2017-08-15 Thread Henri
On Tue, 2017-08-15 at 12:35 +0200, Fabrice Couvreur wrote:
> Hi Hans,
> I love the style used for this manual. I tried to do the same thing, but it's 
> a long way off !
> I tried to find the source code to inspire me :-)

The source for the fonts manual is distributed with minimals.  It can be found 
in

    tex/texmf-context/doc/context/sources/general/fonts/

or online on GitHub

    
https://github.com/contextgarden/context-mirror/tree/beta/doc/context/sources/general/fonts

> I did this : 
> 
> \startuniqueMPgraphic{titled}
>   path p ;
>   p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
>   pickup pencircle scaled 1mm ;
>   linecap := squared ;
>   drawoptions(withcolor \MPcolor{darkred}) ;
>   draw ulcorner p -- urcorner p ;
>   setbounds currentpicture to p ;
> \stopuniqueMPgraphic
> 
> \defineoverlay[titled][\uniqueMPgraphic{titled}]
> 
> \startuseMPgraphic{triangledone}
> fill lltriangle scaled 4cm withcolor darkred;
> \stopuseMPgraphic
> 
> \defineoverlay[triangledone][\useMPgraphic{triangledone}]
> 
> \def\Triangledone#1%
>   {\framed
>   [background=triangledone,frame=off,offset=overlay]
>   {\tfb\color[white]{\bf#1}}}
> 
> \startuseMPgraphic{triangledtwo}
> fill lrtriangle scaled 4cm withcolor darkred;
> \stopuseMPgraphic
> 
> \defineoverlay[triangledtwo][\useMPgraphic{triangledtwo}]
> 
> \def\Triangledtwo#1%
>   {\framed
>   [background=triangledtwo,frame=off,offset=overlay]
>   {\tfb\color[white]{\bf#1}}}  
> 
> \setupheadertexts[margin][][\Triangledone\pagenumber][\Triangledtwo\pagenumber][]
>    
> \setupfootertexts[margin][]
>  [{\framed
>  [background=titled,frame=off,offset=8pt,align=left,
>   width=\dimexpr\leftmarginwidth-\leftedgewidth\relax]
>   {\darkred\getmarking[section]}}]
> 
> \setuppagenumbering[alternative=doublesided,location=]
> 
> \setuphead
>    [section]
>    [color=darkred]
> 
> \starttext
> 
> \startchapter[title={First Chapter}]
> \startsection[title={First section}]
> \dorecurse{5}{\input knuth}
> \stoptext
> 
> Thank you
> Fabrice
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] About formatting the "Fonts out of ConTEXT" manual

2017-08-15 Thread Henri
On Tue, 2017-08-15 at 12:35 +0200, Fabrice Couvreur wrote:
> Hi Hans,
> I love the style used for this manual. I tried to do the same thing, but it's 
> a long way off !
> I tried to find the source code to inspire me :-)

The source for the fonts manual is distributed with minimals.  It can be found 
in

    tex/texmf-context/doc/context/sources/general/fonts/

or online on GitHub

    
https://github.com/contextgarden/context-mirror/tree/beta/doc/context/sources/general/fonts

> I did this : 
> 
> \startuniqueMPgraphic{titled}
>   path p ;
>   p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
>   pickup pencircle scaled 1mm ;
>   linecap := squared ;
>   drawoptions(withcolor \MPcolor{darkred}) ;
>   draw ulcorner p -- urcorner p ;
>   setbounds currentpicture to p ;
> \stopuniqueMPgraphic
> 
> \defineoverlay[titled][\uniqueMPgraphic{titled}]
> 
> \startuseMPgraphic{triangledone}
> fill lltriangle scaled 4cm withcolor darkred;
> \stopuseMPgraphic
> 
> \defineoverlay[triangledone][\useMPgraphic{triangledone}]
> 
> \def\Triangledone#1%
>   {\framed
>   [background=triangledone,frame=off,offset=overlay]
>   {\tfb\color[white]{\bf#1}}}
> 
> \startuseMPgraphic{triangledtwo}
> fill lrtriangle scaled 4cm withcolor darkred;
> \stopuseMPgraphic
> 
> \defineoverlay[triangledtwo][\useMPgraphic{triangledtwo}]
> 
> \def\Triangledtwo#1%
>   {\framed
>   [background=triangledtwo,frame=off,offset=overlay]
>   {\tfb\color[white]{\bf#1}}}  
> 
> \setupheadertexts[margin][][\Triangledone\pagenumber][\Triangledtwo\pagenumber][]
>    
> \setupfootertexts[margin][]
>  [{\framed
>  [background=titled,frame=off,offset=8pt,align=left,
>   width=\dimexpr\leftmarginwidth-\leftedgewidth\relax]
>   {\darkred\getmarking[section]}}]
> 
> \setuppagenumbering[alternative=doublesided,location=]
> 
> \setuphead
>    [section]
>    [color=darkred]
> 
> \starttext
> 
> \startchapter[title={First Chapter}]
> \startsection[title={First section}]
> \dorecurse{5}{\input knuth}
> \stoptext
> 
> Thank you
> Fabrice
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Tomas Hala

# I would add other four (with Wolfgang’s permission):
# 
# \letterleftparenthesis
# \letterrightparenthesis
# \letterleftbracket
# \letterrightbracket

Unfortunately, these four commands are not available on my computer (I use TL 
2015).

Tomas
 
# Pablo
# -- 
# http://www.ousia.tk
# 
___
# 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://context.aanhet.net
# archive  : https://bitbucket.org/phg/context-mirror/commits/
# wiki : http://contextgarden.net
# 
___

 Tomáš Hála

Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28

http://akela.mendelu.cz/~thala
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Pablo Rodriguez
On 08/15/2017 08:28 PM, Alan Braslau wrote:
> Is there not some way to "protect" a literal string to be taken
> verbatim where no character be active, for it is messy to have to
> "clean-up" data such as a url.

Hi Alan,

wrapping the URL (or the footnote that contains it, it will crash inside
the footnote) with \startasciimode...\stopasciimode works too:

\setupinteraction[state=start]
\unexpanded\def\mypersonalurl#1{%
\bgroup\tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup}
\starttext

\startasciimode
\footnote{\mypersonalurl{http://a.b?hpw%20h#pw}}
\stopasciimode

\stoptext

Thomas, my apologies, because I have just remembered this. (I use
ConTeXt mainly with XML input sources.)

Just in case it helps,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Pablo Rodriguez
On 08/15/2017 07:07 PM, Wolfgang Schuster wrote:
>> Tomas Hala 15. August 2017 um 18:52:
>> [...]
>> Are there some other predefined "\letterxxx" commands?
> \letteropenbrace
> [...]
> \letterexclamationmark

I would add other four (with Wolfgang’s permission):

\letterleftparenthesis
\letterrightparenthesis
\letterleftbracket
\letterrightbracket

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Alan Braslau
Is there not some way to "protect" a literal string to be taken
verbatim where no character be active, for it is messy to have to
"clean-up" data such as a url.

Alan


On Tue, 15 Aug 2017 19:07:54 +0200
Wolfgang Schuster  wrote:

> > Are there some other predefined "\letterxxx" commands?  
> \letteropenbrace
> \letterclosebrace
> \letterampersand
> \letterless
> \lettermore
> \letterhash
> \letterdoublequote
> \lettersinglequote
> \letterdollar
> \letterpercent
> \letterhat
> \letterunderscore
> \letterbar
> \lettertilde
> \letterbackslash
> \letterslash
> \letterquestionmark
> \letterat
> \lettercolon
> \letterescape
> \letterbgroup
> \letteregroup
> \letterleftbrace
> \letterrightbrace
> \letterexclamationmark

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Wolfgang Schuster



Tomas Hala 
15. August 2017 um 18:52
Hi,

I updated the page about URLs. Reading the text, I found the following
sentence which -- in my opinion -- does not correspond with the current
behaviour:

"You can use \url[aurl] as well, which behaves like \from[#1]."

I tried it but the \url[aurl] is not printed out in green colour as 
well as

other similar links and, moreover, it seems not to be clickable.
Could somebody confirm or disprove it?

# 
\mypersonalurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\letterpercent20hpw}

#
# Please update the garden (another command is \letterhash), when the
# reply solved your problem.

Are there some other predefined "\letterxxx" commands?

\letteropenbrace
\letterclosebrace
\letterampersand
\letterless
\lettermore
\letterhash
\letterdoublequote
\lettersinglequote
\letterdollar
\letterpercent
\letterhat
\letterunderscore
\letterbar
\lettertilde
\letterbackslash
\letterslash
\letterquestionmark
\letterat
\lettercolon
\letterescape
\letterbgroup
\letteregroup
\letterleftbrace
\letterrightbrace
\letterexclamationmark


Is (and how) possible to change the name of page from Url to URL?

I moved the page.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs -- about Wiki

2017-08-15 Thread Tomas Hala

Hi,
 
I updated the page about URLs. Reading the text, I found the following
sentence which -- in my opinion -- does not correspond with the current
behaviour:

"You can use \url[aurl] as well, which behaves like \from[#1]."

I tried it but the \url[aurl] is not printed out in green colour as well as
other similar links and, moreover, it seems not to be clickable.
Could somebody confirm or disprove it?
 
# 
\mypersonalurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\letterpercent20hpw}
# 
# Please update the garden (another command is \letterhash), when the
# reply solved your problem.

Are there some other predefined "\letterxxx" commands? 

Is (and how) possible to change the name of page from Url to URL?

Cheers,

Tomas
 
# Many thanks (for the update ;-)),
# 
# Pablo


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] avoid space after title

2017-08-15 Thread Henning Hraban Ramm
I’d like to get rid of the blank line after section titles in grid mode. How?

\setuplayout[grid=yes,]
\setuphead[section][page=no,before={},after={}]

\starttext

\startchapter[title={Authors}]

\startsection[title={Knuth}]
\input knuth
\stopsection

\startsection[title={Tufte}]
\input tufte
\stopsection

\startsection[title={Hawking}]
\input hawking
\stopsection

\startsection[title={Zapf}]
\input zapf
\stopsection

\stopchapter

\stoptext



Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs

2017-08-15 Thread Tomas Hala
Thanks, very simple, indeed.

Tomas

Tue, Aug 15, 2017 ve 04:36:15AM -0400 Aditya Mahajan napsal(a):
# >It will be an honour for me to update the wiki but I guess I had
# >no permissions. Could somebody give access to me?
# 
# No permissions are needed. You can simply create a new account and
# edit any page.
# 
# http://wiki.contextgarden.net/index.php?title=Special:UserLogin=signup
# 
# Aditya
# 
___
# 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://context.aanhet.net
# archive  : https://bitbucket.org/phg/context-mirror/commits/
# wiki : http://contextgarden.net
# 
___

 Tomáš Hála

Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28

http://akela.mendelu.cz/~thala
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Pdf info with Lua/Ctx API

2017-08-15 Thread Procházka Lukáš Ing .

Hello Hans,

that's exactly what I've been looking for!

(And yes, I've asked one or more times, with a solution that seemed to me a bit "forced" 
or "non-clear", so the latest solution looks perfectly!)

Best regards,

Lukas


On Mon, 14 Aug 2017 16:55:09 +0200, Hans Hagen  wrote:


On 8/14/2017 1:08 PM, Procházka Lukáš Ing. wrote:

Hello,

is there a way how to get the following info from a PDF file via Lua/Ctx
API?:

- first: number of pages of the PDF,

- next: for each page: get width, height and orientation
(portrait/landscape) or rotation (+90,+ 180, +270 or so) of i-th page.


this probably has come up several times now, anyway


\getfiguredimensions[test.pdf]
\dorecurse {\noffigurepages} {
 \getfiguredimensions[test.pdf][page=#1]
 \figurenaturalwidth
,\figurenaturalheight,\figureorientation,\figurerotation\par
}

in lua you can either use the img library (see luatex manual) or context
helpers

 local data = figures.push("foo.pdf")
 figures.identify()
 figures.check()
 figures.pop()
inspect(data)

i'll add:

function figures.getinfo(name,page)
 if type(name) == "string" then
 name = { name = name, page = page }
 end
 if name.name then
 local data = figures.push(name)
 figures.identify()
 figures.check()
 figures.pop()
 return data
 end
end

so that one can do

local n = "ms.pdf"
local d = figures.getinfo(n)

if d then
 for i=1,d.used.pages do
 local p = figures.getinfo(n,i)
 if p then
 local u = p.used
 print(u.width,u.height,u.orientation)
 end
 end
end

etc etc





--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] having all lines with \setuptyping

2017-08-15 Thread Pablo Rodriguez
Dear list,

I have the following sample:

\setuptyping[TEX][lines=no]
\definetyping[TEXlines][lines=yes, option=TEX]
\starttext
\startxtable[frame=off,option=stretch]\startxrow
\startxcell\startTEX
\starttext
Esto
es un
único párrafo.



Y aquí está el segundo.

Y el tercero.
\stoptext
\stopTEX\stopxcell
\startxcell\startTEXlines
\starttext
Esto
es un
único párrafo.



Y aquí está el segundo.

Y el tercero.
\stoptext
\stopTEXlines\stopxcell
\stopxrow\stopxtable
\stoptext

I need to show that there is more than one blank line where required.

I assumed \setuptyping[lines=yes] should do that.

Am I wrong or is there a bug here? (I’m using beta from 2017.08.15 12:35.)

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] About formatting the "Fonts out of ConTEXT" manual

2017-08-15 Thread Fabrice Couvreur
Hi Hans,
I love the style used for this manual. I tried to do the same thing, but
it's a long way off !
I tried to find the source code to inspire me :-)
I did this :

\startuniqueMPgraphic{titled}
  path p ;
  p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
  pickup pencircle scaled 1mm ;
  linecap := squared ;
  drawoptions(withcolor \MPcolor{darkred}) ;
  draw ulcorner p -- urcorner p ;
  setbounds currentpicture to p ;
\stopuniqueMPgraphic

\defineoverlay[titled][\uniqueMPgraphic{titled}]

\startuseMPgraphic{triangledone}
fill lltriangle scaled 4cm withcolor darkred;
\stopuseMPgraphic

\defineoverlay[triangledone][\useMPgraphic{triangledone}]

\def\Triangledone#1%
  {\framed
  [background=triangledone,frame=off,offset=overlay]
  {\tfb\color[white]{\bf#1}}}

\startuseMPgraphic{triangledtwo}
fill lrtriangle scaled 4cm withcolor darkred;
\stopuseMPgraphic

\defineoverlay[triangledtwo][\useMPgraphic{triangledtwo}]

\def\Triangledtwo#1%
  {\framed
  [background=triangledtwo,frame=off,offset=overlay]
  {\tfb\color[white]{\bf#1}}}

\setupheadertexts[margin][][\Triangledone\pagenumber][\Triangledtwo\pagenumber][]

\setupfootertexts[margin][]
 [{\framed
 [background=titled,frame=off,offset=8pt,align=left,
  width=\dimexpr\leftmarginwidth-\leftedgewidth\relax]
  {\darkred\getmarking[section]}}]

\setuppagenumbering[alternative=doublesided,location=]

\setuphead
   [section]
   [color=darkred]

\starttext

\startchapter[title={First Chapter}]
\startsection[title={First section}]
\dorecurse{5}{\input knuth}
\stoptext

Thank you
Fabrice
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs

2017-08-15 Thread Aditya Mahajan
It will be an honour for me to update the wiki but I guess 
I had no permissions. Could somebody give access to me?


No permissions are needed. You can simply create a new account and edit 
any page.


http://wiki.contextgarden.net/index.php?title=Special:UserLogin=signup

Aditya
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] (My) problem with percent sign in URLs

2017-08-15 Thread Tomas Hala
Hi Pablo (and all),

thank you for the solution, it is exactly what I need.

It will be an honour for me to update the wiki but I guess 
I had no permissions. Could somebody give access to me?

Tomas


Mon, Aug 14, 2017 ve 09:52:20PM +0200 Pablo Rodriguez napsal(a):
# On 08/14/2017 06:27 PM, Tomas Hala wrote:
# > Hi all,
# > 
# > I came across the problem with typesetting long URLs containing special
# > characters transformed to hexadecimal form. Hyphenation of URLs is needed. 
# > 
# > Minimal examples (URL taken from our garden and adopted):
# > 
# > 1. 
\hyphenatedurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\%20hpw}
# 
# Hi Tomas,
# 
# I think \letterpercent is what you need.
# 
# Inside a little more complex sample:
# 
# \setupinteraction[state=start]
# \unexpanded\def\mypersonalurl#1{%
# \bgroup\tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup}
# \starttext
# \hsize\zeropoint
# 
# 
\mypersonalurl{http://bits.blogs.nytimes.com/2010/03/05/a-former-book-designer-says-good-riddance-to-print/?hpw\letterpercent20hpw}
# \stoptext
# 
# Please update the garden (another command is \letterhash), when the
# reply solved your problem.
# 
# Many thanks (for the update ;-)),
# 
# Pablo
# -- 
# http://www.ousia.tk
# 
___
# 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://context.aanhet.net
# archive  : https://bitbucket.org/phg/context-mirror/commits/
# wiki : http://contextgarden.net
# 
___

 Tomáš Hála

Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28

http://akela.mendelu.cz/~thala
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___