using ConTeXt/LuaTeX instead of a spreadsheet program

Dear ConTeXt folks, could you please share your experiences with or point me to a resource dealing with the following issue. I need to evaluate some physics experiments where I have some values which got measured. I thought I could use ConTeXt with LuaTeX to do all the calculations instead of the calculator and enter the results by hand or a spreadsheet program. Would I enter the values (not many) at the top of the TeX document and refer to them in the other places? Is an extra file a better approach? Thanks, Paul [1] http://wiki.contextgarden.net/Programming_in_LuaTeX

Am 16.02.2011 um 18:47 schrieb Paul Menzel:
Dear ConTeXt folks,
could you please share your experiences with or point me to a resource dealing with the following issue.
I need to evaluate some physics experiments where I have some values which got measured. I thought I could use ConTeXt with LuaTeX to do all the calculations instead of the calculator and enter the results by hand or a spreadsheet program.
Would I enter the values (not many) at the top of the TeX document and refer to them in the other places? Is an extra file a better approach?
Do you have a example what do you want to achieve? Wolfgang

On 16-2-2011 6:47, Paul Menzel wrote:
Dear ConTeXt folks,
could you please share your experiences with or point me to a resource dealing with the following issue.
I need to evaluate some physics experiments where I have some values which got measured. I thought I could use ConTeXt with LuaTeX to do all the calculations instead of the calculator and enter the results by hand or a spreadsheet program.
Would I enter the values (not many) at the top of the TeX document and refer to them in the other places? Is an extra file a better approach?
I would put them in a lua table and access them when needed (you can load that table from an external file) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------

On 02/16/11 23:46, Martin Schröder wrote:
2011/2/16 Hans Hagen
: I would put them in a lua table and access them when needed (you can load that table from an external file)
Which precision do we have in luatex? Single or double?
double. Best wishes, Taco

On Wed, Feb 16, 2011 at 18:47, Paul Menzel
Dear ConTeXt folks,
could you please share your experiences with or point me to a resource dealing with the following issue.
I need to evaluate some physics experiments where I have some values which got measured. I thought I could use ConTeXt with LuaTeX to do all the calculations instead of the calculator and enter the results by hand or a spreadsheet program.
Would I enter the values (not many) at the top of the TeX document and refer to them in the other places? Is an extra file a better approach?
In your place, I'll go to MS Excel or Openoffice Calc :)
participants (6)
-
Hans Hagen
-
Martin Schröder
-
Paul Menzel
-
Taco Hoekwater
-
Vnpenguin
-
Wolfgang Schuster