From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75853 Path: news.gmane.org!not-for-mail From: Robert Blackstone Newsgroups: gmane.comp.tex.context Subject: Registers with distinguishable entries. Date: Thu, 26 Apr 2012 12:07:30 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/mixed; boundary="Apple-Mail=_75E2FA48-50DD-45FF-B3A5-70516E958B3F" X-Trace: dough.gmane.org 1335434867 3149 80.91.229.3 (26 Apr 2012 10:07:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 10:07:47 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 26 12:07:44 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SNLbx-0002bT-Il for gctc-ntg-context-518@m.gmane.org; Thu, 26 Apr 2012 12:07:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C04F101E7; Thu, 26 Apr 2012 12:07:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UbJrx+4VvOgk; Thu, 26 Apr 2012 12:07:37 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 873F9101E0; Thu, 26 Apr 2012 12:07:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 37D32101E0 for ; Thu, 26 Apr 2012 12:07:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DNTkn4QN5t-P for ; Thu, 26 Apr 2012 12:07:32 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 8770E101CF for ; Thu, 26 Apr 2012 12:07:32 +0200 (CEST) Original-Received: from cpsmtpb-ews07.kpnxchange.com (cpsmtpb-ews07.kpnxchange.com [213.75.39.10]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q3QA7VaF002705 for ; Thu, 26 Apr 2012 12:07:31 +0200 Original-Received: from cpsps-ews28.kpnxchange.com ([10.94.84.194]) by cpsmtpb-ews07.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 26 Apr 2012 12:07:31 +0200 X-Brand: +YTO/YbK+g== Original-Received: from CPSMTPM-CMT108.kpnxchange.com ([195.121.3.24]) by cpsps-ews28.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 26 Apr 2012 12:07:30 +0200 Original-Received: from [192.168.2.4] ([81.204.112.68]) by CPSMTPM-CMT108.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Thu, 26 Apr 2012 12:07:30 +0200 X-Mailer: Apple Mail (2.1257) X-OriginalArrivalTime: 26 Apr 2012 10:07:30.0667 (UTC) FILETIME=[6430E3B0:01CD2394] X-RcptDomain: ntg.nl X-Bayes-Prob: 0.0183 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.75.39.10; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aH2y7vtN - 290d7af867e6 - 20120426 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:75853 Archived-At: --Apple-Mail=_75E2FA48-50DD-45FF-B3A5-70516E958B3F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Dear list, For a book in the area of musicology I would like to make one register = with entries of different kinds, distinguishable by their appearance in = the register (or index or whatever). The index entries will mostly be authors, including composers, musical = terms and musical compositions. The titles of the compositions and the = foreign words are set in italic characters throughout in the text of the = book. What I would like is to be able to distinguish all entries according to = whether they are treated in the text, are shown in a musical example, or = are mentioned only in a foot- or endnote. In many books page numbers indicating illustrations are set in italics. = Pagenumbers indicating foot- or endnotes often have a suffix "n". Furthermore, when an indexed item is discussed on a number of = consecutive pages, usually a range is given in the index, like 144-53, = or 143 ff. Can all this be done in ConTeXt, and if so, can anybody give me advice = on how to do it? I have tried making three different Registers, for text, for = illustrations and for notes, but I cannot figure out how to combine them = into one index. But also, whatever I set in \setupregister, they all = look exactly the same: textstyle regular, pagestyle slanted. Moreover, = in \setupindex (or whatever other name for the register), [indicator=3Dno]= is ignored.=20 Are these bugs or am I doing things the wrong way? I add a (not so) minimal example. Thanks in advance for any help. Robert Blackstone --Apple-Mail=_75E2FA48-50DD-45FF-B3A5-70516E958B3F Content-Disposition: attachment; filename=Registers_multiple-test3.tex Content-Type: application/octet-stream; name="Registers_multiple-test3.tex" Content-Transfer-Encoding: 7bit \definefloat[Example][Examples] \setupcaptions[location=top] \setuplabeltext[en][Example=Ex. ] \defineregister[Note][Notes] \setupregister[Note][Notes][n=2,pagestyle=small,textstyle=normal] \defineregister[Text][Texts] \setupregister[Text][Texts][n=2,textstyle=normal,pagestyle=normal] \defineregister[Music][Musics] \setupregister[Music][Musics][n=2,textstyle=normal,pagestyle=slanted] \starttext Blabla, Praetorius\Text[Praetorius]{Praetorius, Michael} bla bla \dots as shown in (ex.2.63). \placeExample[force][CH2-63]{Praetorius p.132} {\externalfigure[CH2-63]} \Music[Praetorius]{Praetorius, Michael} \page Praetorius\Text[Praetorius]{Praetorius, Michael} bla bla \dots . Perhaps bla bla \dots bla bla {\em Polyhymnia Caducatrix}\Text[Praetorius]{Praetorius, Michael+{\em Polyhymnia Cadeatrix \& Panegyria}} bla bla \dots in {\em Syntagma Musicum}\Text[Praetorius]{Praetorius, Michael+{\em Syntagma Musicum}}. Johann Staden\Text[Staden]{Staden, Johann}, however, bla bla \dots \page Some text Cavalieri\Text[Cavalieri]{Cavalieri, Emilio de}, or Praetorius\Text[Praetorius]{Praetorius, Michael}], some more text.\footnote{Johann Staden\Note[Staden]{Staden, Johann}, {\em Kurzer und einf{\" a}ltiger Bericht} , translated in F. Arnold\Note[Arnold]{Arnold, Franck Th.}, loc. cit. p.105.} Another chunk of text.\footnote{In the original Staden\Note[Staden]{Staden, Johann} did something else.} \completeText \completeNote \completeMusic \stoptext --Apple-Mail=_75E2FA48-50DD-45FF-B3A5-70516E958B3F Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --Apple-Mail=_75E2FA48-50DD-45FF-B3A5-70516E958B3F--