From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77386 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \definetext problem? Date: Tue, 17 Jul 2012 18:59:08 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342544365 14931 80.91.229.3 (17 Jul 2012 16:59:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2012 16:59:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 17 18:59:25 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SrB7J-0003x1-7e for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jul 2012 18:59:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC1B810279; Tue, 17 Jul 2012 18:59:20 +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 yyFCxiPZJez8; Tue, 17 Jul 2012 18:59:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C131510251; Tue, 17 Jul 2012 18:59:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88D1610251 for ; Tue, 17 Jul 2012 18:59:13 +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 JjgQLDs9BQ+S for ; Tue, 17 Jul 2012 18:59:12 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id D4AA110250 for ; Tue, 17 Jul 2012 18:59:12 +0200 (CEST) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6HGx9ee028251 for ; Tue, 17 Jul 2012 18:59:10 +0200 Original-Received: by weys10 with SMTP id s10so564653wey.14 for ; Tue, 17 Jul 2012 09:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=dyqmVsi9mm6xcdewKnumVf0BcREINMoeCsA/Oh66dmQ=; b=Ewgss1r+3Heaa4xoGDE2q0jk2TjGLDlUfnz4igJzw9RRM3x9IuKZevaZlp/G4ExHiy dQPWM46uXv7iNR1WDzAa6zVYY8sJ2RvWCSJ2jpRVIPIyBvzgMXBqXyqaxA8hrRsELURi k/T5gdxj0VwPIV6dQzJdFcO785jS7F13rFK+tebmouNYW92JJsLFm3i1awa/oCp1iEae H6Wy95q8grJlszzcuy2WeS1p8NyVlRA8qnvTts6a2lI11ofIkgpeFOYnPdz/eYCgRRI2 fI/cvMyUc82gMMz2kfwNN1AVrDOuNgzxIynN98OjwdMcSXNilSrz6M0JJrK89zsip+5/ KB9A== Original-Received: by 10.180.109.129 with SMTP id hs1mr5821510wib.0.1342544349825; Tue, 17 Jul 2012 09:59:09 -0700 (PDT) Original-Received: from [192.168.2.36] (p54BAFB08.dip.t-dialin.net. [84.186.251.8]) by mx.google.com with ESMTPS id eu4sm27841462wib.2.2012.07.17.09.59.07 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jul 2012 09:59:08 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; 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: 0QHzsXa49 - 13b3f48daacf - 20120717 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:77386 Archived-At: Am 17.07.2012 um 18:55 schrieb Alan Bowen: > Thanks, Wolfgang. I replaced the lines in strc-sec.mkiv with the one that you supplied and regenerated the formats. Now, I get the error message I guess you did something wrong when you changed the command, the new definition of the command should be \def\strc_sectioning_check_layout_yes {\page[\p_page]% \expandcheckedcsname\??headmarkyes{\headparameter\c!marking}\s!unknown \edef\p_header{\headparameter\c!header}% \ifx\p_header\empty \else \doifelselayouttextline\v!header{\normalexpanded{\setuplayouttext[\v!header][\c!state=\p_header]}}\donothing \fi \edef\p_text{\headparameter\c!text}% \ifx\p_text\empty \else \doifelselayouttextline\v!text {\normalexpanded{\setuplayouttext[\v!text ][\c!state=\p_text ]}}\donothing \fi \edef\p_footer{\headparameter\c!footer}% \ifx\p_footer\empty \else \doifelselayouttextline\v!footer{\normalexpanded{\setuplayouttext[\v!footer][\c!state=\p_footer]}}\donothing \fi} Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________