From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84053 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Numbering sections Date: Mon, 2 Sep 2013 14:54:37 +0200 Message-ID: References: <5224886F.6000009@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/mixed; boundary="===============0603507051==" X-Trace: ger.gmane.org 1378126482 21730 80.91.229.3 (2 Sep 2013 12:54:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2013 12:54:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 02 14:54:46 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VGTeY-0003Q4-Km for gctc-ntg-context-518@m.gmane.org; Mon, 02 Sep 2013 14:54:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B03F41020C; Mon, 2 Sep 2013 14:53:18 +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 fUECiSbKd4xO; Mon, 2 Sep 2013 14:53:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 41A4E10202; Mon, 2 Sep 2013 14:53:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91AD910202 for ; Mon, 2 Sep 2013 14:53:15 +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 BYTZ9hxJIpPq for ; Mon, 2 Sep 2013 14:53:10 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id D89CE101E4 for ; Mon, 2 Sep 2013 14:53:10 +0200 (CEST) Original-Received: from mail-ea0-x22f.google.com (mail-ea0-x22f.google.com [IPv6:2a00:1450:4013:c01::22f]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r82Csb9g015351 for ; Mon, 2 Sep 2013 14:54:37 +0200 Original-Received: by mail-ea0-f175.google.com with SMTP id m14so2309703eaj.6 for ; Mon, 02 Sep 2013 05:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=JGqNItT+BDJJjJ7U78JGvkzYrm6H0zI02rRnI7gaaN4=; b=XR7E3gfy1yOjH6/oOd6Jf4S+rWfMj/2pA3q944PmoECNPiKt/UCcxTzzr3vMrJsIKn I1Z9l3i26pdmg1zPbaauh1uk9OXaamzixO4G4yISQFBkJlT/cIoY64NL/+NCmv9lXLcG OqnnfkrZfLQ4Y46AUCwysGuRNAF5ZJdYLOrYbwby6q7yV46mozPBeMox9xtHl1LH4+8a WyZK49+y2grFCwQlXgHpBIgAB3wtTmQ516g3jtCIlhTiMyj+mbYSQAD2s7Zu4S0nqyCu WVjhX1we1Wcr+dLedtVxy+kLJkR207UYzaNi+X4lIfzXVGTjvNZ+j+YXdcg9QhJfIebr QGKA== X-Received: by 10.14.223.1 with SMTP id u1mr37467572eep.10.1378126477110; Mon, 02 Sep 2013 05:54:37 -0700 (PDT) Original-Received: from keima.localdomain (x2f23dda.dyn.telefonica.de. [2.242.61.218]) by mx.google.com with ESMTPSA id i1sm21993888eeg.0.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Sep 2013 05:54:36 -0700 (PDT) In-Reply-To: <5224886F.6000009@mmnetz.de> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07KkcSBKf - 823de70c6a6d - 20130902 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84053 Archived-At: --===============0603507051== Content-Type: multipart/alternative; boundary="Apple-Mail=_F992CCA4-2D9E-4257-A792-9881B55C661E" --Apple-Mail=_F992CCA4-2D9E-4257-A792-9881B55C661E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Am 02.09.2013 um 14:45 schrieb "H. =D6zoguz" : > I have activated numbering sections by = \setuphead[section][number=3Dyes], and now the numbers are in the toc, = too, as they should. How to show the numbers in the header, too?=20 >=20 > The header is: \setupheadertexts = [][{\grau{\tfx\getmarking[section]}}][{\definedfont[name:myriadprosemibold= at 10pt]\grau\getmarking[chapter]}][] >=20 > But the numbers of the sections are not shown in the header, only the = titles. You can the section number with \getmarking[sectionnumber], the chapter = number with \getmarking[chapternumber] etc. Wolfgang= --Apple-Mail=_F992CCA4-2D9E-4257-A792-9881B55C661E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 h.oezoguz@mmnetz.de>:
=20 =20
I have activated numbering sections by = \setuphead[section][number=3Dyes], and now the numbers are in the toc, too, as they should. How to show the numbers in the header, too?

The header is: \setupheadertexts = [][{\grau{\tfx\getmarking[section]}}][{\definedfont[name:myriadprosemibold= at 10pt]\grau\getmarking[chapter]}][]

But the numbers of the sections are not shown in the header, only the titles.

You can the section = number with \getmarking[sectionnumber], the chapter number with = \getmarking[chapternumber] = etc.

Wolfgang
= --Apple-Mail=_F992CCA4-2D9E-4257-A792-9881B55C661E-- --===============0603507051== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0603507051==--