Re: [NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Taco Hoekwater


> On 10 Mar 2020, at 16:20, Hans Hagen  wrote:
> 
> On 3/10/2020 3:07 PM, Taco Hoekwater wrote:
>> Hi,
>> Never mind, I got it (starting at \loggingall output for a while). This
>> patch to my input fixes it:
>>   \unprotect
>>   \setupfootertexts[{\tabl_ntb_next_level \getbuffer[mytable] 
>> \tabl_ntb_prev_level}]
>>   \protect
> 
> you beat me on this ... (still puzzled because nesting shoudl kind of work)

Well, they are not _really_ nested, which is the problem, of course.

> I'll add this:
> 
> %D This is for the special cases where for instance a table is in a header or 
> footer
> %D line and we have a split table in progress. (See mail to list from Taco.)
> 
> \unexpanded\def\bTABLEnested{\tabl_ntb_next_level\bTABLE}
> \unexpanded\def\eTABLEnested{\eTABLE\tabl_ntb_next_level}

That last macro should be \tabl_ntb_prev_level ;)

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] SOLVED Re: \bTABLE bug, please help !

2020-03-10 Thread Hans Hagen

On 3/10/2020 3:07 PM, Taco Hoekwater wrote:

Hi,

Never mind, I got it (starting at \loggingall output for a while). This
patch to my input fixes it:

   \unprotect
   \setupfootertexts[{\tabl_ntb_next_level \getbuffer[mytable] 
\tabl_ntb_prev_level}]
   \protect


you beat me on this ... (still puzzled because nesting shoudl kind of work)

I'll add this:

%D This is for the special cases where for instance a table is in a 
header or footer

%D line and we have a split table in progress. (See mail to list from Taco.)

\unexpanded\def\bTABLEnested{\tabl_ntb_next_level\bTABLE}
\unexpanded\def\eTABLEnested{\eTABLE\tabl_ntb_next_level}

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___