From: Morten O. A. <mor...@gm...> - 2012-08-29 14:57:31
|
On 29 August 2012 15:04, Chazelas Martine <mar...@ce...> wrote: > Hi, > > I would like to create an html export with an hyperlink on the title. I > use this writing. > > <a href="\format{\url}" > target="_blank"><i>"\format[HTMLChars]{\title}"</i></a> > > But when a reference have no field URL, a link is created which point at > the same page. When I use" \begin {url}" and " end {url}" then the > title disappear when there is no URL. Have you tried to use two pairs of \begin and \end tags, before and after the actual title? Then you can add the link related stuff just if "url" is defined, while the title gets included anyway. -- Morten |