[pstricks] Problems with Pdflatex, pstricks and animate- continued

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Nov 16 21:50:50 CET 2008


A. Erhardt schrieb:

>> usefull to load hyperref by
>>
>> \usepackage[dvips,...]{hyperref}
>>
> 
> I usually have included
> 
> \usepackage[dvips]{graphicx,xcolor}
> %\usepackage[pdftex]{graphicx,xcolor}
> %\usepackage{epstopdf}
> %\usepackage[colorlinks=true,linkcolor=blue, urlcolor=cyan]{hyperref}
> in my preamble.

\documentclass[dvips,...]{...}
\usepackage{graphicx}
\usepackage[dvipsnames,prologue]{pstricks}
.. other pstricks packages ...
\usepackage[colorlinks=true,linkcolor=blue, urlcolor=cyan]{hyperref}

makes life easier, because the dvips is passed to all other
packages. With these settings you'll get a document with
hyperlinks. However, when using pdflatex you do not need
the pdftex option, the graphics driver can detect the pdftex
mode by itself. Use only
\documentclass{..}{..} without the dvips option.

You need the pdflatex run only when you want to use png or pdf images
or using the microtype package. In all other cases
a latex->dvips-ps2pdf works well.

Herbert


More information about the PSTricks mailing list