[texhax] Hyperref and hyperbaseurl
Henrik Frisk
frisk.h at gmail.com
Thu Sep 25 11:25:24 CEST 2008
Hi all,
Does anyone here have experience with the \hyperbaseurl property of
hyperref. According to the documentation whatever address is in a
\href will get prepended with the value of \hyperbaseurl. Now, this
works fine for me for local relative url such as:
\hyperbaseurl{./}
\href{html/index.html}{Link to the index page}
I had hoped to be able to change the hyperbaseurl to e.g.
\hyperbaseurl{http://www.mysite.org} which would make my href now
instead point to 'http://www.mysite.org/html/index.html' but that does
not seem to be the case. What I'm trying to achieve is to change the
search path for all hrefs by changeing the hyperbaseurl property,
pointing to local as well as remote locations.
Am I doing something wrong or is this not the functionality intended
by hyperbaseurl? Is there another way to achieve the same result?
Thanks for any suggestions,
/henrik
More information about the texhax
mailing list