Re: [NTG-context] How to prevent empty page after MPpage?

2009-07-13 Thread Vafa Khalighi
Thanks a lot!!! The magic apparently works. I don't understand what exactly the obeylines macro does (it seems that it just makes sure that none of line endings get lost, not even inside definition itself). sometimes when you typeset a piece of text like poems, you actually want to go to

[NTG-context] First time user trying to get Context to work

2009-07-13 Thread Harrie Frericks
This is my first post to the list. I'm a first time user and I'm very eager to give Context a try. However, so far I've been unable to get Context to work properly. Maybe someone can help. I'm using a standard Windows PC running XP SP2. I'm using the minimals version. There are no other Tex

Re: [NTG-context] How to prevent empty page after MPpage?

2009-07-13 Thread Hans Hagen
Mojca Miklavec wrote: On Sun, Jul 12, 2009 at 22:45, Hans Hagen wrote: Mojca Miklavec wrote: Hello, The following code works OK in mkiv, but in mkii it generates a spurious empty page at the end. How can I get rid of it? (I think that it used to work OK a while ago.) \def\startGNUPLOTpage%

Re: [NTG-context] How to prevent empty page after MPpage?

2009-07-13 Thread Hans Hagen
Mojca Miklavec wrote: On Sun, Jul 12, 2009 at 23:02, Wolfgang Schuster wrote: Am 12.07.2009 um 22:49 schrieb Mojca Miklavec: This is a complete minimal example (no need for any external package). It seems that \obeyMPlines or something related introduces a space somewhere, and that generates

[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] First time user trying to get Context to work

2009-07-13 Thread Hans Hagen
Harrie Frericks wrote: Suggestion: when running first-setup.bat this error is produced on the very first line. However, since there is a lot of text scrolling down the screen this error is easily overlooked. It may be a good idea to unset the RUBYOPT variable in this .bat file. It may also be a

Re: [NTG-context] How to prevent empty page after MPpage?

2009-07-13 Thread Hans Hagen
Vafa Khalighi wrote: Thanks a lot!!! The magic apparently works. I don't understand what exactly the obeylines macro does (it seems that it just makes sure that none of line endings get lost, not even inside definition itself). sometimes when you typeset a piece of text like poems, you

Re: [NTG-context] generating figures lists

2009-07-13 Thread Hans Hagen
Piotr Kopszak wrote: Hello, How do we generate them with recent MInimals? texexec --figures=c --paperoffset=.5cm *.pdf *.png *.jpg does -- figures alternative=c work? -- - Hans Hagen

Re: [NTG-context] First time user trying to get Context to work

2009-07-13 Thread Harrie Frericks
Problem 2 (not-solved) I'm getting the infamous error: I can't find the format file `cont-en.fmt'! I searched this list and tried texexec --make --all This doesn't solve the problem. The problem is located in this part of the output: did you run 'setuptex' in the tex path first? Hans

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] First time user trying to get Context to work

2009-07-13 Thread Hans Hagen
Harrie Frericks wrote: Problem 2 (not-solved) I'm getting the infamous error: I can't find the format file `cont-en.fmt'! I searched this list and tried texexec --make --all This doesn't solve the problem. The problem is located in this part of the output: did you run 'setuptex' in the tex

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] How to prevent empty page after MPpage?

2009-07-13 Thread Mojca Miklavec
On Mon, Jul 13, 2009 at 09:50, Hans Hagen wrote: Mojca Miklavec wrote: \def\startGNUPLOTpage  {\begingroup\obeyMPlines\dostartGNUPLOTpage} \long\def\dostartGNUPLOTpage#1\stopGNUPLOTpage  {\endgroup\startMPpage#1\stopMPpage} Thanks a lot!!! The magic apparently works. I don't understand

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] First time user trying to get Context to work

2009-07-13 Thread Harrie Frericks
I did some more debugging: In the file kpse.rb I entered an exception object after line 274, like this: unless done then formatpaths.each do |fp| fpp = fp.sub(/#{engine}\/*$/o,'') begin

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] How to prevent empty page after MPpage?

2009-07-13 Thread Hans Hagen
Mojca Miklavec wrote: The macro handles both MKII and MKIV and I had problem in MKII. Not all restrictions are gone now (I still get memory limit exceeded in MKIV) and even if MP handles long lines now ... I don't want to risk since the code is already there anyway. in mkiv you can use a

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] List of all math macros

2009-07-13 Thread Aditya Mahajan
On Thu, 9 Jul 2009, Maurí­cio wrote: Is there a command that prints all math macros available in ConTeXt? http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros Aditya___ If your question is of interest

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] List of all math macros

2009-07-13 Thread Maurí­cio
Is there a command that prints all math macros available in ConTeXt? http://wiki.contextgarden.net/Math/basic#List_of_All_Math_macros I think \showmathcharacters is not supposed to work anymore. Maurício ___ If

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

[NTG-context] verses together

2009-07-13 Thread Ciro Soto
I am writing a book with poems and need to maintain four, sometimes five, lines together in the same page. I don't know in advance which four lines will be split at the end of the page. How would I implement this? Using \testpage[n] works, only if I know in advance where the the split happens.