ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* startxtable, stopxtable in macro
@ 2016-11-25 19:46 Michael Eidenbenz
  2016-11-25 22:02 ` Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Eidenbenz @ 2016-11-25 19:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

why does this produce an TeX capacity exeeded error?
thanks 
Michael



\define\startTable{\startxtable}

\define\stopTable{\stopxtable}


\starttext
  \startTable
    \startxrow
      \startxcell hello \stopxcell
    \stopxrow
  \stopTable
\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: startxtable, stopxtable in macro
  2016-11-25 19:46 startxtable, stopxtable in macro Michael Eidenbenz
@ 2016-11-25 22:02 ` Pablo Rodriguez
  2016-11-25 22:28   ` Michael Eidenbenz
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2016-11-25 22:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/25/2016 08:46 PM, Michael Eidenbenz wrote:
> why does this produce an TeX capacity exeeded error?
> thanks 

Hi Michael,

I don’t know, but replacing your definitions with the following ones
removes the error:

    \define\startTable{\startembeddedxtable}
    \define\stopTable{\stopembeddedxtable}

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: startxtable, stopxtable in macro
  2016-11-25 22:02 ` Pablo Rodriguez
@ 2016-11-25 22:28   ` Michael Eidenbenz
  2016-11-25 23:10     ` Hans Hagen
  2016-11-25 23:19     ` Pablo Rodriguez
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Eidenbenz @ 2016-11-25 22:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

hmm.
I still get an error with this (ConTeXt  ver: 2016.11.24 12:05 MKIV beta)

\define\startTable{\startembeddedxtable}
\define\stopTable{\stopembeddedxtable}

\starttext
  \startTable
    \startxrow
      \startxcell hallo \stopxcell
    \stopxrow
  \stopTable
\stoptext


> On 25 Nov 2016, at 23:02, Pablo Rodriguez <oinos@gmx.es> wrote:
> 
> On 11/25/2016 08:46 PM, Michael Eidenbenz wrote:
>> why does this produce an TeX capacity exeeded error?
>> thanks 
> 
> Hi Michael,
> 
> I don’t know, but replacing your definitions with the following ones
> removes the error:
> 
>    \define\startTable{\startembeddedxtable}
>    \define\stopTable{\stopembeddedxtable}
> 
> I hope it helps,
> 
> Pablo
> -- 
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

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

* Re: startxtable, stopxtable in macro
  2016-11-25 22:28   ` Michael Eidenbenz
@ 2016-11-25 23:10     ` Hans Hagen
  2016-11-25 23:19     ` Pablo Rodriguez
  1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2016-11-25 23:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/25/2016 11:28 PM, Michael Eidenbenz wrote:
> hmm.
> I still get an error with this (ConTeXt  ver: 2016.11.24 12:05 MKIV beta)
>
> \define\startTable{\startembeddedxtable}
> \define\stopTable{\stopembeddedxtable}
>
> \starttext
>   \startTable
>     \startxrow
>       \startxcell hallo \stopxcell
>     \stopxrow
>   \stopTable
> \stoptext

because the \stopembeddedxtable is a delimiter and need to be in the 
stream, so you can't wrap it in a macro

Hans


>> On 25 Nov 2016, at 23:02, Pablo Rodriguez <oinos@gmx.es> wrote:
>>
>> On 11/25/2016 08:46 PM, Michael Eidenbenz wrote:
>>> why does this produce an TeX capacity exeeded error?
>>> thanks
>>
>> Hi Michael,
>>
>> I don’t know, but replacing your definitions with the following ones
>> removes the error:
>>
>>    \define\startTable{\startembeddedxtable}
>>    \define\stopTable{\stopembeddedxtable}
>>
>> I hope it helps,
>>
>> Pablo
>> --
>> http://www.ousia.tk
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>


-- 

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

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

* Re: startxtable, stopxtable in macro
  2016-11-25 22:28   ` Michael Eidenbenz
  2016-11-25 23:10     ` Hans Hagen
@ 2016-11-25 23:19     ` Pablo Rodriguez
  1 sibling, 0 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2016-11-25 23:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/25/2016 11:28 PM, Michael Eidenbenz wrote:
> hmm.
> I still get an error with this (ConTeXt  ver: 2016.11.24 12:05 MKIV beta)
> 
> \define\startTable{\startembeddedxtable}
> \define\stopTable{\stopembeddedxtable}
> 
> \starttext
>   \startTable
>     \startxrow
>       \startxcell hallo \stopxcell
>     \stopxrow
>   \stopTable
> \stoptext

Michael,

sorry, I checked that compilation was fine, but I didn’t open the
resulting file. Now I realize that the PDF document wasn’t created in
both cases.

I would say this might be a bug.

Sorry for the previous noise,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2016-11-25 23:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-25 19:46 startxtable, stopxtable in macro Michael Eidenbenz
2016-11-25 22:02 ` Pablo Rodriguez
2016-11-25 22:28   ` Michael Eidenbenz
2016-11-25 23:10     ` Hans Hagen
2016-11-25 23:19     ` Pablo Rodriguez

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