ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* command to get the text value?
@ 2014-12-16 20:39 Pablo Rodriguez
  2014-12-16 20:49 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Rodriguez @ 2014-12-16 20:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

sorry for writing again on the same topic. The issue is important and I
don’t know how to solve it.

I have a different sample:

    \def\firstcommand{AAA}
    \def\secondcommand{aaa}
    \starttext
    \doifelse{\word{\firstcommand}}
        {\secondcommand}{Equal}{Not equal}.
    \stoptext

I understand that A and a are different characters. Is there no command
to get the pure text from another command?

Or how could I get equal values in the sample above?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-16 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-16 20:39 command to get the text value? Pablo Rodriguez
2014-12-16 20:49 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).