[NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread 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?


Thanks,

Paul


[1] http://wiki.contextgarden.net/Programming_in_LuaTeX


signature.asc
Description: This is a digitally signed message part
___
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
___


Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Wolfgang Schuster

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

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


Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Hans Hagen

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


Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Vnpenguin
On Wed, Feb 16, 2011 at 18:47, Paul Menzel
paulepan...@users.sourceforge.net 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?




In your place, I'll go to MS Excel or Openoffice Calc :)
___
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
___


Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Martin Schröder
2011/2/16 Hans Hagen pra...@wxs.nl:
 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?

Best
   Martin
___
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
___


Re: [NTG-context] using ConTeXt/LuaTeX instead of a spreadsheet program

2011-02-16 Thread Taco Hoekwater


On 02/16/11 23:46, Martin Schröder wrote:
 2011/2/16 Hans Hagen pra...@wxs.nl:
 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
___
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
___