From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77387 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: \definetext problem? Date: Tue, 17 Jul 2012 13:11:01 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0040362988==" X-Trace: dough.gmane.org 1342545076 21259 80.91.229.3 (17 Jul 2012 17:11:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2012 17:11:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 17 19:11:16 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 1SrBIo-0003sn-JV for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jul 2012 19:11:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9CC1110279; Tue, 17 Jul 2012 19:11: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 zLVN7XfIBmSa; Tue, 17 Jul 2012 19:11:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4843A1025B; Tue, 17 Jul 2012 19:11:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A67D1025B for ; Tue, 17 Jul 2012 19:11:08 +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 FUmWXfvPmy23 for ; Tue, 17 Jul 2012 19:11:03 +0200 (CEST) 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 7545C10251 for ; Tue, 17 Jul 2012 19:11:03 +0200 (CEST) Original-Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q6HHB2F0013357 for ; Tue, 17 Jul 2012 19:11:02 +0200 Original-Received: by lbjn8 with SMTP id n8so1204664lbj.14 for ; Tue, 17 Jul 2012 10:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ilJ4KGlFkC8RYFtClI3nOQ2PQx9MkrdKQHnBQ2hgJfU=; b=C1i+mCje4qnf/hYuU2Rsds8MM+H8/hVOvEEjGQHJ3DzrflropxbpugrppUtbWyZVJ8 tjstrAb6WnxCWXKH5jqrDpnB0OQr4KnS5VGmmbB5W0G/bmdz1XKdZIUAPqV0N2IONIb6 G/tkX7ZZbLB+BlZ7ZYhCgFoiA+K+CiaqUcU4lNBvo55UmEp+e7ONJYX2ardxJqS0ohpC EEX9CHmtk/csdIdX6S1YsMzAP1o0xzWT53hPLqvmgJR5qlGNR+DhO5ZA4tYA7WVTBFvm U3RDQNyDJOd9wfYVp+voiyd52Yu9yNdxVJ5ZPiAb7M6fVhRVQUqe0Glr8OerVVlQN6n/ GKdQ== Original-Received: by 10.112.49.68 with SMTP id s4mr125703lbn.27.1342545061939; Tue, 17 Jul 2012 10:11:01 -0700 (PDT) Original-Received: by 10.114.17.166 with HTTP; Tue, 17 Jul 2012 10:11:01 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.217.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: 06Hztb2B2 - 9bb21e96bbad - 20120717 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:77387 Archived-At: --===============0040362988== Content-Type: multipart/alternative; boundary=90e6ba308ef2830be404c509a17f --90e6ba308ef2830be404c509a17f Content-Type: text/plain; charset=ISO-8859-1 My apologies. XCode slipped (or left in) some +'s and -'s that I failed to catch. Anyway, it is working now. Many thanks! Alan On Tue, Jul 17, 2012 at 12:59 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote: > > 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 > > ___________________________________________________________________________________ > --90e6ba308ef2830be404c509a17f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable My apologies. XCode slipped (or left in) some +'s =A0and -'s that I= failed to catch. Anyway, it is working now.

Many thanks= !

Alan


On Tue, Jul 17, 2012 at 12:59 PM, Wolfgang Schuster <<= a href=3D"mailto:schuster.wolfgang@gmail.com" target=3D"_blank">schuster.wo= lfgang@gmail.com> wrote:

Am 17.07.2012 um 18:55 schrieb Alan Bowen:

> Thanks, Wolfgang. I replaced the lines in strc-sec.mkiv with the one t= hat you supplied and regenerated the formats. Now, I get the error message<= br>
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
=A0 {\page[\p_page]%
=A0 =A0\expandcheckedcsname\??headmarkyes{\headparameter\c!marking}\s!unkno= wn
=A0 =A0\edef\p_header{\headparameter\c!header}%
=A0 =A0\ifx\p_header\empty \else
=A0 =A0 =A0\doifelselayouttextline\v!header{\normalexpanded{\setuplayouttex= t[\v!header][\c!state=3D\p_header]}}\donothing
=A0 =A0\fi
=A0 =A0\edef\p_text{\headparameter\c!text}%
=A0 =A0\ifx\p_text\empty \else
=A0 =A0 =A0\doifelselayouttextline\v!text =A0{\normalexpanded{\setuplayoutt= ext[\v!text =A0][\c!state=3D\p_text =A0]}}\donothing
=A0 =A0\fi
=A0 =A0\edef\p_footer{\headparameter\c!foote= r}%
=A0 =A0\ifx\p_footer\empty \e= lse
=A0 =A0 =A0\doifelselayouttextline\v!footer{\normalexpanded{\setuplayouttex= t[\v!footer][\c!state=3D\p_footer]}}\donothing
=A0 =A0\fi}

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--90e6ba308ef2830be404c509a17f-- --===============0040362988== 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 ___________________________________________________________________________________ --===============0040362988==--