From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81906 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: halign broken Date: Thu, 18 Apr 2013 13:16:20 +0000 Message-ID: <09B17E1D-F5C1-4C93-BB82-FF515EA1D51F@uva.nl> 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 Content-Type: multipart/mixed; boundary="===============0019812430==" X-Trace: ger.gmane.org 1366290991 4302 80.91.229.3 (18 Apr 2013 13:16:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 13:16:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 18 15:16:35 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 1USohU-0007df-9g for gctc-ntg-context-518@m.gmane.org; Thu, 18 Apr 2013 15:16:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A84B8101F2; Thu, 18 Apr 2013 15:16:31 +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 zxrLNrn7-RSf; Thu, 18 Apr 2013 15:16:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AF307101E6; Thu, 18 Apr 2013 15:16:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6BCF101E6 for ; Thu, 18 Apr 2013 15:16:24 +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 Y9cKvYCxxsqy for ; Thu, 18 Apr 2013 15:16:23 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 212FB101E4 for ; Thu, 18 Apr 2013 15:16:22 +0200 (CEST) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3IDc39h023671 for ; Thu, 18 Apr 2013 15:38:03 +0200 Original-Received: from MBX02.uva.nl ([169.254.2.121]) by HUB01.uva.nl ([2002:9232:6737::9232:6737]) with mapi id 14.02.0342.003; Thu, 18 Apr 2013 15:16:21 +0200 Thread-Topic: [NTG-context] halign broken Thread-Index: AQHOPDQM5s/P2pLq5kGBzuVxQW7HEJjb0C2AgAADuAA= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.230; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JppC3UL - cc181650ab3d - 20130418 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:81906 Archived-At: --===============0019812430== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_09B17E1DF5C14C93BB82FF515EA1D51Fuvanl_" --_000_09B17E1DF5C14C93BB82FF515EA1D51Fuvanl_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I see, it is either the nuisance of having to type \& etc. in the text, or = the nuisance of having to wrap everything like \halign in \unprotect..\prot= ect and then resorting to \& again. At least there is nothing amiss with \halign itself, which is reassuring. H= owever, I do not feel secure with these little deviations from the orginal = TeX. Hans van der Meer On 18 Apr 2013, at 3:03 PM, Wolfgang Schuster > wrote: Am 18.04.2013 um 14:55 schrieb "Meer, H. van der" >: There seems something very much amiss with \halign in later ConTeXt version= s. This typesets fine in PlainTeX and is an example taken from a textbook. \tabskip=3D1em\halign{% \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. system > tex > error on line 5 in file fixedwidth.tex: Only one # = is allowed per tab ... 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 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 --_000_09B17E1DF5C14C93BB82FF515EA1D51Fuvanl_ Content-Type: text/html; charset="Windows-1252" Content-ID: <097548A598647E4DA52DB540FC8645AC@uva.nl> Content-Transfer-Encoding: quoted-printable I see, it is either the nuisance of having to type \& etc. in the text,= or the nuisance of having to wrap everything like \halign in \unprotect..\= protect and then resorting to \& again.
At least there is nothing amiss with \halign itself, which is reassuri= ng. However, I do not feel secure with these little deviations from the org= inal TeX.

Hans van der Meer



On 18 Apr 2013, at 3:03 PM, Wolfgang Schuster <schuster.wolfgang@gmail.com>
 wrote:


Am 18.04.2013 um 14:55 schrieb "Meer, H. van der" <H.vanderMeer@uva.nl>:

There seems something very much amiss with \halign in later ConTeXt version= s.

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

  \tabskip= =3D1em\halign{%
  \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 o= ne # is allowed per tab.
system&n= bsp;         > tex > error on line 5 in file fixe= dwidth.tex: Only one # is allowed per tab ...

 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 \hfi= l\it#\hfil&\hfil#
 &n= bsp;                     = \hfil&#&\hfil#\cr

Why? How primitive it may be, I would li= ke 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 characte= rs
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<= /div>
\unprotect =85 \protect but it can=92t be used in the document.

Wolfgang


--_000_09B17E1DF5C14C93BB82FF515EA1D51Fuvanl_-- --===============0019812430== 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 ___________________________________________________________________________________ --===============0019812430==--