From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35510 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: \setupheader: leftstyle & rightstyle Date: Sun, 22 Jul 2007 13:56:12 +0200 Message-ID: <6faad9f00707220456v4b307776t4e814a0bf088f403@mail.gmail.com> References: <46A29C6A.2060101@gushee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1185105395 24867 80.91.229.12 (22 Jul 2007 11:56:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 11:56:35 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 22 13:56:32 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1ICa33-0000o5-8x for gctc-ntg-context-518@m.gmane.org; Sun, 22 Jul 2007 13:56:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86B9D2011F; Sun, 22 Jul 2007 13:56:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12236-02; Sun, 22 Jul 2007 13:56:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1290E20119; Sun, 22 Jul 2007 13:56:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 356F620119 for ; Sun, 22 Jul 2007 13:56:17 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12583-01 for ; Sun, 22 Jul 2007 13:56:14 +0200 (CEST) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by ronja.ntg.nl (Postfix) with ESMTP id EE39420117 for ; Sun, 22 Jul 2007 13:56:13 +0200 (CEST) Original-Received: by py-out-1112.google.com with SMTP id d32so2749172pye for ; Sun, 22 Jul 2007 04:56:12 -0700 (PDT) Original-Received: by 10.142.251.9 with SMTP id y9mr158816wfh.1185105372456; Sun, 22 Jul 2007 04:56:12 -0700 (PDT) Original-Received: by 10.143.7.3 with HTTP; Sun, 22 Jul 2007 04:56:12 -0700 (PDT) In-Reply-To: <46A29C6A.2060101@gushee.net> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:35510 Archived-At: On 7/22/07, Matt Gushee wrote: > Hi, all-- > > I would like to use different styles for left and right headers in a > book: I would like to set the left side (which shows the book title) in > small caps, and the right side (chapter title) in italics. > > \setupheader[style=\sc] > > works fine. So does > > \setupheader[style=\it] > > But > > \setupheader[leftstyle=\sc,rightstyle=\it] > > Doesn't work. Both headers appear in the (medium-weight roman) body > font. Any idea why this is the case? I usually use something like \setuppagenumbering [alternative=doublesided,location=bottom] \setupheadertexts [\sc Book Title][] [][{\it (\getmarking[chapter][current])}] However, there seems to be a little bug. This works perfectly well for section (\getmarking[section]), but for chapter the chapter labels seem to be erased after the first appearance. leftstyle= might also require implementation of - style of the left label on left page - style of the middle label on the left page - style of the right labale on the left page - all the three styles again on the right page, the same 6 for footer Mojca ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________