From: Giuseppe Bilotta <bourbaki@bigfoot.com>
Cc: ntg-context@ntg.nl
Subject: Re: Calculating in TeX
Date: Thu, 6 Dec 2001 10:50:15 +0100 [thread overview]
Message-ID: <601908040.20011206105015@bigfoot.com> (raw)
In-Reply-To: <Pine.BSF.4.30.0112052223001.3513-100000@chip.physik.fu-berlin.de>
Wednesday, December 05, 2001 Tobias Burnus wrote:
TB> Hi,
TB> I have a nice document where I need to perform small calculation (actually
TB> only calculating the average value):
TB> if((#1+#2+#3) != 0)
TB> (#1*1 + #2*2 + #3*3)/(#1+#2+#3)
TB> else
TB> "--"
TB> Now I was thinking where I could do so in TeX. (I think there are some
TB> macros in ConTeXt, but I cannot find them.)
e-TeX has some arithmetic primitives. Don't know if they are
somehow wrapped in ConTeXt, though.
TB> If there is no good solution I will write a script which calculates this
TB> values and does a inline replacement of the data. -- This is not that
TB> error save since one needs to make sure that this script is run before
TB> texexec...
I'll take the chance to reiterate the need for a plug-in (module)
structure in TeXUtil ...
--
Giuseppe "Oblomov" Bilotta
next prev parent reply other threads:[~2001-12-06 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-05 21:31 Tobias Burnus
2001-12-06 9:50 ` Giuseppe Bilotta [this message]
2001-12-06 11:27 ` Taco Hoekwater
2001-12-06 14:06 e_w_g
[not found] <Pine.BSF.4.30.0112052223001.3513-100000@chip.physik.fu-ber lin.de>
2001-12-10 8:46 ` Hans Hagen
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=601908040.20011206105015@bigfoot.com \
--to=bourbaki@bigfoot.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).