From: Hans Hagen <pragma@wxs.nl>
Subject: Re: def with if..else fails in TABLE
Date: Tue, 18 Oct 2005 16:49:13 +0200 [thread overview]
Message-ID: <43550B69.1040101@wxs.nl> (raw)
In-Reply-To: <4354DEEA.7030808@seznam.cz>
Vit Zyka wrote:
>
> I did not test but my opinion is:
>
> - \if*argument is set in the \do*empty
>
> - \bTR, \eTR has optional params so they also use \do*empty
>
> - using test \if*argument AFTER \bTR, \bTD, ... is related to the
> \bTR, ... number of arguments not to the \TestCmd.
your opinion is right
also, make sure that the if else fi don't span arguments (unless you know what you're doing), so:
\bTD \iftrue \eTD \bTD \fi \eTD
kind of things are tricky for instance when \bTD .. \eTD is defined as
\def\bTD#1\eTD{...}
conditionals are parsed in special ways in tex the program (speed optimiziation)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2005-10-18 14:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 22:06 Henning Hraban Ramm
2005-10-18 8:23 ` Peter Rolf
2005-10-18 9:08 ` Henning Hraban Ramm
2005-10-18 10:18 ` Peter Rolf
2005-10-18 11:26 ` Peter Rolf
2005-10-18 11:39 ` Vit Zyka
2005-10-18 14:49 ` Hans Hagen [this message]
2005-10-18 20:07 ` Henning Hraban Ramm
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=43550B69.1040101@wxs.nl \
--to=pragma@wxs.nl \
--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).