Document Classespstricks not working

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
ashish
Posts: 3
Joined: Wed Nov 12, 2008 11:55 pm

pstricks not working

Post by ashish »

Hi. I just installed TexLive on my Mac, using the MacTex distribution. I cannot compile a latex file in which I use the pspicture environment, which is provided by the pstricks package. I get:

! LaTeX Error: Environment pspicture undefined.

I thought TexLive installs all of these packages. I do find many pstricks related files under /usr/local/texlive/2008, but I guess they are not recognized. Does anyone please know how to make PSTricks work. Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pstricks not working

Post by localghost »

It seems that you simply forgot to include a PSTricks related package in your preamble.

Code: Select all

\usepackage{pstricks-add}
If you did, there should be some more error messages. Posting the complete log file here as attachment might help.


Best regards and welcome to the board
Thorsten¹
ashish
Posts: 3
Joined: Wed Nov 12, 2008 11:55 pm

Re: pstricks not working

Post by ashish »

Yes, that fixed it. I was not clear how the package loading works. Thank you for the quick reply.
Post Reply