GeneralUsing PSTricks with pdf output in TeXnicCenter.

General information and discussion about TeXnicCenter
Post Reply
GeorgeLeCompte
Posts: 7
Joined: Sun Jan 28, 2007 1:18 pm

Using PSTricks with pdf output in TeXnicCenter.

Post by GeorgeLeCompte »

Using profile LaTeX=>DVI I can generate appropriate output; but using profile LaTeX=>PDF the same code generates 82 errors. I vaguely remember encountering this problem before and was instructed to build something like LaTex=>DVI=>PDF, but I don't know how to do that.

Help please

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

Using PSTricks with pdf output in TeXnicCenter.

Post by pumpkinegan »

This was covered before: http://www.latex-community.org/viewtopic.php?f=31&t=384

pstricks is only compatible with latex.exe. In TeXnicCenter, LaTeX => PDF means pdflatex.exe; but you want either latex.exe followed by dvips.exe followed by ps2pdf (Ghostscript), or latex.exe followed by dvipdf.exe.

Have a look at the post I linked to. It shows how to create a suitable build profile. Alternatively, the PGF/TikZ package can create graphics for pdflatex.exe.
sveioen
Posts: 28
Joined: Tue Mar 06, 2007 1:04 am

Using PSTricks with pdf output in TeXnicCenter.

Post by sveioen »

From the PStricks-site:
Frequently done errors ...

1. Do not choose pstricks.tex as a file name, it is the name of the main PSTricks package! Windows users pay attention here, there is no difference in lower or upper case letters.
2. Do not choose package pstcol.sty, it is rather out of date. pstricks.sty ( >= v. 1.04 ) does a better job, it also loads by default the extended color package xcolor.sty
3. PSTricks is PostScript Tricks, viewing your PS output with a PS viewer is appropriate. Nearly all DVI-viewers cannot show the correct output.
4. You cannot run your files with pdftex or pdflatex, see topic pdfoutput
5. linestyle=dashed doesn't work after an update of pstricks.tex. You should update also pstricks.pro and pstricks.sty.
6. Error message: no room for a new dimen. See UK TeX-FAQ for what to do ...
7. \pspicture[0.5] ... doesn't work anymore! Read the docs!


I learned something from it ;)
Post Reply