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.
Document Classes ⇒ pstricks not working
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
pstricks not working
It seems that you simply forgot to include a PSTricks related package in your preamble.
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¹
Code: Select all
\usepackage{pstricks-add}
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: pstricks not working
Yes, that fixed it. I was not clear how the package loading works. Thank you for the quick reply.