Possible Duplicate:
Hyperlinking a drawing
I need a drawn line hyperlinked a specific page in the document. In the following MWE when I comment out polyglossia package and use PDFLatex, it works fine. However, if I use polyglossia package with XeLaTex it doesn't. For my document I have to use Polyglossia/XeLaTeX. Need your help. Thank you!
\documentclass[a4paper]{article}
\usepackage{hyperref}
\usepackage{polyglossia}
\usepackage{geometry}
\geometry{hmargin={0.2in,0.2in},vmargin={0in,0in},
paperwidth=3.56in, paperheight=5.95in}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\pagenumbering{gobble}
\begin{document}
\phantomsection\label{PP1}
First page. \newpage
\phantomsection\label{PP2}
Second page. \newpage
\hyperref[PP1]{\line(1,0){200}}
\end{document}
hyperrefare not among my super powers. :-) BTW, I upvoted your original question. – lockstep May 21 '12 at 19:40xelatex -synctex=1 -interaction=nonstopmode %.tex. How do I incorporatepdflatexinto this command to have texmaker compile the document with xelatex and pdflatex together? – Nina May 21 '12 at 19:40\hyperref[PP1]{\line(1,0){200}}treat it asPDFLatex? Isn'tifPDFlatexfor this purpose? – Nina May 21 '12 at 19:44