From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/92615 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: Ordered list of references (figures) Date: Wed, 30 Sep 2015 13:51:51 +0600 Message-ID: <4663FB71-1403-4386-B923-3B81947A8B18@fiee.net> References: <03CFD1FF-503B-4268-B920-38647895B297@fiee.net> <7D4D5153-51B1-42F3-A8A0-36CC6CBD8916@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_E84ECC61-B353-425F-8DFA-95DEA8A5B771" X-Trace: ger.gmane.org 1443599582 7745 80.91.229.3 (30 Sep 2015 07:53:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2015 07:53:02 +0000 (UTC) To: Taco Hoekwater , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 30 09:52:48 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZhCBw-0001R7-Rl for gctc-ntg-context-518@m.gmane.org; Wed, 30 Sep 2015 09:52:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08E56101F6 for ; Wed, 30 Sep 2015 09:52:44 +0200 (CEST) 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 D3JbBAjNl0IG for ; Wed, 30 Sep 2015 09:52:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C03021022E for ; Wed, 30 Sep 2015 09:52:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A726C101F6 for ; Wed, 30 Sep 2015 09:51:59 +0200 (CEST) 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 TGaIljhQE61c for ; Wed, 30 Sep 2015 09:51:58 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id EEE24101E8 for ; Wed, 30 Sep 2015 09:51:57 +0200 (CEST) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter3-utr.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t8U7pu2l006578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 30 Sep 2015 09:51:56 +0200 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=mc+D7V3bS6RSwQZxfsF2NbN9iXRdtKFfjo/Q0qACRzQdvgjk9JsXQ669wwOqrC0T3KtCxcvuNn51FuMmlONq3I/rOT5dN24/X8gVzBCyLHiiMU+F1ne+tHz+PNehWqUm; h=Received:Received:From:Content-Type:Message-Id:Mime-Version:Subject:Date:References:To:In-Reply-To:X-Mailer; Original-Received: (qmail 15806 invoked from network); 30 Sep 2015 09:51:55 +0200 Original-Received: from 176-123-225-135.maxlink.kg (HELO ?192.168.0.103?) (176.123.225.135) by thesan.fiee.net with ESMTPSA (AES128-SHA encrypted, authenticated); 30 Sep 2015 09:51:55 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=178.77.74.245; country=DE; region=North Rhine-Westphalia; city=Host; latitude=51.65; longitude=6.1833; http://maps.google.com/maps?q=51.65,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08PnjPUmo - f71599f9dd4b - 20150930 (trained as not-spam) Received-SPF: pass (filter3-utr.mf.surf.net: domain of texml@fiee.net designates 178.77.74.245 as permitted sender) receiver=filter3-utr.mf.surf.net; client-ip=178.77.74.245; envelope-from=; helo=thesan.fiee.net; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:92615 Archived-At: --Apple-Mail=_E84ECC61-B353-425F-8DFA-95DEA8A5B771 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Taco, sorry, I should have provided a minimal example. Thanks in advance! Am 2015-09-29 um 12:30 schrieb Taco Hoekwater : > Hi Hraban, >=20 > I would be happy to help with this (i've done some registers in the = past myself), but I will need a test file to play with... >=20 > Best wishes, > Taco >=20 >> On 28 Sep 2015, at 06:28, Henning Hraban Ramm wrote: >>=20 >> PING! I would really appreciate an answer. >>=20 >>> Am 2015-09-22 um 17:39 schrieb Henning Hraban Ramm : >>>=20 >>>> Am 2015-09-22 um 10:49 schrieb Henning Hraban Ramm = : >>>>=20 >>>> Hi wizards, >>>>=20 >>>> in my current book projects I need a list of figure references, = ordered by author and page number. >>>> Like this: >>>>=20 >>>> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12=9620), = Hraban Ramm (p.3ff.) >>>>=20 >>>> How can I do that? I.e. >>>> - How can I assign an author name/reference to a figure? >>>> =96 How can I output that list? >>>>=20 >>>> About like this?: >>>>=20 >>>> = \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hr= aban Ramm} >>>>=20 >>>> \ref[t][someref] (\at{p.}[someref]) % put this in some command that = is called by \listoffigures ? >>>>=20 >>>>=20 >>>> Extension: I need to integrate some unnumbered pages into the list, = like the cover. >>>=20 >>> Ok, I can use registers for that: >>>=20 >>> \defineregister[fidx] >>> \setupregister[fidx][% >>> n=3D1, >>> compress=3Dyes, >>> indicator=3Dno, >>> distance=3D0.5em, >>> before=3D{}, >>> after=3D{,}, >>> prefix=3Dnone, >>> ] >>> \setupheadtext[fidx=3DFigures] >>>=20 >>> I can influence the order like \fidx[spinoza]{Baruch Spinoza}, = great. >>>=20 >>> That gets me as far as: >>>=20 >>> Hraban 2=963, 5, 7, 9=9610, 12, 14, 16=9617, 19, 21, 23=9624, 26, = 28, 30=9631, 33, 35 >>> Picasso 1=962, 4=965, 8=969, 11=9612, 15=9616, 18=9619, 22=9623, = 25=9626, 29=9630, 32=9633 >>>=20 >>> But I=92d like to have >>>=20 >>> Hraban (p.2=963, 5, 7, 9=9610, 12, 14, 16=9617, 19, 21, 23=9624, 26, = 28, 30=9631, 33, 35), Picasso (p.1=962, 4=965, 8=969, 11=9612, 15=9616, = 18=9619, 22=9623, 25=9626, 29=9630, 32=9633) >>>=20 >>>=20 >>> For inserting a page name like "Cover" I tried >>> \writetoregister[fidx][Picasso]{Cover} >>>=20 >>> But \writetoregister is undefined!? (As well as \writetofidx) >>>=20 >>> What else can I use? >>>=20 >>>=20 >>> Greetlings, Hraban >>> --- >>> http://www.fiee.net >>> http://wiki.contextgarden.net >>> https://www.cacert.org (I'm an assurer) Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) --Apple-Mail=_E84ECC61-B353-425F-8DFA-95DEA8A5B771 Content-Disposition: attachment; filename=indextest.tex Content-Type: application/octet-stream; name="indextest.tex" Content-Transfer-Encoding: 7bit \setuphead[chapter][page=no] \setupheadertexts[text][chapter][pagenumber] \setupheader[text][state=start] %\setupregister[index][% % n=2, balance=no, align=yes, alternative=A, indicator=yes, pagestyle=normal, location=right, style=type %] \defineregister[fidx] \setupregister[fidx][% n=1, align=no, %alternative=B, compress=yes, indicator=no, distance=0.5em, before={}, after={,}, prefix=none, ] \setupheadtext[fidx=Figures] \setupnote[footnote][% way=bypage,% DOES NOTHING numberconversion=set 2] \definehead[Kapitel][chapter] \definehead[Abschnitt][section] \starttext %\writetoregister[fidx][Picasso]{Cover} \dorecurse{20}{% \expanded{\Kapitel{My chapter \recurselevel}}\fidx{Picasso} \expanded{% \placefigure[top][abb]{Caption \recurselevel}{{\externalfigure[koe][width=\textwidth]}} \fidx{Fig.\recurselevel} } \expanded{\index{Index entry \recurselevel}} \expanded{\section{My Zapf \recurselevel}} \input zapf\expanded{\footnote{Zapf \recurselevel}} \placefigure[left][abb]{Caption 0.\recurselevel}{{\externalfigure[koe][width=0.33\textwidth]}} \fidx[spinoza]{Baruch Spinoza} \expanded{\section{My Tufte \recurselevel}} \input tufte\expanded{\footnote{Tufte \recurselevel}} } \completeindex % OK \completecontent[criterium=all] % OK \completefidx \stoptext --Apple-Mail=_E84ECC61-B353-425F-8DFA-95DEA8A5B771 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --Apple-Mail=_E84ECC61-B353-425F-8DFA-95DEA8A5B771--