Re: [NTG-context] Re: function plotting

2005-10-05 Thread Peter Münster
On Tue, 4 Oct 2005, Alexander Lazic wrote: \usemodule[pstric] \starttext \startPSTRICKS \psplot[plotpoints=100]{0}{1}{x 360 mul sin} \stopPSTRICKS \stoptext Thanx i have try an get: figures : figure pstest-texapp can not be found but there is the file: pstest-texapp.tex

[NTG-context] Re: function plotting

2005-10-05 Thread David Arnold
Alexander, There is a lot of plots you can do with Metapost. Ordinary, every day stuff. For example: beginfig(1); % initialize a and c for f(x)=|x-a| and g(x)=c numeric a, c; a=-2; c=2; % initialize function label abcissas and postions numeric flabel, glabel; flabel:=-5; glabel:=-5; %

Re: [NTG-context] Re: function plotting

2005-10-05 Thread luigi.scarso
Peter Münster wrote: On Tue, 4 Oct 2005, Alexander Lazic wrote: \usemodule[pstric] \starttext \startPSTRICKS \psplot[plotpoints=100]{0}{1}{x 360 mul sin} \stopPSTRICKS \stoptext Thanx i have try an get: figures : figure pstest-texapp can not be found but there is the

[NTG-context] Re: function plotting

2005-10-05 Thread Hans Hagen
Mojca Miklavec wrote: I use gnuplot which makes graphs of superb visual quality and has extensive support for many different function manipulations and weird stuff that you want to do with it. I do something like: set terminal latex set output file.tex set title '\bf My wonderful function

Re: [NTG-context] Re: function plotting

2005-10-05 Thread Hans Hagen
Christopher Creutzig wrote: Mojca Miklavec wrote: and then \input file inside of the main LaTeX file. Gnuplot cannot make output in ConTeXt (yet), but perhaps you can include the Since afaik ConTeXt does not have an equivalent of LaTeX's picture environment, I don't see much point

Re: [NTG-context] Re: function plotting

2005-10-05 Thread Alexander Lazic
Hi, On Die 04.10.2005 23:17, David Arnold wrote: [Very helpfull text snipped] Wow thanx ;-) And for a good stats package, see: http://www-math.univ-poitiers.fr/~phan/statsmac.html And for good circuits diagrams, see: http://www.cnm.es/~pserra/schema/whatis.html Thanx also. Don't

Re: [NTG-context] Re: function plotting

2005-10-05 Thread Alexander Lazic
On Mit 05.10.2005 09:05, Hans Hagen wrote: gnuplot is great indeed, but the output is rather large; it would be nice if there was a real good output mode (say, comparable to the output produced by metapost: compact, parsable); Ack. btw, is it really that difficult to use gnuplot output in

[NTG-context] Anchoring layer

2005-10-05 Thread Thomas A. Schmitz
I'm trying to write a module that will mimick the behavior of crop.sty in LaTeX (providing fancier cropmarks than the ones given by the ConTeXt \setuplayout command). I'm done with the code for the cropmarks, and this is working fine. Now I want to have a status line in between the two top

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Peter Rolf
Hi Thomas, Thomas A. Schmitz wrote: I'm trying to write a module that will mimick the behavior of crop.sty in LaTeX (providing fancier cropmarks than the ones given by the ConTeXt \setuplayout command). I'm done with the code for the cropmarks, and this is working fine. Now I want to have

Re: [NTG-context] Re: function plotting

2005-10-05 Thread David Munger
gnuplot is great indeed, but the output is rather large; it would be nice if there was a real good output mode (say, comparable to the output produced by metapost: compact, parsable); btw, is it really that difficult to use gnuplot output in context? Hans I often use metapost output

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Thomas A. Schmitz
Thanks for your suggestion, but I didn't get it to work. In the end, I had recourse to some low-level stuff (caution, ugly code ahead!): \defineoverlay[info][{\getbuffer[info]}] \setupbackgrounds[page][background={info}] \startbuffer[info] \vbox to \paperheight \bgroup \vskip -1 cm

Re: [NTG-context] Re: function plotting

2005-10-05 Thread David Arnold
It's been a while since I used gnuplot, but at one time it was able to export as Metapost code. Does it still do that? On Oct 5, 2005, at 12:18 AM, Hans Hagen wrote: Christopher Creutzig wrote: Mojca Miklavec wrote: and then \input file inside of the main LaTeX file. Gnuplot cannot

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Peter Rolf
Thomas A. Schmitz wrote: Thanks for your suggestion, but I didn't get it to work. In the end, I had recourse to some low-level stuff (caution, ugly code ahead!): :)) this time tested: % interface=en output=pdftex % Time-stamp: Mittwoch, 05 Oktober 2005 15:41:00; layer.tex %

[NTG-context] Re: function plotting

2005-10-05 Thread Mojca Miklavec
Hans Hagen wrote: gnuplot is great indeed, but the output is rather large; it would be nice if there was a real good output mode (say, comparable to the output produced by metapost: compact, parsable); LaTeX mode IS parsable and I often edit it manually (except the part which does the smooth

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Thomas A. Schmitz
Wonderful, this looks much better and is exactly what I wanted! [y=-20mm, if I want something on top of the logical paper] Thanks a lot! Thomas On Oct 5, 2005, at 3:55 PM, Peter Rolf wrote: \definelayer[markings][width=\paperwidth, height=\paperheight, repeat=yes]

Re: [NTG-context] Re: function plotting

2005-10-05 Thread Alexander Lazic
On Mit 05.10.2005 08:43, luigi.scarso wrote: Peter Münster wrote: I don't understand your problem, but perhaps you should write the psplot command inside a \pspicture(0,-1)(1,1) ... \endpspicture. This works for me (I suppose your code is in pstest-texapp.tex): Thanx both for your answer,

[NTG-context] getvariable

2005-10-05 Thread Thomas A. Schmitz
I thought I had understood at least some aspects of macros, but it turns out I'm as lost as always. Here's my problem: I'm writing a module which will have a \setupcommand. The value is given in a [key=pair] list, so I thought I could use \getvariable. What I have is

[NTG-context] Header design

2005-10-05 Thread Alexander Lazic
Hi, i have now try to setup the CD pagedesign. Please can anyone help me to find a solution for this setup ;-) What i need is: Title_of_the_document | section on the left hand side in the header. I have found a solution for the headerrule but for the text ... I have added my solution on the