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
General ⇒ Using PSTricks with pdf output in TeXnicCenter.
-
- Posts: 7
- Joined: Sun Jan 28, 2007 1:18 pm
- pumpkinegan
- Posts: 91
- Joined: Thu May 03, 2007 10:29 pm
Using PSTricks with pdf output in TeXnicCenter.
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.
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.
Using PSTricks with pdf output in TeXnicCenter.
From the PStricks-site:
I learned something from it
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
