From: Hans Hagen <pragma@wxs.nl>
Subject: Re: spurious text produced by TABLE
Date: Tue, 17 May 2005 09:12:56 +0200 [thread overview]
Message-ID: <42899978.2020104@wxs.nl> (raw)
In-Reply-To: <42E0BAE1@webmail.colostate.edu>
Idris Samawi Hamid wrote:
> Dear posse,
>
> TABLE produces a spurious dot in the following (look closely at the center of
> the big box on the right). How can I get rid of this? If this is a bug, Is
> there a workaround?
>
> Best
> Idris
>
> =============================
> % output=pdf interface=en
>
> \setuppagenumbering[state=stop]
>
> \starttext
>
> \setupfloats[location=middle]
> \placetable
> [here][tab:sciences]{There is a spurious dot in the big box.}
> \starttable{|c|c|c|}
> \HL
> \VL {test} \VL \TWO{} \VL\FR
> \DL[1] \VL \VL\DR
> \VL {test} \VL \TWO{} \VL\FR
> \HL
> \stoptable
>
> \stoptext
i really need to reimplement tables -)
patch in core-tab.tex:
\def\!ttuse#1%
{\ifnum#1>\plusone
\omit
\global\TABLEdivisionfalse % added for idris
\scratchcounter\currentTABLEcolumn % added
\advance\scratchcounter #1% % added
\advance\scratchcounter \minusone % added
\ifnum\scratchcounter>\maxTABLEcolumn % added
\def\next % added
{\setTABLEerror\TABLEspanoverflow % added
\handleTABLEerror}% % added
\else % added
\def\next % added
{\global\advance\currentTABLEcolumn #1% % added
\global\advance\currentTABLEcolumn \minusone % added
\mscount#1% \mscount is in Plain
\advance\mscount \minusone
\advance\mscount \mscount
\!thLoop
\ifnum\mscount>\plusone
\sp@n % from Plain (\span\omit \advance\mscount\m@ne)
\repeat
\span}%
\fi % added
\else % added
\def\next % conflicts with possible next \omit % added
{\global\advance\currentTABLEcolumn \plusone}% % added
\fi
\next} % added
\starttext
\starttable[|c|c|c|c|]
\HL
\VL {test} \VL \TWO{} \VL test \VL\FR
\DL \DC \DL\DR
\VL {test} \VL \TWO{} \VL test \VL\LR
\HL
\stoptable
\stoptext
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2005-05-17 7:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-15 18:46 Idris Samawi Hamid
2005-05-17 7:12 ` Hans Hagen [this message]
2005-05-17 7:13 ` Hans Hagen
2005-06-02 16:30 ` gwTeX+ConTeXT+new Latin Modern Matthias Weber
2005-06-02 20:17 ` Gerben Wierda
2005-06-02 20:35 ` Matthias Weber
2005-06-02 21:01 ` PSNFSS in new ConTeXt? Matthias Weber
2005-06-03 6:02 ` Gerben Wierda
2005-06-03 8:59 ` Ville Voipio
2005-05-17 13:06 spurious text produced by TABLE Idris Samawi Hamid
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=42899978.2020104@wxs.nl \
--to=pragma@wxs.nl \
--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).