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
On 4-3-2012 09:57, Wolfgang Schuster wrote:
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.
indeed the value variants should become simple empty tests (with the command handler all the \doif*value's go (there are probably left-overs where global replacements were done), so it's:
? %\doifempty{\tabulationparameter\c!before}\tabl_tabulate_baselinecorrection ? %\doifempty{\tabulationparameter\c!after}
----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Wolfgang Schuster