From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72222 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: No numbers with `\ref` and floats like `\placetable` Date: Mon, 7 Nov 2011 12:03:36 +0100 Message-ID: <09D0E8D2-6ACF-4870-9EBC-4175A55A8108@googlemail.com> References: <1319924851.3756.42.camel@mattotaupa> <4C8F2DFD-1F8E-47F7-A9A8-44F4E04C7EC3@uni-koblenz.de> <8CD3A115-86D9-49CF-9C1B-B23875A8ADBB@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320663839 1963 80.91.229.12 (7 Nov 2011 11:03:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2011 11:03:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 07 12:03:55 2011 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.69) (envelope-from ) id 1RNMzb-0000qQ-CU for gctc-ntg-context-518@m.gmane.org; Mon, 07 Nov 2011 12:03:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95F8FCB0C0; Mon, 7 Nov 2011 12:03:54 +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 Uz6WvJ0T9Kl1; Mon, 7 Nov 2011 12:03:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79C5DCB0BD; Mon, 7 Nov 2011 12:03:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14D8FCB0BD for ; Mon, 7 Nov 2011 12:03:50 +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 FBiTjSbXpTGu for ; Mon, 7 Nov 2011 12:03:38 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id C82C9CB083 for ; Mon, 7 Nov 2011 12:03:38 +0100 (CET) Original-Received: from mail-ey0-f169.google.com (mail-ey0-f169.google.com [209.85.215.169]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pA7B3bM3001336 for ; Mon, 7 Nov 2011 12:03:38 +0100 Original-Received: by eye4 with SMTP id 4so4377692eye.14 for ; Mon, 07 Nov 2011 03:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=4MjYHukX+47bfRxW4Nh08ZncxFlSxmCaPvqWCzCt9lw=; b=YaNWrYDL72XxTNh9czDHIUuRLUmgl2VnupfSbmJ55qstSdBLOUBQQisAhXc5KXttaT OGigTznUjWtlZsQyzpvGCey1QCN94gXYN3GgeIbQZdCqq1V6/qc4NYTB/BKIVYfBCy5V j0JupcU3j5acY4k9rlo1n3enB3pwMDqp+wy10= Original-Received: by 10.213.36.15 with SMTP id r15mr2281844ebd.17.1320663817554; Mon, 07 Nov 2011 03:03:37 -0800 (PST) Original-Received: from [192.168.2.35] (p5482C25F.dip.t-dialin.net. [84.130.194.95]) by mx.google.com with ESMTPS id q28sm49334458eea.6.2011.11.07.03.03.35 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Nov 2011 03:03:36 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.169; 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: 03FSb3Bfa - 04786a1bbef3 - 20111107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:72222 Archived-At: Am 07.11.2011 um 11:53 schrieb Andreas Harder: > = > On 30.10.2011, at 09:45, Wolfgang Schuster wrote: > = >> = >> Am 29.10.2011 um 23:57 schrieb Andreas Harder: >> = >>> = >>> On 29.10.2011, at 23:47, Paul Menzel wrote: >>> = >>>> Dear ConTeXt folks, >>>> = >>>> = >>>> I am sorry for another reference related question. Using >>>> = >>>> ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english= /english >>> = >>> That's also true for yesterdays beta. >> = >> I=92m aware of this but I hadn=92t time so far to write a fix for this. > = > Hi Wolfgang, > = > still no fix? > = > \starttext > \placeformula[eq:1] > \startformula a+b \stopformula > \in{Equation:}[eq:1] > \stoptext When you don=92t need subformulas change this in strc-mat.mkiv: %\def\storecurrentformulanumber#1#2#3#4#5% ref, todo:str, \sync % todo: tit= le etc (like float) % {\dostructurecountercomponent % {formula}% % \getformulaparameters \formulaparameter \detokenizedformulaparameter % \relax \relax \relax % [\c!name=3D\v!formula,\s!counter=3D\v!formula,% % \s!hascaption=3D\v!yes,\s!hastitle=3D\v!yes,\s!hasnumber=3D\v!yes,%\= s!haslevel=3D#6,% % \s!hasnumber=3D\v!no,% % \c!reference=3D#1,\c!title=3D\namedformulaentry,\c!bookmark=3D]% % [#2]% % \glet\namedformulaentry\relax % \globallet#3\laststructurecounternumber % \globallet#4\laststructurecountersynchronize % \globallet#5\laststructurecounterattribute} \def\storecurrentformulanumber#1#2#3#4#5% ref, todo:str, \sync % todo: titl= e etc (like float) {\dostructurecountercomponent {formula}% \getformulaparameters \formulaparameter \detokenizedformulaparameter \relax \relax \relax [\c!name=3D\v!formula,\s!counter=3D\v!formula,% \s!hascaption=3D\v!yes,\s!hastitle=3D\v!yes,\s!hasnumber=3D\v!yes,%\s= !haslevel=3D#6,% \c!reference=3D#1,\c!title=3D\namedformulaentry,\c!bookmark=3D]% [#2]% \glet\namedformulaentry\relax \globallet#3\laststructurecounternumber \globallet#4\laststructurecountersynchronize \globallet#5\laststructurecounterattribute} %\def\dohandleformulanumbering % {\doincrementsubstructurecounter[\v!formula][1]% % \doiftext\currentplaceformulasuffix{\setsubstructurecounterown[\v!formu= la][2]{\currentplaceformulasuffix}}% % \placecurrentformulanumber} \def\dohandleformulanumbering {\doiftext\currentplaceformulasuffix{\setsubstructurecounterown[\v!formul= a][2]{\currentplaceformulasuffix}}% \placecurrentformulanumber} 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________