ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: startxtable, stopxtable in macro
Date: Sat, 26 Nov 2016 00:10:28 +0100	[thread overview]
Message-ID: <a16249ad-d831-e749-27a3-119997b960fb@wxs.nl> (raw)
In-Reply-To: <9ACDC70A-20B0-4DCA-A851-31CA10C4C742@arch.ethz.ch>

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
___________________________________________________________________________________

  reply	other threads:[~2016-11-25 23:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-25 19:46 Michael Eidenbenz
2016-11-25 22:02 ` Pablo Rodriguez
2016-11-25 22:28   ` Michael Eidenbenz
2016-11-25 23:10     ` Hans Hagen [this message]
2016-11-25 23:19     ` Pablo Rodriguez

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=a16249ad-d831-e749-27a3-119997b960fb@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).