General ⇒ Getting pstricks to work
Getting pstricks to work
I just installed MikTeX 2.8 and TexnicCenter, and I'm having trouble getting packages (namely pstricks) to work. I can create a "Hello World" file without a problem, but if I use the pstricks package (or pgf and tikz, even), nothing happens; the compilation seems to skip over anything that comes after the \usepackage command. Here's what I did:
\documentclass{article}
\begin{document}
Hello world!
\end{document}
This works just fine using any output profile. But using the following code only produces my most recent output (Hello world!) after I view the "compiled" file:
\documentclass{article}
\usepackage{pstricks}
\begin{document}
Hello world! Today is Wednesday.
\end{document}
The "Today is Wednedsay." part is ignored. It seems like including the package causes the compilation to stop early without producing an error message. Some packages, amssymb for example, don't cause this problem.
Any suggestions? Thanks!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Getting pstricks to work
See the list of frequently done errors on the PSTricks homepage. Furthermore you should give some useful information like a log file. Otherwise it becomes very difficult to give specific help.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10