ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: ntg-context@ntg.nl
Subject: checking for an undefined constant
Date: Fri, 25 Jun 2010 16:06:34 +0300	[thread overview]
Message-ID: <4C24A9DA.2080608@gmail.com> (raw)
In-Reply-To: <mailman.2040.1277469608.4277.ntg-context@ntg.nl>

Hi,

Now I check for an undefined constant like this:

\ifx \Homeworks \undefined \else Home works -- {\Homeworks} \fi

The useful part is in "else" clause.  How to swap this check so that 
"else" is not needed?

Rgrds,
Vyatcheslav
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2010-06-25 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2040.1277469608.4277.ntg-context@ntg.nl>
2010-06-25 12:42 ` two languages hyphenation Vyatcheslav Yatskovsky
2010-06-25 13:06 ` Vyatcheslav Yatskovsky [this message]
2010-06-25 13:39   ` checking for an undefined constant Aditya Mahajan
2010-06-25 18:16     ` Wolfgang Schuster
     [not found] <mailman.2045.1277489811.4277.ntg-context@ntg.nl>
2010-06-25 21:36 ` Vyatcheslav Yatskovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C24A9DA.2080608@gmail.com \
    --to=yatskovsky@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).