ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupURL issues
@ 2004-07-05 19:02 Nikolai Weibull
  2004-07-05 20:51 ` Patrick Gundlach
  2004-11-18 16:00 ` Adam Lindsay
  0 siblings, 2 replies; 7+ messages in thread
From: Nikolai Weibull @ 2004-07-05 19:02 UTC (permalink / raw)


\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);}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: \setupURL issues
  2004-07-05 19:02 \setupURL issues Nikolai Weibull
@ 2004-07-05 20:51 ` Patrick Gundlach
  2004-07-05 21:50   ` Nikolai Weibull
  2004-11-18 16:00 ` Adam Lindsay
  1 sibling, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2004-07-05 20:51 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: \setupURL issues
  2004-07-05 20:51 ` Patrick Gundlach
@ 2004-07-05 21:50   ` Nikolai Weibull
  0 siblings, 0 replies; 7+ messages in thread
From: Nikolai Weibull @ 2004-07-05 21:50 UTC (permalink / raw)


* Patrick Gundlach <pg@levana.de> [Jul 05, 2004 23:40]:
> > \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);}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: \setupURL issues
  2004-07-05 19:02 \setupURL issues Nikolai Weibull
  2004-07-05 20:51 ` Patrick Gundlach
@ 2004-11-18 16:00 ` Adam Lindsay
  2004-11-18 17:43   ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Adam Lindsay @ 2004-11-18 16:00 UTC (permalink / raw)


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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: \setupURL issues
  2004-11-18 16:00 ` Adam Lindsay
@ 2004-11-18 17:43   ` Hans Hagen
  2004-11-18 18:46     ` Nikolai Weibull
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2004-11-18 17:43 UTC (permalink / raw)


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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: \setupURL issues
  2004-11-18 17:43   ` Hans Hagen
@ 2004-11-18 18:46     ` Nikolai Weibull
  2004-11-19  8:37       ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Nikolai Weibull @ 2004-11-18 18:46 UTC (permalink / raw)


* Hans Hagen <pragma@wxs.nl> [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)?
	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);}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: \setupURL issues
  2004-11-18 18:46     ` Nikolai Weibull
@ 2004-11-19  8:37       ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2004-11-19  8:37 UTC (permalink / raw)


Nikolai Weibull wrote:
> * Hans Hagen <pragma@wxs.nl> [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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-11-19  8:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-05 19:02 \setupURL issues Nikolai Weibull
2004-07-05 20:51 ` Patrick Gundlach
2004-07-05 21:50   ` Nikolai Weibull
2004-11-18 16:00 ` Adam Lindsay
2004-11-18 17:43   ` Hans Hagen
2004-11-18 18:46     ` Nikolai Weibull
2004-11-19  8:37       ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).