From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: halign broken
Date: Thu, 18 Apr 2013 15:03:01 +0200 [thread overview]
Message-ID: <ADCB0AEB-8AF3-4E73-A49D-4DC8FEB4AF3E@gmail.com> (raw)
In-Reply-To: <83C96EE8-3446-4EF9-93C2-C399280C5622@uva.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1398 bytes --]
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 versions.
>
> This typesets fine in PlainTeX and is an example taken from a textbook.
>
> \tabskip=1em\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=\contextversion\par
> 3 \tabskip=1em
> 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’t matter because & has it’s normal meaning when you use
\unprotect … \protect but it can’t be used in the document.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 4154 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-04-18 13:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 12:55 Meer, H. van der
2013-04-18 13:03 ` Wolfgang Schuster [this message]
2013-04-18 13:16 ` Meer, H. van der
2013-04-18 14:13 ` Hans Hagen
2013-04-18 14:58 ` Aditya Mahajan
2013-04-18 13:26 ` Meer, H. van der
2013-04-18 13:34 ` Wolfgang Schuster
2013-04-18 13:39 ` Meer, H. van der
2013-04-18 13:46 ` Wolfgang Schuster
2016-05-16 13:50 ` Reviewing old messages Meer, Hans van der
2016-05-16 14:03 ` Wolfgang Schuster
2016-05-16 14:31 ` Meer, Hans van der
2016-05-16 14:41 ` Wolfgang Schuster
2016-05-16 15:18 ` Meer, Hans van der
2016-05-16 15:36 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ADCB0AEB-8AF3-4E73-A49D-4DC8FEB4AF3E@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).