TransWikia.com

! Package hyperref Error: Wrong DVI mode driver option `dvips', (hyperref) because pdfTeX or LuaTeX is running in PDF mode

TeX - LaTeX Asked by user222708 on March 6, 2021

I’m having this Error

! Package hyperref Error: Wrong DVI mode driver option `dvips’, (hyperref) because pdfTeX or LuaTeX is running in PDF mode

when I try to compile my .tex file.

documentclass[hlsections,style=sailor,italian,mode=present,paper=screen]{powerdot}
usepackage{url}

usepackage{url}
usepackage[italian]{babel}
usepackage[latin1]{inputenc}
usepackage{hyperref}
usepackage{pstricks,pst-node,pst-text,pst-3d,pst-plot,pst-grad}
usepackage{pstricks-add}
usepackage{pst-xkey}
newlengthpostercolwidth
setlengthpostercolwidth{0.2textwidth}
newpsstyle{boxstyle}{framearc=0.2,fillstyle=solid,fillcolor=lightgray,framesep=4mm}
newsaveboxPBox
defmyBox#1#2#3{%
 sboxPBox{psframebox[style=boxstyle]{parbox{#1}{#3}}}%
 begin{pspicture}(0,-htPBox)(wdPBox,1.2htPBox)%psgrid
   rput[l](0,0){useboxPBox}
   rput[l](5fboxsep,htPBox){colorbox{pink}{#2hspace{fboxsep}}}
 end{pspicture}%
}
%usepackage{amsmath}
usepackage{colortab}
usepackage{graphicx}
usepackage{alltt}
usepackage{rotating}
input{epsf}
input preamble.tex

usepackage{eurosym}

DeclareGraphicsExtensions{.ps,.eps,.gif,.bmp}
DeclareGraphicsRule{gif}{gif}{*}{}
newcommand{splus}{s^+}
newcommand{sminus}{s^-}

newcommand{vcfill}{vspace*{fill}}
newcommand {grossone}{{smalltextcircled{tiny 1}}}
newtheorem{postulato}{Postulato}


title{TITLE}



author{{ textcolor[rgb]{0.50,0.00,0.50}{xxx}} 
    {Relatore textcolor[rgb]{0.50,0.00,0.50}{xxxx}} 
    {Correlatore textcolor[rgb]{0.50,0.00,0.50}{xxx}} 
    {Corso di Laurea in Matematica} 
    {Universit`a degli Studi xxxxx}
    }


date{ }

date{XXXXXX}


pdsetup{
  %lf={epsfxsize=3em epsfbox{twist_logo.eps}},,
  %rf={raise-0.0emhbox{epsfxsize=10em epsfbox{c:/images/scudo.eps}}},
  palette=Wine,
  trans=Wipe,
  theslide={raise 0.5em hbox{hskip 2em arabic{slide}}},
  list={itemsep=6pt}
}

begin{document}
maketitle[trans=dissolve]

begin{slide}[toc=,bm=]{Sommario}

vspace*{fill}

tableofcontents[content=sections,type=0]

vspace*{fill}

end{slide}

input{slides}
end{document} 

But I came into this type of error. I compiled with pdfLatex. Where am I wrong? Thank you in advice.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP