From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85404 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Index entries - custom font size Date: Sat, 23 Nov 2013 15:36:56 +0100 Message-ID: <7184.88439820266$1385217426@news.gmane.org> References: <003401cee302$356cb700$a0462500$@tosovsky@email.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385217415 10967 80.91.229.3 (23 Nov 2013 14:36:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Nov 2013 14:36:55 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 23 15:37:00 2013 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 1VkEKS-0006HE-57 for gctc-ntg-context-518@m.gmane.org; Sat, 23 Nov 2013 15:37:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A34310236; Sat, 23 Nov 2013 15:36:59 +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 KzqcLO59JVPL; Sat, 23 Nov 2013 15:36:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7733B101EB; Sat, 23 Nov 2013 15:36:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE008101EB for ; Sat, 23 Nov 2013 15:36: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 7KlK0TrldwOb for ; Sat, 23 Nov 2013 15:36:56 +0100 (CET) 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 38AE2101E7 for ; Sat, 23 Nov 2013 15:36:56 +0100 (CET) Original-Received: from fep22.mx.upcmail.net (fep22.mx.upcmail.net [62.179.121.42]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rANEas2s023568 for ; Sat, 23 Nov 2013 15:36:55 +0100 Original-Received: from edge01.upcmail.net ([192.168.13.236]) by viefep22-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131123143654.DNKC1568.viefep22-int.chello.at@edge01.upcmail.net> for ; Sat, 23 Nov 2013 15:36:54 +0100 Original-Received: from emk ([78.102.141.153]) by edge01.upcmail.net with edge id t2cu1m0063Jmlmu012cu1x; Sat, 23 Nov 2013 15:36:54 +0100 X-SourceIP: 78.102.141.153 In-Reply-To: <003401cee302$356cb700$a0462500$@tosovsky@email.cz> X-Mailer: Microsoft Office Outlook 12.0 Content-Language: cs Thread-Index: Ac7jAiw9Hr2JPpHlS4m0I/d+Fz23zQFUyyIQ X-Bayes-Prob: 0.9982 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.42; 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: 08KR2ASNe - 886ebbe01722 - 20131123 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85404 Archived-At: On 2013-11-16 Jan Tosovsky wrote: > there are lot of index entries in my document and with the standard > body font size they occupy too much space. I've tried to decrease > the size by the textstyle parameter. It works, but it is applied > recursively to every nested level: secondary items are smaller twice > and tertiary items three times... > > \setupregister[index][command=\Word, textstyle=small] > \starttext > \index{primary}\index{primary+secondary}\index{primary+secondary+tertia > ry}Text > \completeindex > \stoptext > The following code switches the font size for all the index content. Even for group titles (letters), but it is beneficial here. The index title is split to keep the original size. \startbackmatter \chapter{Index} \start \switchtobodyfont[8pt] \placeindex \stop \stopbackmatter Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________