From: Stephen Gadsby <Stephen.Gadsby@millersville.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: New to TeX, ConTeXt - How to conditionally include document sections?
Date: Fri, 24 Jul 2009 09:36:15 -0400 [thread overview]
Message-ID: <73D5696F6096F9478FA4CA43E2FD99B96E245981@mail6.millersville.edu> (raw)
In-Reply-To: <alpine.LNX.2.00.0907231705390.22549@ybpnyubfg.ybpnyqbznva>
> From: Hans Hagen
>
> \doifelse{stringa}{stringb}{...}{...}
> From: Aditya Mahajan
>
> For what you want, modes should be sufficient. If for
> something else you really want to do string comparisons,
> ConTeXt provides a bunch of \doifelse commands
> http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions
Thank you both. I feel quite foolish for somehow overlooking \doifelse. I appreciate how kindly you've pointed out what should have been obvious to me.
I'll also look more closely at modes. I'll admit I did briefly look at information on them, but I didn't immediately see their usefulness. I'll now spend some time reading up on them.
Thank you.
-Stephen J. Gadsby, Multimedia Specialist
Web & Multimedia Services, Information Technology
Millersville University of Pennsylvania, USA
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2009-07-24 13:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 20:25 Stephen Gadsby
2009-07-23 20:34 ` Hans Hagen
2009-07-23 21:10 ` Aditya Mahajan
2009-07-24 13:36 ` Stephen Gadsby [this message]
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=73D5696F6096F9478FA4CA43E2FD99B96E245981@mail6.millersville.edu \
--to=stephen.gadsby@millersville.edu \
--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).