On 12/19/2012 07:09 PM, Troy Henderson wrote:
Is there a way to for ConTeXt to do basic arithmetic operations?  For
example,

\calc{1+2} and have it return 3 or

\calc{1/3.8} and have it return 0.263157894736842 (or rounded)

Troy

http://wiki.contextgarden.net/Programming_in_LuaTeX#Examples

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to