On Sat, Aug 9, 2008 at 10:18 AM, Taco Hoekwater <[EMAIL PROTECTED]> wrote:
> 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}*}}

\getvariable and not \getvalue

\expanded{\fieldNameSection{*\getvariable{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

I would try to use \doiftextelse first.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to