On 10/02/2011 06:40 PM, Philipp Gesang wrote:
> Well, in my previous example, rather use:
>   \definefontfeature[url][onum=no,smcp=yes]
> and come back with a complete example if it doesn’t help.

Philipp, I'm afraid it doesn't work. Sample file:


%%% First, define the switch for text figures:

%%% Best use context’s default url commands:

%%% It comes with a proper setup for everything.

%%% If you must use the “href” macro, disable the font feature locally.


%%% With the internal command:
%%% Your way:

> (Btw, looks like you consider setting the default font style to
> small caps. Is this really what you intended?)

No, I was only checking the “feature”. It seems that if an OT feature is
enabled as default, you cannot disable it for urls (at least, this is
what I get).

>> After having to write the second url, I began to think it was
>> unnecessarily complex.
> Fwiw I think that \useURL fits the context style best as it
> separates the declaration of an element from its use in the
> document.

Sorry, but I'm afraid I don't see your point. Would you think the same
for titles or emphasized text?

Imagine a whole book in one document. If you have more than 100 urls, it
would be inconvenient to have to go to the document preamble and back to
the body text only to add an url.

But I guess it might be a question of habits.

Many thanks for your help again,

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

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

Reply via email to