<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
On 2012-03-23 15:39, Pascal Lederer wrote:
<blockquote cite="mid:4F6C8B14.3050507@lps.u-psud.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
! Package hyperref Error: Wrong DVI mode driver option `ps2pdf',
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">(hyperref)
because pdfTeX or LuaTeX is running in PDF mode.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">See the
hyperref package documentation for explanation.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">Type H
<return> for immediate help.</p>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
What can I do to suppress that error?<br>
</blockquote>
<br>
It seems like a clash of options/programs. The ps2pdf driver option
apparently is not compatible with the program you use for
typesetting. In my experience, it's usually not necessary to give
any driver at all (at least if you're using pdftex). So I'd try
removing it (if you added it, that is; not if hyperref is loaded in
the class or a package you use, in which case I'd have a look at the
respective documentation).<br>
<br>
In any case, the primary purpose of this mailing list is to discuss
the TeXworks front end, not LaTeX itself. So you might be better off
asking this question on a dedicated (La)TeX mailing list (e.g.,
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/texhax">http://tug.org/mailman/listinfo/texhax</a>). It would also be good if
you could include a (minimal) example to demonstrate the problem.<br>
<br>
Regards,<br>
Stefan<br>
</body>
</html>