Demian Gutierrez wrote: > > So when I use the > > \fieldNameSection{*\getvalue{CrudCampo:NombreCampoGUIVAL}*}
> in the previous code I get nothing but an empty entry in the table of > contents (well in fact with the "*" before and after I get just "**"). Try \expanded{\fieldNameSection{*\getvalue{CrudCampo:NombreCampoGUIVAL}*}} > The second issue is that the previous commented code: > > \doifelsenothing{\getvariable{CrudCampo}{NombreCampoGUIFLG}} > {\EMPTY}{\getvariable{CrudCampo}{NombreCampoGUIVAL}} The bib module had a similar problem, that is why I have: \unprotect \long\def\bibdoifelse#1% [EMAIL PROTECTED]@[EMAIL PROTECTED] \ifx\!!stringa\empty \expandafter\secondoftwoarguments \else \expandafter\firstoftwoarguments \fi} \protect Best wishes, Taco ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________