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
