From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75421 Path: news.gmane.org!not-for-mail From: Malte Stien Newsgroups: gmane.comp.tex.context Subject: Strange errors on using setupheader Date: Fri, 30 Mar 2012 20:35:36 +1100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333100156 23789 80.91.229.3 (30 Mar 2012 09:35:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2012 09:35:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 30 11:35:53 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 1SDYFJ-0000Df-Tr for gctc-ntg-context-518@m.gmane.org; Fri, 30 Mar 2012 11:35:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 058AD101E5; Fri, 30 Mar 2012 11:35:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ovsHtqoDuYd4; Fri, 30 Mar 2012 11:35:47 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4BE35101E0; Fri, 30 Mar 2012 11:35:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9AE75101E0 for ; Fri, 30 Mar 2012 11: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9vYZj-lQGIcU for ; Fri, 30 Mar 2012 11:35:43 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 8B065101DF for ; Fri, 30 Mar 2012 11:35:43 +0200 (CEST) Original-Received: from homiemail-a89.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2U9ZfNF013578 for ; Fri, 30 Mar 2012 11:35:42 +0200 Original-Received: from homiemail-a89.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTP id 6B84D318074 for ; Fri, 30 Mar 2012 02:35:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=stien.de; h=from:content-type :content-transfer-encoding:subject:date:message-id:to: mime-version; q=dns; s=stien.de; b=sU9NO3ZIFSDdwa2DHKhofxxnVMXxE b8oQJCPZu88iplMvh+vXM3MISvGqAeJ03WgYppiedP1pGEqO6vTZayYG5WgF0cnH XSdHQzZo1sRHqhhMKG4hQb02Gbs6aBU8sv8sfy2T5ePvsaXqjRW/hbtvSMaG9zkj 1vCoiEwcT3cs9w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=stien.de; h=from :content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; s=stien.de; bh=Vd+bP9xRKwhLS0sGqR3qATxl5fM=; b=gnz2ZdC9jhJPDT7okqqe8xW2UyCsZFY9UocVQSFNo5U3djXfon1i+O/7yjJNg PMw2YC5IRduBzfU2XLT3BBWWhGVjeGGc9kR0N9cvpQseknk2/5ORfCLfhF1cEbPE x1/PLBtQryouf0ooJewW/FTlTwJiooawuMsJodoaXsbfvw= Original-Received: from [192.168.0.5] (51.125.96.58.static.exetel.com.au [58.96.125.51]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: malte@stien.de) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTPSA id 97A20318072 for ; Fri, 30 Mar 2012 02:35:39 -0700 (PDT) X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=208.97.132.202; country=US; region=CA; city=Trabuco Canyon; postalcode=92679; latitude=33.6117; longitude=-117.5491; metrocode=803; areacode=949; http://maps.google.com/maps?q=33.6117,-117.5491&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RGPJzGGo - 6e348f59b38e - 20120330 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:75421 Archived-At: Hi again, After I had some issues with \externalfigure, Hans suggested to me that I use a newer version of ConTeXt. So, rather than using the latest current (which seems to be from May 2011) ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.12.6 int: english/english I am not using the latest beta ConTeXt ver: 2012.03.29 11:28 MKIV fmt: 2012.3.29 int: english/english However, as it turns out, the document I am working on is no longer processed without errors. I butchered my document to isolate the error and come up with a (close to) minimal example: % Use UTF encoding \enableregime[utf] % Set English as the language \language[en] % Select A4 as the paper size \setuppapersize[A4] % Setup the header... \setupheadertexts[chapter][section] \setupheader[leftwidth=.5\hsize, rightwidth=.4\hsize] \starttext \startfrontmatter \completecontent \chapter{Purpose and Scope} \section[]{Purpose} This document should be read in conjunction with bla bla bla... \stopfrontmatter \stoptext I get the following error when processing with the aforementioned version: doifelsemarking("\ascii ") \ctxcommand #1->\directlua \zerocount {commands.#1 } \page_layouts_process_element_single_limited ...i {\limitatetext {\getmarkin... \page_layouts_process_element_single_indeed ...#4} \fi \endgroup \page_layouts_process_element_single ...#1#2#3{#4} \fi ...\layoutelementparameter \c!lefttext \hss }\hskip -\makeupwidth... ... l.18 \chapter{Purpose and Scope} Strangely enough, all works well when I remove (or comment) the \setupheader line. Is there anything strange I am doing here? Should work, right? Any pointers would be appreciated. Thank you, Malte. ___________________________________________________________________________________ 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 ___________________________________________________________________________________