From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81905 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: halign broken Date: Thu, 18 Apr 2013 15:03:01 +0200 Message-ID: References: <83C96EE8-3446-4EF9-93C2-C399280C5622@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/mixed; boundary="===============1273261158==" X-Trace: ger.gmane.org 1366290187 27207 80.91.229.3 (18 Apr 2013 13:03:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 13:03:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 18 15:03:10 2013 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 1USoUY-0000Pb-Ir for gctc-ntg-context-518@m.gmane.org; Thu, 18 Apr 2013 15:03:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FC78101E9; Thu, 18 Apr 2013 15:03:10 +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 y5PJ47sd8NIW; Thu, 18 Apr 2013 15:03:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 013B0101E6; Thu, 18 Apr 2013 15:03:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ABE50101E6 for ; Thu, 18 Apr 2013 15:03:06 +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 u3q-AaSOhkLv for ; Thu, 18 Apr 2013 15:03:02 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id E1341101E4 for ; Thu, 18 Apr 2013 15:03:01 +0200 (CEST) Original-Received: from mail-ea0-x229.google.com (mail-ea0-x229.google.com [IPv6:2a00:1450:4013:c01::229]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3ID31ox009542 for ; Thu, 18 Apr 2013 15:03:01 +0200 Original-Received: by mail-ea0-f169.google.com with SMTP id n15so1285929ead.0 for ; Thu, 18 Apr 2013 06:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:message-id:mime-version:subject:date :references:to:in-reply-to:x-mailer; bh=Xr4wKg93hC6FU1Q1WIgOCba91V4iLDJnHdZFNeSjb3I=; b=zWQfFrnFnu5xoe80t78BquhXfRCuY5GgalFj73uf2mjSGMs7CjItrBYB3i5M4lSjm6 5ndoSAaNZ8oIpkie+pK38hXqPQZnPrZUqW9TwtDxBi5b6/FeDL8hOL4y9bHpNcPvtPzl Bh8eNHTVXZQGmn6K6qhnJL8YAYDNFQ7kvB4xjbQTAXfHJRxmm/hPCeiIoviNfCFoW3Nm +s2FqOs42reRq7ofqPXxNiEFJAqJkOjCq0W+e4rCD5gA5vK0z/RHaOjS+f3D9BszmCMn lG18ECBFCSCa0ksx2CwpshwyA5fCBGjdoL3UtCwfvbuo7yQ4NETzpTv7/jAtixqUhYIb +MTQ== X-Received: by 10.15.32.142 with SMTP id a14mr30247527eev.22.1366290180901; Thu, 18 Apr 2013 06:03:00 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf875a.pool.mediaWays.net. [77.191.135.90]) by mx.google.com with ESMTPS id w51sm15681375eev.13.2013.04.18.06.02.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 06:03:00 -0700 (PDT) In-Reply-To: <83C96EE8-3446-4EF9-93C2-C399280C5622@uva.nl> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::229; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJpp31ve - ded5d8b38711 - 20130418 (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:81905 Archived-At: --===============1273261158== Content-Type: multipart/alternative; boundary="Apple-Mail=_CB4552F3-3083-4187-BB7D-81C0EE3AC857" --Apple-Mail=_CB4552F3-3083-4187-BB7D-81C0EE3AC857 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 18.04.2013 um 14:55 schrieb "Meer, H. van der" : > There seems something very much amiss with \halign in later ConTeXt = versions. >=20 > This typesets fine in PlainTeX and is an example taken from a = textbook. >=20 > \tabskip=3D1em\halign{% > \hfil\it#\hfil&\hfil#\hfil&#&\hfil#\crA&B&C&D\cr} >=20 > Also in contextversion 2012.05.30 (from a TeXlive distribution). >=20 > But it fails at least in ConTeXt ver: 2013.03.20 10:34 MKIV > and in ConTeXt ver: 2013.04.16 12:08 MKIV beta > with the following error >=20 > ! Only one # is allowed per tab. > system > tex > error on line 5 in file fixedwidth.tex: Only = one # is allowed per tab ... >=20 > 1 \starttext > 2 contextversion=3D\contextversion\par > 3 \tabskip=3D1em > 4 \halign{% > 5 >> \hfil\it#\hfil&\hfil#\hfil&#&\hfil#\cr > 6 A&B&C&D\cr} > 7 \stoptext > l.5 \hfil\it#\hfil&\hfil# > \hfil&#&\hfil#\cr >=20 > Why? How primitive it may be, I would like to use \halign now and = then. The error message is misleading because the problem is & and not #. One of the changes for MkIV was to make _, ^ and & normal characters in the document (the first two still works for math). For code writing = this doesn=92t matter because & has it=92s normal meaning when you use \unprotect =85 \protect but it can=92t be used in the document. Wolfgang --Apple-Mail=_CB4552F3-3083-4187-BB7D-81C0EE3AC857 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 H.vanderMeer@uva.nl>:
There seems something very much amiss with \halign in later ConTeXt = versions.

This typesets fine in PlainTeX and is an example taken from a = textbook.

  = \tabskip=3D1em  = \hfil\it#\hfil&\hfil#\hfil&#&\hfil#\crA&B&C&D\cr}

Also in contextversion 2012.05.30 = (from a TeXlive distribution).

But it fails at least in ConTeXt  ver: = 2013.03.20 10:34 MKIV
and in ConTeXt  ver: = 2013.04.16 12:08 MKIV beta
with the following error

! = Only one # is allowed per tab.

l.5 = \hfil\it#\hfil&\hfil#
Why? How primitive it may be, I would = like to use \halign now and then.

The error message is = misleading because the problem is & and not = #.

One of the changes for MkIV was to make _, ^ = and & normal characters
in the document (the first two = still works for math). For code writing this
doesn=92t matter = because & has it=92s normal meaning when you = use
\unprotect =85 \protect but it can=92t be used in the = document.

Wolfgang

= --Apple-Mail=_CB4552F3-3083-4187-BB7D-81C0EE3AC857-- --===============1273261158== 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 ___________________________________________________________________________________ --===============1273261158==--