[NTG-context] from latex pstricks to context

2009-07-13 Thread R. Bastian
Bonjour, i am transferring sources from latex to context. so i write separate files for every pstricks part and compile in a pdf-file (tex - dvips - epstopdf) with a script; finally the graphics go into the the text by \externalfigure ... 1. is there a better way ? 2. is there a way to

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
On Mon, Jul 13, 2009 at 9:55 AM, R. Bastian rbast...@free.fr wrote: Bonjour, i am transferring sources from latex to context. so i write separate files for every pstricks part and compile in a pdf-file (tex - dvips - epstopdf) with a script; finally the graphics go into the the text by

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Wolfgang Schuster
Am 13.07.2009 um 09:55 schrieb R. Bastian: Bonjour, i am transferring sources from latex to context. so i write separate files for every pstricks part and compile in a pdf-file (tex - dvips - epstopdf) with a script; finally the graphics go into the the text by \externalfigure ... 1.

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
On Mon, Jul 13, 2009 at 10:19 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 13.07.2009 um 09:55 schrieb R. Bastian: Bonjour, i am transferring sources from latex to context. so i write separate files for every pstricks part and compile in a pdf-file (tex - dvips -

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Mojca Miklavec
On Mon, Jul 13, 2009 at 09:55, R. Bastian wrote: Bonjour, i am transferring sources from latex to context. so i write separate files for every pstricks part and compile in a pdf-file (tex - dvips - epstopdf) with a script; finally the graphics go into the the text by \externalfigure ...

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread R. Bastian
On Mon, 13 Jul 2009 10:11:33 +0200 luigi scarso luigi.sca...@gmail.com scribit: On Mon, Jul 13, 2009 at 9:55 AM, R. Bastian rbast...@free.fr wrote: Bonjour, [...] PS: i dont like metapost hmm, you should change your mind here.. metapost and context are very well integrated :) yo

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread R. Bastian
On Mon, 13 Jul 2009 10:19:32 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 13.07.2009 um 09:55 schrieb R. Bastian: Bonjour, i am transferring sources from latex to context. so i write separate files for every pstricks part and compile in a pdf-file (tex

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
On Mon, Jul 13, 2009 at 11:05 AM, R. Bastian rbast...@free.fr wrote: On Mon, 13 Jul 2009 10:11:33 +0200 luigi scarso luigi.sca...@gmail.com scribit: On Mon, Jul 13, 2009 at 9:55 AM, R. Bastian rbast...@free.fr wrote: Bonjour, [...] PS: i dont like metapost hmm, you should

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
On Mon, Jul 13, 2009 at 11:05 AM, R. Bastian rbast...@free.fr wrote: What is the sense of \startPSTRICKS ... \stopPSTRICKS ? A wrapper around \executesystemcommand, \long\def\dostartPSTRICKS[#1]#2\stopPSTRICKS {\doifelse{\jobsuffix}{dvi} % will some day move to app as switch

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Wolfgang Schuster
Am 13.07.2009 um 11:05 schrieb R. Bastian: 1. is there a better way ? \usemodule[pstricks] are you schuhr ? (c) Yes I am. Nebenbei : the doc http://source.contextgarden.net/m-pstric.tex says %M \usemodule[pstric] etc 'pstricks' is a synonym for 'pstric' and there are more of them for

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Vafa Khalighi
What is the sense of \startPSTRICKS ... \stopPSTRICKS ? Maybe he meant: \startpspicture \stoppspicture The actual macros of pstricks are defined in pstricks.tex and that is all Plain TeX. I myself generally would do something like this in Plain TeX \input pstricks \pspicture(0,0)(2,2)

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Wolfgang Schuster
Am 13.07.2009 um 11:14 schrieb luigi scarso: \executesystemcommand{texexec \bufferprefix\@@texapp.tex --once -- batch}% I suppose that works ok in mkii, but maybe not in mkiv You're wrong, it will only work when you enable the dvi/dvips backend. Wolfgang

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread R. Bastian
On Mon, 13 Jul 2009 10:46:53 +0200 Mojca Miklavec mojca.miklavec.li...@gmail.com scribit: On Mon, Jul 13, 2009 at 09:55, R. Bastian wrote: Bonjour, i am transferring sources from latex to context. so i write separate files for every pstricks part and compile in a pdf-file (tex -

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
On Mon, Jul 13, 2009 at 11:23 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 13.07.2009 um 11:14 schrieb luigi scarso: \executesystemcommand{texexec \bufferprefix\@@texapp.tex --once --batch}% I suppose that works ok in mkii, but maybe not in mkiv You're wrong, it

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Mojca Miklavec
On Mon, Jul 13, 2009 at 11:23, R. Bastianrbast...@free.fr wrote: On Mon, 13 Jul 2009 10:46:53 +0200 Mojca Miklavec mojca.miklavec.li...@gmail.com scribit: On Mon, Jul 13, 2009 at 09:55, R. Bastian wrote: Bonjour, i am transferring sources from latex to context. so i write separate

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Wolfgang Schuster
Am 13.07.2009 um 11:37 schrieb luigi scarso: by default \executesystemcommand{texexec \bufferprefix\@@texapp.tex --once -- batch}% (line 151 on page-app.tex) gives a dvi file ( \executesystemcommand{texexec --pdf \bufferprefix\@@texapp.tex --once --batch}% gives a pdf ) that's weird

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Taco Hoekwater
Wolfgang Schuster wrote: Am 13.07.2009 um 11:37 schrieb luigi scarso: by default \executesystemcommand{texexec \bufferprefix\@@texapp.tex --once --batch}% (line 151 on page-app.tex) gives a dvi file ( \executesystemcommand{texexec --pdf \bufferprefix\@@texapp.tex --once --batch}%

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Mojca Miklavec
(I'm sorry, problems with computer, I'm afraid that I just sent an empty reply ...) On Mon, Jul 13, 2009 at 11:23, R. Bastian wrote: I tried the example http://wiki.contextgarden.net/TikZ texexec compiled it but with an error on coordinate I think it's best to ask the author. When compiling

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
On Mon, Jul 13, 2009 at 11:53 AM, Taco Hoekwater t...@elvenkind.com wrote: that's weird because 'texexec file' without any parameter gives for me pdf since many years and this is also what I got when I tried the pstricks module in the past This was changed a while back: texexec by

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Renaud Aubin
R. Bastian a écrit : 2. is there a way to translate Latex - Context ? PS: i dont like metapost Salut, From my humble experience, I have faced the very same dilemna (back in 2003) and... I have switched to metapost... Did you try to use metapost + metaobj ? See sections 10.3 and 7.7 of

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread R. Bastian
Thanks for your answers. I will compile the old figures in the traditional way and include the pdf with \externalfigure \usemodule[pstricks] \startPSTRICKS ... \stopPSTRICKS does not work on my Minimal installation. For the new figures, I must ... metapost, metaobj, tikz, but also with pyx

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread luigi scarso
but also with pyx reportlab. Beware of proper fonts inclusion when you use these tools . -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread R. Bastian
On Mon, 13 Jul 2009 18:03:19 +0200 luigi scarso luigi.sca...@gmail.com scribit: but also with pyx reportlab. Beware of proper fonts inclusion when you use these tools Yes, I suppose the best is to make figures without any font. In my case, the canvas concept of pyx is a very good tool to

Re: [NTG-context] from latex pstricks to context

2009-07-13 Thread Wolfgang Schuster
Am 13.07.2009 um 17:12 schrieb R. Bastian: Thanks for your answers. I will compile the old figures in the traditional way and include the pdf with \externalfigure \usemodule[pstricks] \startPSTRICKS ... \stopPSTRICKS does not work on my Minimal installation. As I said the pstricks was