[XeTeX] problem with hyperref

Ambika Vanchinathan ambika.vanchinathan at gmail.com
Fri Nov 16 08:28:42 CET 2007


Hi,

I have installed MacTeX-2007 on my Mac (OS X 10.4.10) and tried
inserting \usepackage[dvipdfm]{hyperref} in the preamble of the
XeLaTeX template provided with the TeXShop.
The hyperref package seems to be giving errors.

Can anybody tell me how to solve this problem?

Thanks,
Ambika

-------------------TeX file-------------------

\documentclass[12pt]{article}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage{graphicx}
\usepackage{amssymb}

\usepackage[dvipdfm]{hyperref}
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Hoefler Text}
\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans}
\setmonofont[Scale=MatchLowercase]{Andale Mono}

\title{Brief Article}
\author{The Author}
\begin{document}
\maketitle

Typeset using TeXShop.

\end{document}

------------------------Log file----------------

This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish,
turkish, ukenglish, ukrainian, loaded.
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2007/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/texlive/2007/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xetexconfig/geometry.cfg))
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2007/texmf/tex/latex/config/graphics.cfg)
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/graphics/xetex.def)))
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(./hyperref.sty
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2007/texmf/tex/latex/config/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/usr/local/texlive/2007/texmf-dist/tex/xelatex/xetexurl/url.sty))
*hyperref using driver hdvipdfm*
(/usr/local/texlive/2007/texmf-dist/tex/latex/hyperref/hdvipdfm.def
! Too many }'s.
l.681   }
         %
?
--------------------------------------------------------------


More information about the XeTeX mailing list