The \footnote{} in \title{} is unlikely to work, use \thanks{}
instead.
There seem to be some misplaced {} in your \thanks example. Try
\title{Weekly Report\thanks{\href{...}{Report Archive}} }
\author{...}
\date{...}
\maketitle
If you get no other suggestions that work, as a last ditch effort
the titling package has a different implementation of the several
titling commands that might do the trick.
Peter W.
>I would like to do something like:
> \documentclass{article}
> \usepackage[pdftex]{graphicx}
> \usepackage{hyperref}
> \begin{document}
> \title{
> Weekly Report\footnote{\href{http://lopez/~lopez/Weekly}{Report Archive}}
> \author{Robert Lopez}
> \date\today
> }
> \maketitle
> \end{document}
During \maketitle, \footnote becomes \thanks. This
command expands its argument before \href has a
chance to see it unchanged. So ~ is expanded and
the url will not work.
Workaround: \string before ~
\title{%
Weekly Report\footnote{%
\href{http://lopez/\string~lopez/Weekly}{Report Archive}%
}%
}
\author{Robert Lopez}
\date{\today}
\maketitle
>or like
> \documentclass{article}
> \usepackage[pdftex]{graphicx}
> \usepackage{hyperref}
> \begin{document}
> \title{
> Weekly Report
> \author{Robert Lopez}
> \date\today
> \thanks\href{http://lopez/~lopez/Weekly}{Report Archive}
> }
> \maketitle
> \end{document}
Similar, but you have forgotten the curly braces
around the argument of \thanks.
And in both files \author and \date should not be
used in \title:
\title{Title}
\author{Author}
\date{Date}
\maketitle
>but the \href does not seem to be accepted into the title.
\href is accepted, only the url is wrong in the PDF output.
Perhaps you are using an old version of hyperref.
Current is 6.71j:
http://www.tug.org/applications/hyperref/hyperref.zip
Yours sincerely
Heiko <ober...@uni-freiburg.de>
> During \maketitle, \footnote becomes \thanks. This
> command expands its argument before \href has a
> chance to see it unchanged. So ~ is expanded and
> the url will not work.
> Workaround: \string before ~
This did not work (yet; see below).
>
> Similar, but you have forgotten the curly braces
> around the argument of \thanks.
Agreed.
>
> And in both files \author and \date should not be
> used in \title:
> \title{Title}
> \author{Author}
> \date{Date}
> \maketitle
I did not know that. I have been doing it wrong for years.
I will change.
>
> >but the \href does not seem to be accepted into the title.
>
> \href is accepted, only the url is wrong in the PDF output.
> Perhaps you are using an old version of hyperref.
> Current is 6.71j:
> http://www.tug.org/applications/hyperref/hyperref.zip
I was using 2000/01/22 v6.69c. I got 7.7ij today and
together wity your other suggestions it now works.
>
> Yours sincerely
> Heiko <ober...@uni-freiburg.de>
Thank you very much. I can not do just what I want to do.
--
Robert...@Philips.com