From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55052 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: About \version[temporary] Date: Fri, 4 Dec 2009 19:45:03 +0100 Message-ID: References: <4B17F192.4070303@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259952322 16295 80.91.229.12 (4 Dec 2009 18:45:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 18:45:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 04 19:45:15 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGd9W-0002X4-SE for gctc-ntg-context-518@m.gmane.org; Fri, 04 Dec 2009 19:45:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32723C9D12; Fri, 4 Dec 2009 19:41:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fK14SXggD5Gv; Fri, 4 Dec 2009 19:41:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5C5D3C9D13; Fri, 4 Dec 2009 19:41:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45F62C9D12 for ; Fri, 4 Dec 2009 19:41:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gJxJZraKr26I for ; Fri, 4 Dec 2009 19:41:48 +0100 (CET) Original-Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221]) by balder.ntg.nl (Postfix) with ESMTP id B7A77C9D13 for ; Fri, 4 Dec 2009 19:41:48 +0100 (CET) Original-Received: by ewy21 with SMTP id 21so952282ewy.2 for ; Fri, 04 Dec 2009 10:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=lUkwDeXf97k/PtrLR5qkAqydtVCd+Daie49D3AZdWdc=; b=ovE2jOWSr60+X1pxQcb7pseOkqj/m1IFwKmq7xR0xQhjDQ/U+L4+1Hw2DeWYWXmqLf Crfh2m5P3PD88I08iKwSbKLPKokJSgqrE9XGMAGHIyfvZYDsxzG+Pj4qW9KH/WdCZlRE 27qirvAj/9ydbNMcTJD5fIpE0Y4TYswe2UgV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=QFS9ZILstEz4vmjZT9Tf2aYImBam/hf5vOWZQ1uZe3EG3D9/MmTbXS61LyUra77qoG xNPFHwW2NkZFVXJxotavYh8hF2c0oWmf+biPPDfJUOElLuLD+3O5pQiFUUiHcV9Ejzy/ +P8BBxf8gUrRTN7bXawoDhAQYA0fJm0ZrAtus= Original-Received: by 10.213.23.213 with SMTP id s21mr4778961ebb.76.1259952306042; Fri, 04 Dec 2009 10:45:06 -0800 (PST) Original-Received: from ?192.168.1.20? (77.24.85-79.rev.gaoland.net [79.85.24.77]) by mx.google.com with ESMTPS id 23sm5755130eya.3.2009.12.04.10.45.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Dec 2009 10:45:05 -0800 (PST) In-Reply-To: <4B17F192.4070303@wxs.nl> X-Mailer: Apple Mail (2.1077) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55052 Archived-At: On 3 d=E9c. 2009, at 18:12, Hans Hagen wrote: > there will be a tracing mechanism in mkiv > = > Hans Many thanks Hans for your answer. For the time being I found a solution, which is far from being optimal for = visualizing references to equations, but is acceptable for now (actually fo= r writing math articles I still use only mkii). In case others would need such a workaround, I give an example below. Have a nice week-end. Best regards: OK %%% begin show-references.tex \enableregime[utf] \setupformulas[way=3Dbysection] %% defining \proclaim which is built in Plain-teX %% but has disappeared from ConTeXt \defineenumeration[proclaim] [text=3D, style=3Dslanted, title=3Dyes, titleleft=3D, titleright=3D, location=3Dserried, width=3Dfit, right=3D{.~}] \setupnumber[proclaim][way=3Dbysection,numbersection=3Dyes] %% end definition \proclaim % Defining \eqref and \lemref % all equation references should be like eq:something \def\eqref#1{(\in[eq:#1])} = % all proposition references should be like lem:something \def\lemref#1{\in[lem:#1]} % in order to visualize the references when % proof reading we add these commands % to see the references in the margins one has to say % \enablemode[temporary] \def\showeqref#1{\doifmode{temporary}{\inright{\ttxx #1}}} \def\showlemref#1{\doifmode{temporary}{\inleft{\ttxx #1}}} \enablemode[temporary] \starttext \title{Showing the cross references} = \blank[2*big] \section{Introduction} In this paper we are interested in the study of the following Schr=F6dinger= system of equations: find an infinite sequence $(\lambda_{m},\phi_{m})_{m\= geq1}$ and a potential $V$ satisfying \showeqref{Eigen, Potential} \placeformula \startformula = \startalign[n=3D3] \NC {-1\over 2} \Delta \phi_{m} + V\phi_{m} \NC =3D \lambda_{m}\phi_{m} = \NC \quad\mbox{in }\, \Omega \NR[eq:Eigen] \NC - \Delta V \NC =3D \sum_{m=3D1}^{\infty}\rho_{m}|\phi_{m}|^2 = \NC \quad\mbox{in }\, \Omega \NR[eq:Potential] \stopalign \stopformula Our main result is the following: \startproclaim[lem:MainThm]{Theorem} \showlemref{MainThm} The Schr=F6dinger-Poisson system of equations \eqref{Eigen}--\eqref{Potenti= al} has a solution obtained as the minimum of the functional $J$. \stopproclaim \input knuth.tex \blank The proof of theorem \lemref{MainThm} will be given later\dots \stoptext %%% en show-references.tex ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________