ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* using ConTeXt/LuaTeX instead of a spreadsheet program
@ 2011-02-16 17:47 Paul Menzel
  2011-02-16 17:50 ` Wolfgang Schuster
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul Menzel @ 2011-02-16 17:47 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 606 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using ConTeXt/LuaTeX instead of a spreadsheet program
  2011-02-16 17:47 using ConTeXt/LuaTeX instead of a spreadsheet program Paul Menzel
@ 2011-02-16 17:50 ` Wolfgang Schuster
  2011-02-16 18:41 ` Hans Hagen
  2011-02-16 19:11 ` Vnpenguin
  2 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-02-16 17:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using ConTeXt/LuaTeX instead of a spreadsheet program
  2011-02-16 17:47 using ConTeXt/LuaTeX instead of a spreadsheet program Paul Menzel
  2011-02-16 17:50 ` Wolfgang Schuster
@ 2011-02-16 18:41 ` Hans Hagen
  2011-02-16 22:46   ` Martin Schröder
  2011-02-16 19:11 ` Vnpenguin
  2 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2011-02-16 18:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Paul Menzel

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using ConTeXt/LuaTeX instead of a spreadsheet program
  2011-02-16 17:47 using ConTeXt/LuaTeX instead of a spreadsheet program Paul Menzel
  2011-02-16 17:50 ` Wolfgang Schuster
  2011-02-16 18:41 ` Hans Hagen
@ 2011-02-16 19:11 ` Vnpenguin
  2 siblings, 0 replies; 6+ messages in thread
From: Vnpenguin @ 2011-02-16 19:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Feb 16, 2011 at 18:47, Paul Menzel
<paulepanter@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using ConTeXt/LuaTeX instead of a spreadsheet program
  2011-02-16 18:41 ` Hans Hagen
@ 2011-02-16 22:46   ` Martin Schröder
  2011-02-17  6:07     ` Taco Hoekwater
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Schröder @ 2011-02-16 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2011/2/16 Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: using ConTeXt/LuaTeX instead of a spreadsheet program
  2011-02-16 22:46   ` Martin Schröder
@ 2011-02-17  6:07     ` Taco Hoekwater
  0 siblings, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2011-02-17  6:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users



On 02/16/11 23:46, Martin Schröder wrote:
> 2011/2/16 Hans Hagen <pragma@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-17  6:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-16 17:47 using ConTeXt/LuaTeX instead of a spreadsheet program Paul Menzel
2011-02-16 17:50 ` Wolfgang Schuster
2011-02-16 18:41 ` Hans Hagen
2011-02-16 22:46   ` Martin Schröder
2011-02-17  6:07     ` Taco Hoekwater
2011-02-16 19:11 ` Vnpenguin

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).