From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64912 Path: news.gmane.org!not-for-mail From: Daniel Schopper Newsgroups: gmane.comp.tex.context Subject: Re: counter values as label names Date: Mon, 03 Jan 2011 19:09:18 +0100 Message-ID: <4D2210CE.5010709@aon.at> References: <4D21D905.8000800@aon.at> <334F07D3-29E5-4036-94C9-835541F1D12D@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294078183 675 80.91.229.12 (3 Jan 2011 18:09:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 18:09:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 03 19:09:38 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 1PZoqe-0006GJ-O3 for gctc-ntg-context-518@m.gmane.org; Mon, 03 Jan 2011 19:09:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2850CA9BB; Mon, 3 Jan 2011 19:09:35 +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 SlP0GDbsxNcq; Mon, 3 Jan 2011 19:09:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 469CBCA9B6; Mon, 3 Jan 2011 19:09:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBDDDCA9B6 for ; Mon, 3 Jan 2011 19:09:31 +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 AJeY3zSjrcqz for ; Mon, 3 Jan 2011 19:09:20 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 4967ACA9A9 for ; Mon, 3 Jan 2011 19:09:20 +0100 (CET) Original-Received: from email.aon.at (smtpout05.highway.telekom.at [195.3.96.77]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p03I9JgY020705 for ; Mon, 3 Jan 2011 19:09:19 +0100 Original-Received: (qmail 18567 invoked from network); 3 Jan 2011 18:09:18 -0000 Original-Received: from 188-23-67-165.adsl.highway.telekom.at (HELO Daniel-Schoppers-iMac.local) ([188.23.67.165]) (envelope-sender ) by smarthub97.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 3 Jan 2011 18:09:18 -0000 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <334F07D3-29E5-4036-94C9-835541F1D12D@uni-bonn.de> X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=195.3.96.77; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eDP69jJD - 483e8a66c935 - 20110103 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:64912 Archived-At: First of all thanks for the advice and sorry for my na=EFve posting! Here's a test file for what I try to do. The problem is that the page- = and linenumbers printed by \placefootnotes all take the values of the = last reference. \setupfootnotes[ location=3Dtext, numberconversion=3Dempty, paragraph=3D, ] \newcount\entrycounter \entrycounter=3D0 \def\appentry#1#2{% \startline[line:\the\entrycounter]% \pagereference[page:\the\entrycounter]% #1% \stopline[line:\the\entrycounter]% \footnote{{\bf \at[page:\the\entrycounter]} = \inline[line:\the\entrycounter] #1] #2}}% \advance\entrycounter by1% \starttext\startlinenumbering This is a sample \appentry{paragraph}{om. h1}.\\ An this is another \appentry{one}{sentence}. \stoplinenumbering \bigskip Endnotes \placefootnotes \stoptext > Finally: is the format of your apparatus (endnotes) a requirement? Yes, unfortunately it is. Thanks again, Daniel ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________