From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35524 Path: news.gmane.org!not-for-mail From: Matt Gushee Newsgroups: gmane.comp.tex.context Subject: Re: \setupheader: leftstyle & rightstyle Date: Sun, 22 Jul 2007 21:43:24 -0600 Message-ID: <46A423DC.8040207@havenrock.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 1185162228 2072 80.91.229.12 (23 Jul 2007 03:43:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2007 03:43:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 23 05:43:46 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 1ICopl-0005xd-Dw for gctc-ntg-context-518@m.gmane.org; Mon, 23 Jul 2007 05:43:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2C2DF20195; Mon, 23 Jul 2007 05:43:44 +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 06522-04; Mon, 23 Jul 2007 05:43:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9293020157; Mon, 23 Jul 2007 05:43:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC0D520157 for ; Mon, 23 Jul 2007 05:43:31 +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 06039-04 for ; Mon, 23 Jul 2007 05:43:26 +0200 (CEST) Original-Received: from mzpi3.forethought.net (mzpi3.forethought.net [216.241.36.12]) by ronja.ntg.nl (Postfix) with ESMTP id 17D112014B for ; Mon, 23 Jul 2007 05:43:25 +0200 (CEST) Original-Received: from [216.241.35.41] (helo=[10.0.0.2]) by mz1.forethought.net with esmtp (Exim 4.51) id 1ICopQ-0001SO-JD for ntg-context@ntg.nl; Sun, 22 Jul 2007 21:43:24 -0600 User-Agent: Thunderbird 2.0.0.4 (X11/20070616) In-Reply-To: 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:35524 Archived-At: Patrick Gundlach wrote: > 'rightstyle' in the source. And \setupheader is AFAIU for the section > title. AFAIU? Sorry, I'm not familiar with that acronym. > \setupheadertexts[{\sc This is my book!}][{\it \getmarking[section]}] Ah, yes, that does the trick! Thank you. Mojca Miklavec wrote: > \setupheadertexts > [\sc Book Title][] > [][{\it (\getmarking[chapter][current])}] Okay, that seems to work, too. But why use the [current] argument? Are there conditions where \getmarking[chapter] doesn't return the current chapter title? > 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. Hmm, that doesn't happen for me. I'm using the 2007-01-23 release of ConTeXt. Which version are you using? -- Matt Gushee ___________________________________________________________________________________ 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 ___________________________________________________________________________________