From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45238 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \ref and \goto Date: Sun, 2 Nov 2008 22:01:06 +0100 Message-ID: <6668367B-4407-48E8-8A51-287885E43BFA@gmail.com> References: <802B9EBC-9D88-4A13-AADD-8DD21209AA15@gmail.com> <20081102172131.GA18831@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225659808 17882 80.91.229.12 (2 Nov 2008 21:03:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Nov 2008 21:03:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 02 22:04:29 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 1Kwk6z-0004tM-7T for gctc-ntg-context-518@m.gmane.org; Sun, 02 Nov 2008 22:03:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA7941FB77; Sun, 2 Nov 2008 22:02:43 +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 31536-04-3; Sun, 2 Nov 2008 22:01:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AE91E1FB64; Sun, 2 Nov 2008 22:01:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B33D11FB5A for ; Sun, 2 Nov 2008 22:01:46 +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 31536-04-2 for ; Sun, 2 Nov 2008 22:01:11 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by ronja.ntg.nl (Postfix) with ESMTP id C30401FB64 for ; Sun, 2 Nov 2008 22:01:11 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id l26so1928866fgb.8 for ; Sun, 02 Nov 2008 13:01:11 -0800 (PST) Original-Received: by 10.86.80.17 with SMTP id d17mr10309560fgb.55.1225659671512; Sun, 02 Nov 2008 13:01:11 -0800 (PST) Original-Received: from ?10.70.117.63? (8.106.113.82.net.de.o2.com [82.113.106.8]) by mx.google.com with ESMTPS id 12sm7620153fgg.0.2008.11.02.13.01.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 13:01:10 -0800 (PST) In-Reply-To: <20081102172131.GA18831@gaston.couberia.bzh> X-Mailer: Apple Mail (2.929.2) 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:45238 Archived-At: Am 02.11.2008 um 18:21 schrieb Peter M=FCnster: > On Sun, Nov 02 2008, Wolfgang Schuster wrote: > >> how can I combine \ref and \goto? >> >> \setupinteraction[state=3Dstart] >> >> [...] >> >> 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} Hi Peter, thank you for the solution, I use now this: \def\gotoref[#1][#2]% {\goto{\expanded{\ref[#1][#2]}}[#2]} see also \gotoref[s][sec:one] Regards Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________