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)
\rput(2,1){Hydrogen spetrum}
\endpspicture
\stopPSTRICKS




\stoptext


2013/11/25 DesdeChaves <desdecha...@gmail.com>

>  radical solution
>
>  Download and unpack the PSTRicks-TDS.tar to a directory
>  cp ./PSTricks-TDS/tex/generic/*/*.tex .
>  perl -pi.back -e 's/\ifx!#1/\ifx !#1/g;' *.tex
>  rm -rf *.back
>  cp /usr/local/texlive/2013/texmf-dist/tex/context/base/colo-rgb.mkii
> ./colo-rgb.tex
>  run context
>
>  change in m-pstric.* files ps2pdf to pstopdf
>
> tanks a lot
>
> Jorge
>
>
> 2013/11/25 Herbert Voss <herbert.v...@fu-berlin.de>
>
>> 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 catcode regime before inputing pstricks.
>>>
>>> So, the pstricks package does not need to be changed, but the ConTeXt
>>> code that is calling the package needs to be adapted.
>>>
>>
>> ok, understood.
>>
>> thanks,
>> Herbert
>>
>> ____________________________________________________________
>> _______________________
>> If your question is of interest to others as well, please add an entry to
>> the Wiki!
>>
>> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/
>> listinfo/ntg-context
>> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
>> archive  : http://foundry.supelec.fr/projects/contextrev/
>> wiki     : http://contextgarden.net
>> ____________________________________________________________
>> _______________________
>>
>
>
>
> --
> Atentamente
>
> DesdeChaves
>



-- 
Atentamente

DesdeChaves
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to