[XeTeX] hyperref broken??
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Sun Oct 3 10:41:05 CEST 2010
On Sun, Oct 03, 2010 at 12:12:40AM -0400, David Perry wrote:
> I just updated MiKTeX; I noticed that both hyperref and memoir were
> included in the update. Now my book (which uses memoir) won't
> compile.
>
> The following lines have been in my preamble for months without change:
>
> \usepackage[hypertex,
> Now I get this:
> ! Package hyperref Error: Wrong DVI mode driver option `hypertex',
> (hyperref) because XeTeX is running.
This is correct. XeTeX is used to generate PDF, `hypertex' is
a driver for DVI mode. You can easily omit the option, because
XeTeX is automatically detected.
If you want to process the file without XeTeX in DVI mode
without changing options, you can use
driverfallback=hypertex
Then this driver setting is ignored, if XeTeX, pdfTeX in PDF mode,
VTeX are detected.
> So I read the latest hyperref doc. I saw the section about the
> various drivers and so forth, but it's not clear to me how to fix
> this. hyperref is obviously detecting that xetex is running, which
> the manual says it will do. I tried removing the reference to
> 'hypertex' in the hope that it could find the right driver, but that
> just gave a lot more meaningless (to me) errors.
In your option list you have forgotten several commas.
Also breaklinks is more an internal option that reflects the
abilities of the driver. It can't enable properly broken
links, if the driver does not support it.
I don't get any errors:
\documentclass{article}
\usepackage[
pdfpagemode=UseOutlines,
bookmarks,
bookmarksopen,
pdfstartview=FitH,
linktocpage=false,
% colorlinks,
% linkcolor=black,
% citecolor=black,
% urlcolor=black,
pdfborder={0 0 0},
plainpages=false,
pdfpagelabels=true,
]
{hyperref}
\hypersetup{
pdftitle={Document Preparation for Classical Languages},
pdfauthor={David J.Perry},
pdfsubject={Creating text in classical, biblical, and medieval studies},
pdfkeywords={Latin, Greek, Hebrew, classics, medieval, biblical,
fonts, Unicode, OpenType},
}
\begin{document}
\end{document}
Yours sincerely
Heiko Oberdiek
More information about the XeTeX
mailing list