\setupURL [color=blue] seems buggy. Try this: \setupcolors [state=start] \setupinteraction [state=start] \setupurl [color=blue] \useURL[one][http://www.google.com/] \starttext Why the hell is \from[one] wrapping so badly? \stoptext You will (hopefully...or something) notice that the http:// appears above and slightly to the left of www.google.com in the sentence. remove \setupurl[...] and it works fine, rendering it green. It also works fine if you remove the color=blue and add style=type instead or whatever. In noninteractive versions this works fine though and in documents without \setupcolors[state=start], nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Hi Nikolai,
\setupurl [color=blue]
Does setupurl take color as an argument? Where is this documented? Patrick BTW: \setupinteraction[color=blue] works; perhaps this is enough for a workaround. -- texshow-web: http://members.ping.de:8061 ConTeXt wiki: http://members.ping.de:8062
* Patrick Gundlach
\setupurl [color=blue]
Does setupurl take color as an argument? Where is this documented?
Yes. It's not really documented, but it's in core-ref.tex around lines 2885.
BTW: \setupinteraction[color=blue] works; perhaps this is enough for a workaround.
Yes, but what if you want different colors for urls and other interactive items? nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai-- I just ran into this bug on my own and noticed your message on-list. Did you get it resolved, cos you're right: it's ugly. Nikolai Weibull said this at Mon, 5 Jul 2004 21:02:36 +0200:
\setupURL [color=blue]
seems buggy. Try this:
\setupcolors [state=start] \setupinteraction [state=start] \setupurl [color=blue] \useURL[one][http://www.google.com/] \starttext Why the hell is \from[one] wrapping so badly? \stoptext
You will (hopefully...or something) notice that the http:// appears above and slightly to the left of www.google.com in the sentence. remove \setupurl[...] and it works fine, rendering it green. It also works fine if you remove the color=blue and add style=type instead or whatever. In noninteractive versions this works fine though and in documents without \setupcolors[state=start], nikolai
-- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);} _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam Lindsay wrote:
I just ran into this bug on my own and noticed your message on-list. Did you get it resolved, cos you're right: it's ugly.
hm, interesting bug, i'll spare you the details Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
* Hans Hagen
I just ran into this bug on my own and noticed your message on-list. Did you get it resolved, cos you're right: it's ugly.
hm, interesting bug, i'll spare you the details
:-) Anyway, does this mean you fixed it (and I should update my context), or are you looking into it (and I should hold on updating)? nikolai -- ::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden ::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Nikolai Weibull wrote:
* Hans Hagen
[Nov 18, 2004 18:50]: I just ran into this bug on my own and noticed your message on-list. Did you get it resolved, cos you're right: it's ugly.
hm, interesting bug, i'll spare you the details
:-) Anyway, does this mean you fixed it (and I should update my context), or are you looking into it (and I should hold on updating)?
looking into it, for the moment turn of the url color Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (5)
-
Adam Lindsay
-
Hans Hagen
-
Nikolai Weibull
-
Nikolai Weibull
-
Patrick Gundlach