ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* table bug
@ 2010-05-22 11:13 Wolfgang Schuster
  2010-05-22 14:33 ` Marius
  2010-05-23 10:30 ` table bug Taco Hoekwater
  0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2010-05-22 11:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

in the last current the table environment is broken.


\starttext
\starttable[|l|]
\NC text \NC\NR
\stoptable
\stoptext


! Misplaced \noalign.
\TABLEnoalign ->\noalign
                          \bgroup \let \noalign \relax \let \next =
\insertTABLEtail ->\TABLEnoalign
                                  {\global \settrue \preventTABLEbreak 
\globa...
\stoptable ->\chuckTABLEautorow \insertTABLEtail
                                                  \TABLEnoalign 
{\globalletem...
l.4 \stoptable


Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: table bug
  2010-05-22 11:13 table bug 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 10:30 ` table bug Taco Hoekwater
  1 sibling, 1 reply; 6+ messages in thread
From: Marius @ 2010-05-22 14:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

And something is wrong with fonts too, I get too small size of fonts
with these commands. The ConTeXt version from yesterday works as
expected.

\definetypeface [winfonts] [rm] [specserif] [Times New Roman] [default]
\definetypeface [winfonts] [ss] [specsans]  [Arial]           [default]
\definetypeface [winfonts] [tt] [specmono]  [Courier New]     [default]
\definetypeface [winfonts] [mm] [math]      [times]           [default]

\setupbodyfont[winfonts,12pt]

On Sat, May 22, 2010 at 2:13 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> Hi,
>
> in the last current the table environment is broken.
>
>
> \starttext
> \starttable[|l|]
> \NC text \NC\NR
> \stoptable
> \stoptext
>
>
> ! Misplaced \noalign.
> \TABLEnoalign ->\noalign
>                         \bgroup \let \noalign \relax \let \next =
> \insertTABLEtail ->\TABLEnoalign
>                                 {\global \settrue \preventTABLEbreak
> \globa...
> \stoptable ->\chuckTABLEautorow \insertTABLEtail
>                                                 \TABLEnoalign
> {\globalletem...
> l.4 \stoptable
>
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: table bug
  2010-05-22 11:13 table bug Wolfgang Schuster
  2010-05-22 14:33 ` Marius
@ 2010-05-23 10:30 ` Taco Hoekwater
  2010-05-23 10:43   ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2010-05-23 10:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* font bug in latest beta (was: table bug)
  2010-05-22 14:33 ` Marius
@ 2010-05-23 10:35   ` Taco Hoekwater
  2010-05-23 18:31     ` Marius
  0 siblings, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2010-05-23 10:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Marius wrote:
> And something is wrong with fonts too, I get too small size of fonts
> with these commands. The ConTeXt version from yesterday works as
> expected.
> 
> \definetypeface [winfonts] [rm] [specserif] [Times New Roman] [default]
> \definetypeface [winfonts] [ss] [specsans]  [Arial]           [default]
> \definetypeface [winfonts] [tt] [specmono]  [Courier New]     [default]
> \definetypeface [winfonts] [mm] [math]      [times]           [default]
> 
> \setupbodyfont[winfonts,12pt]

Sorry, I don't know where to start looking for this bug.

Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: table bug
  2010-05-23 10:30 ` table bug Taco Hoekwater
@ 2010-05-23 10:43   ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-05-23 10:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

On 23-5-2010 12:30, Taco Hoekwater wrote:
>
> 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

indeed those unexpanded's ... i came to this:

\unexpanded\def\starttable
   {\bgroup
    \let\stoptable\dostoptable
    \doif\@@tisplit\v!auto
      {\ifinsidesplitfloat\let\@@tisplit\v!yes\fi}%
    \doifinsetelse\@@tisplit{\v!yes,\v!repeat}
      {\unexpanded\def\stoptable{\stoptables\egroup}%
       \starttables}
      {\doifelsenothing\@@tiframe
         {\ifinsidefloat\else\startbaselinecorrection\fi}
         {\startframedcontent[\@@tiframe]}%
       \postponenotes
       \firststagestartTABLE}}

% We cannot define \unexpanded\def\dostoptable a ssomehow lookahead
% in alignments fail then, so we relax it and define it locally.

\let\stoptabel\relax

\def\dostoptable

if i remember right taco and i had plans to look into some of these 
alignment lookahead problems some day in the perspective of luatex (low 
priority)

Hans



-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: font bug in latest beta (was: table bug)
  2010-05-23 10:35   ` font bug in latest beta (was: table bug) Taco Hoekwater
@ 2010-05-23 18:31     ` Marius
  0 siblings, 0 replies; 6+ messages in thread
From: Marius @ 2010-05-23 18:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

In the latest beta (2010.05.23 15:03) the bug disappeared.

On Sun, May 23, 2010 at 1:35 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
> Marius wrote:
>>
>> And something is wrong with fonts too, I get too small size of fonts
>> with these commands. The ConTeXt version from yesterday works as
>> expected.
>>
>> \definetypeface [winfonts] [rm] [specserif] [Times New Roman] [default]
>> \definetypeface [winfonts] [ss] [specsans]  [Arial]           [default]
>> \definetypeface [winfonts] [tt] [specmono]  [Courier New]     [default]
>> \definetypeface [winfonts] [mm] [math]      [times]           [default]
>>
>> \setupbodyfont[winfonts,12pt]
>
> Sorry, I don't know where to start looking for this bug.
>
> Best wishes,
> Taco
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-23 18:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-22 11:13 table bug 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 ` table bug Taco Hoekwater
2010-05-23 10:43   ` Hans Hagen

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).