From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66684 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: header entries semi-wrong Date: Sun, 6 Mar 2011 11:56:15 +0100 Message-ID: <159DC991-683B-4900-8694-EBE92E001829@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299408990 26274 80.91.229.12 (6 Mar 2011 10:56:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 10:56:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 06 11:56:26 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 1PwBdS-0008JE-5L for gctc-ntg-context-518@m.gmane.org; Sun, 06 Mar 2011 11:56:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 35D09CAAA3; Sun, 6 Mar 2011 11:56:25 +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 rfitz6bGrO08; Sun, 6 Mar 2011 11:56:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F256CAA79; Sun, 6 Mar 2011 11:56:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A57E8CAA79 for ; Sun, 6 Mar 2011 11:56: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 etLlbRIswcOr for ; Sun, 6 Mar 2011 11:56:19 +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 96DDDCAA16 for ; Sun, 6 Mar 2011 11:56:19 +0100 (CET) Original-Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.28]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p26AuHMd010677 for ; Sun, 6 Mar 2011 11:56:19 +0100 Original-Received: from [89.247.95.203] (helo=[192.168.1.4]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1PwBdJ-0003aG-2f for ntg-context@ntg.nl; Sun, 06 Mar 2011 11:56:17 +0100 X-Mailer: Apple Mail (2.1082) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.29.28; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08EfKUh3c - 7e28753084ea - 20110306 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:66684 Archived-At: Hi, please run the minimal example attached: --on page 1 there is section "1.1 one" and you get the header entry "1.1 one" - on page 3 there is still section "1.1 one" and you get the header entry "1.2 one" (<- ?!) - on page 5 there is section "1.2 two" and you get the header entry "1.2 two" you see the problem? the "getmarking" behaves correctly (one/one/two) while the "headnumber" is confused (1.1/1.2/1.2))! Is this a bug or am I doing something wrong? Steffen ------- % ConTeXt ver: 2011.02.25 22:03 MKIV \showframe \setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt] \definepapersize[Pape][width=14.7cm,height=22.3cm] \setuppapersize[Pape][Pape] \setuplayout [width=113mm,height=572pt\relax, backspace=17mm,topspace=17mm, header=12pt,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off] \setupwhitespace[halfline] \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] \def\HeadL{Part {\convertnumber{Numbers}{\namedheadnumber{chapter}}}\enskip\getmarking[EbeneEins]} \def\HeadR{\headnumber[section]\enskip\getmarking[section]} \setupheadertexts [\vtop{\startalignment[center]\HeadR\stopalignment}] [pagenumber] [pagenumber] [\vtop{\startalignment[center]\HeadL\stopalignment}] \starttext \chapter{X} \section{One} \page x \page \dorecurse{5}{\input ward \par} \dorecurse{2}{\input tufte \par} \section{Two} \dorecurse{11}{\input ward \par} \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________