From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85295 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Chapter numbering - applying several commands at once Date: Sun, 17 Nov 2013 23:39:20 +0100 Message-ID: <47180.9767223478$1384727970@news.gmane.org> References: <528912c0.45230f0a.7369.7b98SMTPIN_ADDED_BROKEN@mx.google.com> <7233BCF2-A242-47F4-AB81-A0136DB1362D@gmail.com> 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 1384727959 12307 80.91.229.3 (17 Nov 2013 22:39:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2013 22:39:19 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 17 23:39:25 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 1ViB01-0006pP-Kc for gctc-ntg-context-518@m.gmane.org; Sun, 17 Nov 2013 23:39:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D36CA10209; Sun, 17 Nov 2013 23:39:24 +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 EWZ63HijTYSw; Sun, 17 Nov 2013 23:39:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 10DC0101EB; Sun, 17 Nov 2013 23:39:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E136101EB for ; Sun, 17 Nov 2013 23:39:21 +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 TOv8xGDLgoWA for ; Sun, 17 Nov 2013 23:39:20 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 53059101E7 for ; Sun, 17 Nov 2013 23:39:20 +0100 (CET) Original-Received: from fep16.mx.upcmail.net (fep16.mx.upcmail.net [62.179.121.36]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAHMdJdg006359 for ; Sun, 17 Nov 2013 23:39:19 +0100 Original-Received: from edge04.upcmail.net ([192.168.13.239]) by viefep16-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131117223919.GYP2336.viefep16-int.chello.at@edge04.upcmail.net> for ; Sun, 17 Nov 2013 23:39:19 +0100 Original-Received: from emk ([78.102.140.101]) by edge04.upcmail.net with edge id qmfJ1m00K2BTW0m03mfJ8T; Sun, 17 Nov 2013 23:39:19 +0100 X-SourceIP: 78.102.140.101 In-Reply-To: <7233BCF2-A242-47F4-AB81-A0136DB1362D@gmail.com> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7jzglaNesc75bWQqOarIm3f7oa7AAFgGNg Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.36; 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: 0QKOKDj8n - cbb2c3884803 - 20131117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:85295 Archived-At: On 2013-11-17 Wolfgang Schuster wrote: > Am 17.11.2013 um 20:02 schrieb Jan Tosovsky: > > > in my book I'd like to precede my titles with the number formated as > > 'CHAPTER I.', e.g. roman numeral and all this small caped and also in > > bold as the title itself. > > > Instead of small capitals for the chapter number you can use capitals > in combination with a smaller font size. > > \setuplabeltext[en][chapter=Chapter~] > > \setuphead > [chapter] > [alternative=middle, > style=\bfc, > numberstyle={\setcharactercasing[WORD]\kerncharacters[0.125]\bfa}, > numbercommand=\groupedcommand{}{\blank[4mm]}, > sectionstopper={.}, > inbetween={\blank[4mm]}, > conversion=Romannumerals] I must admit this looks much better! Thanks. The same approach can be used also for small caps, but the result is not so appealing. Especially I don't like the size of the 'stopper' (dot). Btw, that case conversion can be eliminated using \setuplabeltext[en][chapter=CHAPTER~] 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 ___________________________________________________________________________________