From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47517 Path: news.gmane.org!not-for-mail From: Severin Newsgroups: gmane.comp.tex.context Subject: useURL interactionmode Date: Thu, 19 Feb 2009 13:28:03 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1417015761==" X-Trace: ger.gmane.org 1235046561 26434 80.91.229.12 (19 Feb 2009 12:29:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2009 12:29:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 19 13:30:33 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1La82x-00012R-7v for gctc-ntg-context-518@m.gmane.org; Thu, 19 Feb 2009 13:30:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A2E221FB82; Thu, 19 Feb 2009 13:29:07 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26392-03-2; Thu, 19 Feb 2009 13:28:15 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2CFA01FB29; Thu, 19 Feb 2009 13:28:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CAA381FA2B for ; Thu, 19 Feb 2009 13:28:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26392-03 for ; Thu, 19 Feb 2009 13:28:04 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id DDB1E1FB29 for ; Thu, 19 Feb 2009 13:28:04 +0100 (CET) Original-Received: from mail-bw0-f165.google.com (mail-bw0-f165.google.com [209.85.218.165]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1JCS3Pn018539 for ; Thu, 19 Feb 2009 13:28:04 +0100 Original-Received: by bwz9 with SMTP id 9so1045933bwz.2 for ; Thu, 19 Feb 2009 04:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=lij42+KmNRdTgte53uIdecLHEMCv9YNHZJnzCTlqQEU=; b=Nk+7mi4dvsU/jOraqAE4T3ixFmpUAOHD2gW1vV/eic5C1Zf3QWh0LwKMNHG/ODJ18g 5QZHaywfuuBBfOv3A0wJZ5qgdVWsOdzZASxb4A9vRmwKRjVHVskaxS89JQvougQX3pWl pL0MrN1L5M/2bnVhVg6DMp2u719yeYOjQuTF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=vS9tIw9K4indJ20e8QcCB6/LaH+r+JD83/ihHkAnKZkxYF3TCXqKJ/6Ztz4inKrC94 sg58XJBZt0EBHnL9ZIWAv7eBXJyc0Pq76fe35Y8Cj3zcxykWgdLAFdJicd/qnIXf4beu RkaTEmMCPtIIKL2NxbIu4kY4eRsoKefWKKhVg= Original-Received: by 10.223.108.75 with SMTP id e11mr741602fap.51.1235046483683; Thu, 19 Feb 2009 04:28:03 -0800 (PST) X-Google-Sender-Auth: 96f360f640b33375 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.165; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 182310956 - 62446a651048 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47517 Archived-At: --===============1417015761== Content-Type: multipart/alternative; boundary=001636c5a72ef0e94a046344aa32 --001636c5a72ef0e94a046344aa32 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, I defined urls like \useURL [activepython] [{http://.test.com}][sub]. Doing \from[url] with interactive mode enabled I get 'http://test.com' written in the document and the hyperlink point to http://test.com/sub. Now, if I disable interactive mode I still get 'http://test.com' on the output, but It would be nice to have 'http://test.com/sub', since there are no hyperlinks. is there a way to do this? My idea would be to write a macro that encabsulates \useURL, but is different, depending on the interaction-mode. Regards, Severin --001636c5a72ef0e94a046344aa32 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I defined urls like \useURL [activepython] [{http= ://.test.com}][sub].

Doing \from[url] with interactive mode enabled I get 'http://test.com' written in the document and the = hyperlink point to http://test.com/sub.=

Now, if I disable interactive mode I still get 'http://test.com' on the output, but It wou= ld be nice to have 'http://test.com/sub= ', since there are no hyperlinks.

is there a way to do this?

My = idea would be to write a macro that encabsulates \useURL, but is different,= depending on the interaction-mode.

Regards,
Severin
--001636c5a72ef0e94a046344aa32-- --===============1417015761== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1417015761==--