From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61136 Path: news.gmane.org!not-for-mail From: Peter Schorsch Newsgroups: gmane.comp.tex.context Subject: current head title and current number Date: Sun, 22 Aug 2010 20:35:28 +0200 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 1282502147 14653 80.91.229.12 (22 Aug 2010 18:35:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 22 Aug 2010 18:35:47 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 22 20:35:46 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 1OnFOT-0004NH-LE for gctc-ntg-context-518@m.gmane.org; Sun, 22 Aug 2010 20:35:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 76FC0CA5C7; Sun, 22 Aug 2010 20:35:45 +0200 (CEST) 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 SDFvixfWbgZA; Sun, 22 Aug 2010 20:35:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 830EECA5A1; Sun, 22 Aug 2010 20:35:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DDA99CA5A1 for ; Sun, 22 Aug 2010 20:35:39 +0200 (CEST) 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 TbJfwu5auXeb for ; Sun, 22 Aug 2010 20:35:37 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 91E35CA56F for ; Sun, 22 Aug 2010 20:35:37 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7MIZa3d024768 for ; Sun, 22 Aug 2010 20:35:37 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OnFOK-0004I7-IH for ntg-context@ntg.nl; Sun, 22 Aug 2010 20:35:36 +0200 Original-Received: from p5490ac9d.dip.t-dialin.net ([84.144.172.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Aug 2010 20:35:36 +0200 Original-Received: from tralalas by p5490ac9d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Aug 2010 20:35:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.comp.tex.context Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5490ac9d.dip.t-dialin.net User-Agent: KNode/4.4.2 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bCVuzBPO - 613c67235298 - 20100822 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:61136 Archived-At: Hi, I need to get the current *section/chapter title and number. I figured out that \fullstructureheadnumber gives the current number. But I can not figure out what gives the current head title. In strc-sec.mkiv I found this comment: \def\currentheadtext {obsolete, use marks} Is this a hint to use getmarking? I tried \getmarking[current] \getmarking[currentsection] \getmarking[currenthead] without success. Does anyone know how to access the current title? ___________________________________________________________________________________ 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 ___________________________________________________________________________________