Am 21.11.2010 um 15:06 schrieb Jaroslav Hajtmar:

> Hello ConTeXist,
> 
> I want my macro to act differently inside \bTABLE ... \eTABLE environment and 
> otherwise outside of that environment.
> Is there any sign (flag) which can determine whether my macro run inside or 
> outside the \bTABLE .. \eTABLE environment?
> Or do I have two similar versions of my macros (one for the table environment 
> and the other for normal environment)

\ifintable but this is not available for tabulate, another alternative is to 
use \iftrialtypesetting

> Explanation: To my macro work, I must have already expanded values inside 
> table environment...

In this case you have to expand the whole table before it’s processed, e.g.

\bTABLE
  \bTR
    \expanded{\bTD ... \eTD}
  \eTR
\eTABLE

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
___________________________________________________________________________________

Reply via email to