[OS X TeX] Installing PSTricks

Peter Dyballa Peter_Dyballa at Web.DE
Fri Oct 6 14:43:40 EDT 2006

Am 06.10.2006 um 20:08 schrieb Nerses Ohanyan:

> But why am I getting an error message every time I
> run the test tex file that comes with pstricks:
> ! Undefined control sequence.
> \set at color ->\pdfliteral {\current at color
>                                         }\aftergroup \reset at color
> l.129 ...let\current at color\default at color\set at color
>                                                  }
> ?

This can be due to using pdftex – the PSTricks make it necessary that  
you use "old" latex, that you enable the execution of TeX external  
scripts or programmes, that you run latex more than once, and that  
you convert the DVI output to PDF. Which programme did you use? (For  
TeXShop an "engine," a specialised shell script, ps4pdf, is available.)

> Also, when I use pstricks package stuff in my own tex file (i.e.
> {\gray blah blah}) the tex file compiles but the pstricks command does
> not actually execute (if that's the right word).

I do not recognise {\gray blah blah} as a PSTricks command. If you  
just want to make your text colourful, check (x)color.sty!  
Documentation available via 'texdoc xcolor' ... and it works with pdf 



To be is to do.
                        -- I. Kant
To do is to be.
                        -- A. Sartre
                        -- F. Flintstone

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list