From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20194 Path: news.gmane.org!not-for-mail From: Ville Voipio Newsgroups: gmane.comp.tex.context Subject: RE: Capitalized headings Date: Tue, 3 May 2005 19:56:19 +0300 Message-ID: <98D0564335EC4848A87BEDEFF4EA056B55C1@posti.kpatents.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1115139160 15388 80.91.229.2 (3 May 2005 16:52:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 May 2005 16:52:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 03 18:52:38 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DT0ca-0006B3-HV for gctc-ntg-context-518@m.gmane.org; Tue, 03 May 2005 18:51:44 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7145F127D1; Tue, 3 May 2005 18:58:07 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21862-02; Tue, 3 May 2005 18:58:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 48901127FC; Tue, 3 May 2005 18:54:29 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6083127FC for ; Tue, 3 May 2005 18:54:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21417-07-2 for ; Tue, 3 May 2005 18:54:27 +0200 (CEST) Original-Received: from mail.kpatents.com (mail.kpatents.com [195.170.128.67]) by ronja.ntg.nl (Postfix) with SMTP id 0A377127D1 for ; Tue, 3 May 2005 18:54:27 +0200 (CEST) Original-Received: (qmail 25467 invoked from network); 3 May 2005 16:54:26 -0000 Original-Received: from unknown (HELO posti.kpatents.com) (192.168.100.180) by mail.kpatents.com with SMTP; 3 May 2005 16:54:26 -0000 Original-Received: by posti.kpatents.com with Internet Mail Service (5.5.2653.19) id ; Tue, 3 May 2005 19:56:19 +0300 Original-To: "'ntg-context@ntg.nl'" X-Mailer: Internet Mail Service (5.5.2653.19) X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20194 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20194 > However, this is a workaround, another way of attacking it (it can be > better, too, stylistically, as you can change the font independently): > \setuphead [title] [textcommand=\uppercase] And that works, thanks! --- The bad news is that now I have a lot more questions concerning the heading formatting. There are several parameters which can be used: style textstyle textcommand numberstyle numbercommand This is how I understand those (please, correct me when I am wrong). Let us assume we have a chapter heading saying "Chapter 1. Title" in the following examples: style=\bf -> {\bf Chapter 1.}{\bf Title} textstyle=\bf -> {Chapter 1.}{\bf Title} numberstyle=\bf -> {\bf Chapter 1.}{\bf Title} If I got it right this far, then I think I get these. The relevant parts of the heading are prepended with the given commands (whatever they then may be). But this mechanism does work only with the commands which change the style from that point onwards (e.g., \it, \tfx). What about the commands which take the text as a parameter (such as \cap{text})? And what are textcommand and numbercommand? I tried playing a bit with them. For example, \it or \bf can be put either as textstyle=\it or textcommand=\it. On the other hand, the \uppercase can be used only with textstyle. So, there is a difference as the name suggests (my initial guess was that the difference is exactly what I ask above, but doesn't seem to be so). Where on Earth is \uppercase explained? I tried looking for it in the manual -- in vain. I found some references to \uppercased which seems to be another beast. Thank you for your patience. If the stuff is not explained in other places, I can Wiki it once I understand it. - Ville