From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63821 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Problems with getmarking Date: Mon, 22 Nov 2010 15:47:49 +0100 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 1290437293 26122 80.91.229.12 (22 Nov 2010 14:48:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2010 14:48:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 22 15:48: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 1PKXge-0006kJ-Nf for gctc-ntg-context-518@m.gmane.org; Mon, 22 Nov 2010 15:48:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B5706CA86D; Mon, 22 Nov 2010 15:48:07 +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 BcPOsau4l5Eb; Mon, 22 Nov 2010 15:48:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B5F2BCA868; Mon, 22 Nov 2010 15:48:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47946CA868 for ; Mon, 22 Nov 2010 15:48:03 +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 YgVcIecMaphV for ; Mon, 22 Nov 2010 15:47:52 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 22BA0CA863 for ; Mon, 22 Nov 2010 15:47:52 +0100 (CET) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAMEloXW012215 for ; Mon, 22 Nov 2010 15:47:51 +0100 Original-Received: by qyk10 with SMTP id 10so289869qyk.14 for ; Mon, 22 Nov 2010 06:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=rNNihcnGLGqF14zpZYJjElQ3RDsVK8PsstXqmXn5hKM=; b=hIPihsK2xoR/zjdcm8pHyKA6quIMYo8oS1KbOjGVsgXPeuPk3juFZhJuChylm96Yt6 JkTDi+AUja+1/ps4zlHEAESc7AVfpSGl6Nd9ZtNlIXnWgVjUOb/R8X43/YlCyek842NO p6RYLGSqUXqG2pMDPjnFQnyCBVx8bCbAsJbSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=O6MwXgaqb4gf9eS962XE7wX0Ae6xNR84WXx6VSN7B07Pimvd+VRP4oQsLN4krYX8AB UEK5q52GcX8Krk5y1laJ8xKN+1qSkZymgRf8AH0LtXu4nVh2VdTUxrwgqVsqBextYDCU WdYZ31TKx211F+cVnJAii8SBk/5/YJENRzaoM= Original-Received: by 10.229.228.146 with SMTP id je18mr5213892qcb.13.1290437270063; Mon, 22 Nov 2010 06:47:50 -0800 (PST) Original-Received: by 10.229.231.198 with HTTP; Mon, 22 Nov 2010 06:47:49 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; 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: 0eDyeLPFD - f20a0ffc56ba - 20101122 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:63821 Archived-At: With this code mkii and mkiv make differents pdf : mkiv doesn't show the header after the second \part. Perhaps \getmarking is obsolete ? \setuppagenumbering[way=bytext,partnumber=no,location={margin},alternative=doublesided] \setupcolors[state=start] \setupinteraction[state=start] \setupbodyfont[ss] \setuppapersize[A4][A4] \setuphead[part] [placehead=yes, page=right] \setuphead[chapter] [placehead=yes,page=yes,before=,after=,] \setuphead[section] [placehead=yes,page=yes,before=,after=,] \setuphead[subsection] [placehead=yes,before=,after=,] \def\ChapterId#1{\setupheadertexts[text] [{}] [{\getmarking[chapter][first]---\getmarking[section][first]}] [{\getmarking[chapter][first]---\getmarking[section][first]}] [{}]} \starttext \part{Part} \chapter{Chapter} \ChapterId{} \section{Section} foo \chapter{Chapter} \ChapterId{} \section{Section} goo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \part{Part} \chapter{Chapter} \ChapterId{} \section{Section} foo \chapter{Chapter} \ChapterId{} \section{Section} goo \stoptext -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________