Re: [NTG-context] pstrics module again

2013-11-26 Thread Herbert Voss
Am 26.11.2013 00:08, schrieb DesdeChaves: I d'ont know how to fix the picture size. No errors at all, but the figure size isn't correct. did you used ps2pdf -dAutoRotatePages=/None file ?? Herbert \usemodule[pstric] \starttext Hydrogen spectrum \startPSTRICKS \input pst-spectra.tex

[NTG-context] pstrics module again

2013-11-25 Thread DesdeChaves
Dear sirs The pstrics module don't work anymore. I tried to run this simple code but I found a lot of errors. \usemodule[pstric] \starttext \startPSTRICKS \pspicture(0,0)(20,20) \psline(0,0)(20,20) \psline(1,1)(10,10) \endpspicture \stopPSTRICKS \stoptext This module is no longer supported?

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, DesdeChaves wrote: Dear sirs The pstrics module don't work anymore. I tried to run this simple code but I found a lot of errors. \usemodule[pstric] \starttext \startPSTRICKS \pspicture(0,0)(20,20) \psline(0,0)(20,20) \psline(1,1)(10,10) \endpspicture \stopPSTRICKS

Re: [NTG-context] pstrics module again

2013-11-25 Thread Herbert Voss
Am 25.11.2013 19:55, schrieb Aditya Mahajan: This is what I did. 1. Compile the file. You get an error that some pstrick file is missing. Locate that file in the texlive directory and copy it to the current directory. 2. Repeat until you get an error that \ifx! is not a valid control

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, Herbert Voss wrote: Am 25.11.2013 19:55, schrieb Aditya Mahajan: This is what I did. 1. Compile the file. You get an error that some pstrick file is missing. Locate that file in the texlive directory and copy it to the current directory. 2. Repeat until you get an error

Re: [NTG-context] pstrics module again

2013-11-25 Thread Herbert Voss
Am 25.11.2013 21:25, schrieb Aditya Mahajan: \unprotect \input pstricks \protect and therefore when ConTeXt sees \ifx!#1 it thinks that \ifx! is a csname. Adding a space after \ifx avoids that. As I said in my previous message, this is easy to fix at ConTeXt end defining an appropriate

Re: [NTG-context] pstrics module again

2013-11-25 Thread DesdeChaves
I d'ont know how to fix the picture size. No errors at all, but the figure size isn't correct. \usemodule[pstric] \starttext Hydrogen spectrum \startPSTRICKS \input pst-spectra.tex \input pstricks-add.tex \pspicture(0,-2.5)(\textwidth,1.6) \psspectrum[element=H, emission](0,0)(\textwidth,1.5)

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, DesdeChaves wrote: I d'ont know how to fix the picture size. No errors at all, but the figure size isn't correct. Confirmed. \usemodule[pstric] \starttext Hydrogen spectrum \startPSTRICKS \input pst-spectra.tex \input pstricks-add.tex

Re: [NTG-context] pstrics module again

2013-11-25 Thread Aditya Mahajan
On Mon, 25 Nov 2013, Aditya Mahajan wrote: It has been years since I used dvips, so I don't remember how to correct that. Basically, the bug is with the following file: \starttext \startTEXpage What will happen now \stopTEXpage \stoptext Process using mtxrun --script test --dvips and then