[pstricks] Pstricks and TexShop

Manel Sol Puig msol at xtec.cat
Sun Nov 22 10:43:28 CET 2009


I have been working  on Latex and Pstricks for several years with  
Windows system of Microsoft without having any problems. Now I have  
changed to Mac os x (version 10.5.8) and I am working on TexShop  
(version 2.26). I have dificulties with Pstricks package.



My problem is: I typeset this code:



\documentclass[12pt,a4paper]{article}

  \usepackage[applemac]{inputenc}

  \usepackage[catalan]{babel}

\usepackage{amsmath,amssymb}



\usepackage{pstricks}



...Fonts

\begin{document}

\begin{pspicture}(10,7)

\rput(8.7,6.2){Esquema de la recerca 67}

\psline(1,2)(3,4)

\end{pspicture}



\end{document}



If I compile with Tex and DVI the result is:



....

Output written on esquema_1.dvi (1 page, 748 bytes).

Transcript written on esquema_1.log.

### /usr/texbin/dvips -R -Poutline  -o /tmp/altpdflatex. 
3960-1258881076/esquema_1.ps esquema_1.dvi

This is dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com 
)

' TeX output 2009.11.22:1011' -> /tmp/altpdflatex.3960-1258881076/ 
esquema_1.ps

<tex.pro><pstricks.pro><pst-dots.pro><pst-node.pro><pst-grad.pro>

<pst-coil.pro><pst-text.pro><texps.pro><special.pro><color.pro>.  
<cmr12.pfb>

[1]

### ps2pdf13 /tmp/altpdflatex.3960-1258881076/esquema_1.ps /tmp/ 
altpdflatex.3960-1258881076/esquema_1.pdf

/usr/texbin/simpdftex: line 491: ps2pdf13: command not found

### FAILED to generate /tmp/altpdflatex.3960-1258881076/esquema_1.pdf ()





But, if I compile with pdftex the result is the following  message:



[Loading MPS to pdf converter(version 2006.09.02)]



! Undefined control sequence.



<recently read> \c at lor@to at ps



l .41 \psline(

                          1,2)(3,4)

?

Can someone help me, please?  What do I have  to do?



Thanks very much



Manel sol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20091122/5d0564f4/attachment.html>


More information about the PSTricks mailing list