On 8/9/2015 8:24 PM, Wolfgang Schuster wrote:
Hans Hagen <mailto:pra...@wxs.nl>
9. August 2015 19:02


hm, hard to catch (esp if we want to do that everywhere it will be a
slow downer) ... i'll do it for cells but so far other mechanisms were
less sensitive for this (we'd need an extension to luatex for handling
such cases ... maybe i'll look into that later)
Shouldn’t be something like this enough (even though a better solution
to prevent expension here would be nice):

\unexpanded\def\tabl_x_start_cell_delayed_one[#tag]%
% {\ifcsname\namedxtablehash{#tag}\s!parent\endcsname
- {\ifcsname\??xtablecheck#tag\endcsname
+ {\ifcsname\??xtablecheck\detokenize\expandafter{#tag}\endcsname
      \expandafter\tabl_x_start_cell_delayed_two
    \else
      \expandafter\tabl_x_start_cell_yes
    \fi[#tag]}

you're close, the catch i referred to is:


{\ifcsname\??xtablecheck\detokenize\expandafter{\normalexpanded{#tag}}\endcsname

because we need at least some expansion

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
___________________________________________________________________________________

Reply via email to