From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63370 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Subject marking in MkIV Date: Wed, 10 Nov 2010 00:50:51 -0500 (EST) 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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289368273 6234 80.91.229.12 (10 Nov 2010 05:51:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 10 Nov 2010 05:51:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 10 06:51:09 2010 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 1PG3aN-00011M-Rx for gctc-ntg-context-518@m.gmane.org; Wed, 10 Nov 2010 06:51:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1943FCA80D; Wed, 10 Nov 2010 06:51:06 +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 lV-QxMNphamo; Wed, 10 Nov 2010 06:51:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A80B8CA814; Wed, 10 Nov 2010 06:51:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B5785CA814 for ; Wed, 10 Nov 2010 06:51:00 +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 NRjeFaMuDn46 for ; Wed, 10 Nov 2010 06:50:56 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id C4A52CA80D for ; Wed, 10 Nov 2010 06:50:56 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAA5os9l013403 for ; Wed, 10 Nov 2010 06:50:55 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096680238.dsl.bell.ca [65.94.3.46]) By tombraider.mr.itd.umich.edu ID 4CDA32BC.DF81A.11510 ; Authuser adityam; 10 Nov 2010 00:50:53 EST User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04DthOSUH - 43f71b16f11b - 20101110 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:63370 Archived-At: Hi I was trying to answer a question on tex.stackexchange (http://tex.stackexchange.com/questions/5166/) when I noticed that marking does not work the same way in MkIV as it did in MkII. Consider the following minimal example: \startsetups footer \getmarking[subject][first]\space - \getmarking[subject][last]\space - \pagenumber \stopsetups \setupfootertexts[][\setups{footer}] \starttext \subject{One} \input knuth \subject{Two} \input knuth \subject{Three}\input knuth \subject{Four} \input knuth \stoptext In MkII I get "One - Three - 1" in the footer of the first page. In MkIV, the subject markings are missing. I think that the reason is that for non numbered heads, section key is not set in \definestructurehead, so no marking gets defined for them. What is the easiest way to enable subject marking in MkIV? I am using an old beta from 2010.10.14 but I do not think that anything this fundamental has changed in the last month. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________