ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* spreadsheet
@ 2005-10-13 16:16 Peter Münster
  2005-10-24 22:53 ` spreadsheet Hans Hagen Test
  2005-10-25  5:10 ` spreadsheet VnPenguin
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Münster @ 2005-10-13 16:16 UTC (permalink / raw)


Hello,

I would like to do some spreadsheet like calculations with ConTeXt. Before
using the same package, I've used once upon a time with LaTeX (realcalc), I
would like to know, if there are already some macros for calculations in
ConTeXt, or if you could recommend some method, how to do that.

FYI my old LaTeX-file:

\documentclass{article}
\usepackage{dcolumn}
\input{realcalc}% on CTAN
\newcommand*\cc[1]{\multicolumn{1}{c}{#1}}
\def\scanwert\ignorespaces#1\unskip{\gdef\WERT{#1}#1}
\begin{document}
\begin{tabular}{>{\scanwert}D{.}{,}{-1}%
    >{\Rmul\res\WERT{6.55957}\Radd\res\res{0.005}\Rtrunc\res2\res\res}%
    D{.}{,}{-1}}%
  \cc{Euro}&\cc{FF}\\\hline
  20.33 & \\
  20.3 & \\
  20 & \\
  14.46 &
\end{tabular}
\end{document}

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: spreadsheet
  2005-10-13 16:16 spreadsheet Peter Münster
@ 2005-10-24 22:53 ` Hans Hagen Test
  2005-10-25  8:04   ` spreadsheet Jilani Khaldi
  2005-10-25  5:10 ` spreadsheet VnPenguin
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen Test @ 2005-10-24 22:53 UTC (permalink / raw)


� wrote:

>Hello,
>
>I would like to do some spreadsheet like calculations with ConTeXt. Before
>using the same package, I've used once upon a time with LaTeX (realcalc), I
>would like to know, if there are already some macros for calculations in
>ConTeXt, or if you could recommend some method, how to do that.
>  
>
wait till pdfluatex is out -)

Hans

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

* Re: spreadsheet
  2005-10-13 16:16 spreadsheet Peter Münster
  2005-10-24 22:53 ` spreadsheet Hans Hagen Test
@ 2005-10-25  5:10 ` VnPenguin
  1 sibling, 0 replies; 7+ messages in thread
From: VnPenguin @ 2005-10-25  5:10 UTC (permalink / raw)


For me, I do all in Excel/OOoCalc then export it into ConTeXt format :-)
Q.

On 10/13/05, Peter Münster <pmlists@free.fr> wrote:
> Hello,
>
> I would like to do some spreadsheet like calculations with ConTeXt. Before
> using the same package, I've used once upon a time with LaTeX (realcalc), I
> would like to know, if there are already some macros for calculations in
> ConTeXt, or if you could recommend some method, how to do that.
>
> FYI my old LaTeX-file:
>
> \documentclass{article}
> \usepackage{dcolumn}
> \input{realcalc}% on CTAN
> \newcommand*\cc[1]{\multicolumn{1}{c}{#1}}
> \def\scanwert\ignorespaces#1\unskip{\gdef\WERT{#1}#1}
> \begin{document}
> \begin{tabular}{>{\scanwert}D{.}{,}{-1}%
>     >{\Rmul\res\WERT{6.55957}\Radd\res\res{0.005}\Rtrunc\res2\res\res}%
>     D{.}{,}{-1}}%
>   \cc{Euro}&\cc{FF}\\\hline
>   20.33 & \\
>   20.3 & \\
>   20 & \\
>   14.46 &
> \end{tabular}
> \end{document}
>
> Cheers, Peter
>

--
http://vnoss.org
Vietnamese Open Source Software Community

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

* Re: spreadsheet
  2005-10-24 22:53 ` spreadsheet Hans Hagen Test
@ 2005-10-25  8:04   ` Jilani Khaldi
  2005-10-25  9:56     ` spreadsheet Hans Hagen Test
  0 siblings, 1 reply; 7+ messages in thread
From: Jilani Khaldi @ 2005-10-25  8:04 UTC (permalink / raw)



> wait till pdfluatex is out -)

Does it have to do with the Lua language, or "lua" in middle has an 
other meaning?

jk

-- 
// Jilani KHALDI
http://jkhaldi.oltrelinux.com

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

* Re: spreadsheet
  2005-10-25  8:04   ` spreadsheet Jilani Khaldi
@ 2005-10-25  9:56     ` Hans Hagen Test
  2005-10-25 10:35       ` spreadsheet luigi.scarso
  2005-10-25 13:20       ` spreadsheet Jilani Khaldi
  0 siblings, 2 replies; 7+ messages in thread
From: Hans Hagen Test @ 2005-10-25  9:56 UTC (permalink / raw)


Jilani Khaldi wrote:

>
>> wait till pdfluatex is out -)
>
>
> Does it have to do with the Lua language, or "lua" in middle has an 
> other meaning?

the language

http://www.pragma-ade.com/general/manuals/luatex.pdf

Hans

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

* Re: spreadsheet
  2005-10-25  9:56     ` spreadsheet Hans Hagen Test
@ 2005-10-25 10:35       ` luigi.scarso
  2005-10-25 13:20       ` spreadsheet Jilani Khaldi
  1 sibling, 0 replies; 7+ messages in thread
From: luigi.scarso @ 2005-10-25 10:35 UTC (permalink / raw)


Hans Hagen Test wrote:

> Jilani Khaldi wrote:
>
>>
>>> wait till pdfluatex is out -)
>>
>>
>>
>> Does it have to do with the Lua language, or "lua" in middle has an 
>> other meaning?
>
>
> the language
>
> http://www.pragma-ade.com/general/manuals/luatex.pdf
>
> Hans

I cannot resist....
http://www.guit.sssup.it/GuITmeeting/2005/fotografie_1.php

near "Sembra una bomba!"

luigi

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

* Re: spreadsheet
  2005-10-25  9:56     ` spreadsheet Hans Hagen Test
  2005-10-25 10:35       ` spreadsheet luigi.scarso
@ 2005-10-25 13:20       ` Jilani Khaldi
  1 sibling, 0 replies; 7+ messages in thread
From: Jilani Khaldi @ 2005-10-25 13:20 UTC (permalink / raw)



> the language
>
> http://www.pragma-ade.com/general/manuals/luatex.pdf

Just one word. Wonderful!

jk

-- 
// Jilani KHALDI
http://jkhaldi.oltrelinux.com

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

end of thread, other threads:[~2005-10-25 13:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-13 16:16 spreadsheet Peter Münster
2005-10-24 22:53 ` spreadsheet Hans Hagen Test
2005-10-25  8:04   ` spreadsheet Jilani Khaldi
2005-10-25  9:56     ` spreadsheet Hans Hagen Test
2005-10-25 10:35       ` spreadsheet luigi.scarso
2005-10-25 13:20       ` spreadsheet Jilani Khaldi
2005-10-25  5:10 ` spreadsheet 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).