From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66640 Path: news.gmane.org!not-for-mail From: Milton Galo Patricio Inostroza Aguilera Newsgroups: gmane.comp.tex.context Subject: header text for each page of a chapter Date: Sat, 5 Mar 2011 14:08:36 -0300 Message-ID: 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: dough.gmane.org 1299344939 26463 80.91.229.12 (5 Mar 2011 17:08:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 17:08:59 +0000 (UTC) To: Lista de correo context Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 05 18:08:55 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PvuyL-0003El-MH for gctc-ntg-context-518@m.gmane.org; Sat, 05 Mar 2011 18:08:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4C17CAAA0; Sat, 5 Mar 2011 18:08:52 +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 Tv-AMsog36uq; Sat, 5 Mar 2011 18:08:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 42B05CAA78; Sat, 5 Mar 2011 18:08:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 94665CAA78 for ; Sat, 5 Mar 2011 18:08:49 +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 bbqiGTWm3yJ9 for ; Sat, 5 Mar 2011 18:08:38 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 8DFC3CAA16 for ; Sat, 5 Mar 2011 18:08:38 +0100 (CET) Original-Received: from mail-iw0-f169.google.com (mail-iw0-f169.google.com [209.85.214.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p25H8a8s001959 for ; Sat, 5 Mar 2011 18:08:37 +0100 Original-Received: by iwl42 with SMTP id 42so3750270iwl.14 for ; Sat, 05 Mar 2011 09:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=k9sJbogO2ZvFNmaEdBrKf7Ovl03ERmwYa6F0Bbk7Uuo=; b=XIje3UTs5+Hru+lszwdHmJIz6yF7Eh8n2ruEiAJ0sle4hdECu3+Ttk0Pyu/bFjVLM4 00W3QHPa9/2GrNfoPYZ3N1EqmlhfP5LYX1htnYyCzAif11C3M9cY8AVxcJxqgkwyIpg6 6NGcpFCbEkuJKr+r5kReU1C8i7k4+WaG69OYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cH34Z01Z9CGXE/elAQ+VljGotdU1fRWmrnkREdk/QNjcpBWj6M6Ux/hQgshpDpxOGm KYLJmQh3ChcmJRymwrXpCCxIE8zYTzQi7gk0kyTbrLyZprsKkdUvbnTUGhvvI0Wu/UPN yBiZyJ8iiDkzM1Jboozjs9V/YnNbfOMBiSXug= Original-Received: by 10.42.173.129 with SMTP id r1mr2400256icz.188.1299344916520; Sat, 05 Mar 2011 09:08:36 -0800 (PST) Original-Received: by 10.231.171.70 with HTTP; Sat, 5 Mar 2011 09:08:36 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08Eft8BRe - bcfaf3827768 - 20110305 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:66640 Archived-At: Hi, I need that the name of a chapter appears in each page that belongs of it. For that, I use the following code: \definepagebreak [mychapterpagebreak] [yes,header] \setuphead [chapter] [page=mychapterpagebreak, placehead=no] \setupheadertexts[][chapter] \starttext \chapter{Tarjetas} \dorecurse{10}{\input tufte } \chapter{Linea de credito} \dorecurse{10}{\input tufte } \stoptext This approach works perfectly, but I can't customize the text that contains the name of the chapter. I would like to show the name of the chapter with this code: \startnarrower[3*right] \crlf {\tfd \rightaligned{ CHAPTER_NAME }} \stopnarrower Why I'm doing that?... because I have a lot of framed and I want when they are send to the next page the document shows the name of the chapter that they belong (or the name of the current chapter). am I right with my approach? Regards, -- Milton ___________________________________________________________________________________ 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 ___________________________________________________________________________________