From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45233 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: \ref and \goto Date: Sun, 2 Nov 2008 18:21:31 +0100 Message-ID: <20081102172131.GA18831@gaston.couberia.bzh> References: <802B9EBC-9D88-4A13-AADD-8DD21209AA15@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225646853 12535 80.91.229.12 (2 Nov 2008 17:27:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2008 17:27:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 02 18:28:34 2008 connect(): Connection refused 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 1Kwgkb-0000vS-W2 for gctc-ntg-context-518@m.gmane.org; Sun, 02 Nov 2008 18:28:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D95751FBFB; Sun, 2 Nov 2008 18:27:24 +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 32118-02-2; Sun, 2 Nov 2008 18:26:31 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 28FAE1FBC5; Sun, 2 Nov 2008 18:26:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 47CE11FBC5 for ; Sun, 2 Nov 2008 18:26:30 +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 32118-02 for ; Sun, 2 Nov 2008 18:25:59 +0100 (CET) Original-Received: from smtp27.orange.fr (smtp27.orange.fr [80.12.242.95]) by ronja.ntg.nl (Postfix) with ESMTP id 7F3441FA4C for ; Sun, 2 Nov 2008 18:21:32 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2707.orange.fr (SMTP Server) with ESMTP id 41B801C00096 for ; Sun, 2 Nov 2008 18:21:32 +0100 (CET) Original-Received: from gaston.couberia.bzh (ARennes-358-1-64-249.w90-49.abo.wanadoo.fr [90.49.255.249]) by mwinf2707.orange.fr (SMTP Server) with ESMTP id 2316A1C00094 for ; Sun, 2 Nov 2008 18:21:32 +0100 (CET) X-ME-UUID: 20081102172132143.2316A1C00094@mwinf2707.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 7CC04309CA; Sun, 2 Nov 2008 18:21:31 +0100 (CET) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <802B9EBC-9D88-4A13-AADD-8DD21209AA15@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:45233 Archived-At: On Sun, Nov 02 2008, Wolfgang Schuster wrote: > how can I combine \ref and \goto? > > \setupinteraction[state=start] > > [...] > > see also \goto{\ref[s][sec:one]}[sec:one] % fails Here a workaround: see also \goto{\expanded{\ref[s][sec:one]}}[sec:one] % does not fail This works also: \def\myGoto#1{\goto{\expanded{\ref[s][#1]}}[#1]} see also \myGoto{sec:one} Cheers, Peter -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________