From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: table bug
Date: Sun, 23 May 2010 12:30:26 +0200 [thread overview]
Message-ID: <4BF903C2.2050307@elvenkind.com> (raw)
In-Reply-To: <4BF7BC4C.8090608@googlemail.com>
Wolfgang Schuster wrote:
> Hi,
>
> in the last current the table environment is broken.
>
> \starttext
> \starttable[|l|]
> \NC text \NC\NR
> \stoptable
> \stoptext
That should have been the beta, because the problem is the
result of some extra \unexpanded prefixes Hans added in the
beta. I removed a few from tabl-tab.mkiv, and now tables
are fine again:
--- tabl-tab.mkiv~ 2010-05-21 17:27:59.000000000 +0200
+++ tabl-tab.mkiv 2010-05-23 12:25:57.786336147 +0200
@@ -985,7 +985,7 @@
\doif\@@tisplit\v!auto
{\ifinsidesplitfloat\let\@@tisplit\v!yes\fi}%
\doifinsetelse\@@tisplit{\v!yes,\v!repeat}
- {\unexpanded\def\stoptable{\stoptables\egroup}%
+ {\def\stoptable{\stoptables\egroup}%
\starttables}
{\doifelsenothing\@@tiframe
{\ifinsidefloat\else\startbaselinecorrection\fi}
@@ -993,7 +993,7 @@
\postponenotes
\firststagestartTABLE}}
-\unexpanded\def\stoptable
+\def\stoptable
{\chuckTABLEautorow % before the tail, else noalign problem
\insertTABLEtail
\TABLEnoalign{\globalletempty\@@TABLEhead}%
@@ -1228,7 +1228,7 @@
% \flushnotes
% \egroup}
-\unexpanded\def\stoptables
+\def\stoptables
{\chuckTABLEautorow % AM: before the tail, else noalign problem
\ifconditional\tablerepeattail\else\insertTABLEtail\fi
\finishTABLE
___________________________________________________________________________________
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:[~2010-05-23 10:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-22 11:13 Wolfgang Schuster
2010-05-22 14:33 ` Marius
2010-05-23 10:35 ` font bug in latest beta (was: table bug) Taco Hoekwater
2010-05-23 18:31 ` Marius
2010-05-23 10:30 ` Taco Hoekwater [this message]
2010-05-23 10:43 ` table bug Hans Hagen
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=4BF903C2.2050307@elvenkind.com \
--to=taco@elvenkind.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).