[l2h] Ouput of \href isn't an HTML hyperlink

Ross Moore ross at ics.mq.edu.au
Mon Jul 10 05:09:10 CEST 2006


Hello Suzy.

On 06/07/2006, at 8:29 AM, suzy wrote:

> Dear Igor,
>
> I'm also trying to get href to work in my PDF output. If you  
> figured yours out - could you please help me?

> And here is my code within the bibliography section (I just want  
> the url to be linked properly...
>
>
> \doublespacing \singlespacing \bibitem[IDF\ (2005)]{idf05}
> International Diabetes Federation.
> \newblock The Diabetes Atlas Executive Summary, 2nd edition.  
> Accessed at:\href{http://www.eatlas.idf.org/Obesityandtype2diabetes/}.
> \newblock The International Diabetes Federation 2005. \penalty0  
> 22--28.

That is not the way to use \href . It takes 2 parameters, to cope with
both the anchor-text and the link target.

I think what you want is:

  \url{http://www.eatlas.idf.org/Obesityandtype2diabetes/}

which should work with both pdfTeX and LaTeX2HTML, since
with the former, the hyperref package loads also  url.sty .

With LaTeX2HTML, you may need to also load the  html  package
to get this working properly.

>
> The output in PDF shows all of the citation except the http:// 
> ww.eatlas.idf.org/obesity andtype2diabetes  link! It is just missing.

Have you checked whether the '.' is an active link ?
That is what your coding specifies for this.

>
> Do you have any advice for me?

Hope this helps,

	Ross Moore

>
> Thanks,
> Suzy

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------




More information about the latex2html mailing list