[dev-context] tabltbl.mkiv

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Mar 4 09:57:10 CET 2012


Hi,

does \doifemptyvalue make any sense in mkiv because there is no guarantee that “\currenttabulationhash\c!before” is defined and \doifempty{\tabulationparameter\c!before}{…} should also work.

\unexpanded\def\tabl_tabulate_FL_second_indeed
  {\ifinsidefloat\else
-    \doifemptyvalue{\??tt\currenttabulation\c!before}\tabl_tabulate_baselinecorrection % no expansion
+    \doifemptyvalue{\currenttabulationhash\c!before}\tabl_tabulate_baselinecorrection % no expansion
?   %\doifempty{\tabulationparameter\c!before}\tabl_tabulate_baselinecorrection
   \fi
   \tabl_tabulate_hrule_inject
   \tabl_tabulate_nobreak_inject
   \tabl_tabulate_column_rule_separator_inject
   \prevdepth\strutdp
   \tabl_tabulate_nobreak_inject
   \stoptabulatenoalign}

\unexpanded\def\tabl_tabulate_LL_second_indeed
  {\tabl_tabulate_nobreak_inject
   \tabl_tabulate_column_rule_separator_inject
   \tabl_tabulate_nobreak_inject
   \tabl_tabulate_hrule_inject
   \ifinsidefloat\else
-    \doifemptyvalue{\??tt\currenttabulation\c!after} % no expansion
+    \doifemptyvalue{\currenttabulationhash\c!after} % no expansion
?   %\doifempty{\tabulationparameter\c!after}
       {\vskip\strutdp
        \verticalstrut
        \vskip-\struttotal}%
   \fi
   \stoptabulatenoalign}

Wolfgang


More information about the dev-context mailing list