Re: bug in hyperlink and footnote?
James C. Sutherland schrieb: Reported as bug #5908 (http://www.lyx.org/trac/ticket/5908) Thanks. It turns out that you found a bug in the LaTeX-package hyperref. I'll inform you when I know more. I should have been more precise regarding the URL. An example URL is: http://scriptures.lds.org/en/luke/24/6#6 I assume that this is a valid URL. Yes it is. regards Uwe
Re: bug in hyperlink and footnote?
On Apr 19, 2009, at 5:04 AM, Uwe Stöhr wrote: One important not: you example used an address in this form: http://www.bla.blub/#1 This is not conform to the URL specification. There must be at least a character after the "/" and before the "#". Or do you have an example of a valid URL where this is not the case? regards Uwe Reported as bug #5908 (http://www.lyx.org/trac/ticket/5908) I should have been more precise regarding the URL. An example URL is: http://scriptures.lds.org/en/luke/24/6#6 I assume that this is a valid URL.
Re: bug in hyperlink and footnote?
One important not: you example used an address in this form: http://www.bla.blub/#1 This is not conform to the URL specification. There must be at least a character after the "/" and before the "#". Or do you have an example of a valid URL where this is not the case? regards Uwe
Re: bug in hyperlink and footnote?
Uwe Stöhr schrieb: It is a bug and I'll try to fix it. Can you please open a bug report for reference? I was too rash. The problem is the following: In hyperlinks the "#" character must not be escaped as command "\#". While it must be escaped when the hyperlink is in the footnote. This is not easy to handle and I'm not sure if we can do something about it since the behaviour seem to depend on the hyperref package version. Please open a bug nevertheless. regards Uwe
Re: bug in hyperlink and footnote?
James Sutherland schrieb: 1. Create a footnote. 2. In the footnote, insert a hyperlink 3. In the "target" field of the hyperlink, insert a URL with a "#" sign in it, i.e. www.example.com/#1 Can anyone verify that this is a bug? It is a bug and I'll try to fix it. Can you please open a bug report for reference? regards Uwe
Re: bug in hyperlink and footnote?
Am Sunday 19 April 2009 00:24:38 schrieb James Sutherland: > I think that I may have found a bug in LyX. > > 1. Create a footnote. > 2. In the footnote, insert a hyperlink > 3. In the "target" field of the hyperlink, insert a URL with a "#" > sign in it, i.e. www.example.com/#1 > > Latex fails to compile this document. > > A hyperlink with a "#" in the target works as long as it is NOT in a > footnote. > > I have attached a trivially simple file that exposes this problem. > > This worked in 1.6.0. (Actually, I have a file that used this in > 1.6.0rc3 - I haven't tried recompiling that particular file since > then... > > Can anyone verify that this is a bug? confirmed (LyX1.6.2): error message: illegal parameter number in definition of h...@tempa } You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere earlier, and things are all screwed up? I'm going to assume that you meant ##.
Re: bug in hyperlink and footnote?
I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's the error message (repeated 3 times): Illegal parameter number in definition of \...@tempa. } You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere earlier, and things are all screwed up? I'm going to assume that you meant ##. Actually, the URL that I want to reference has a single #, not two ##. It is quite strange that the individual hyperlink works, but it does not work when embedded in the footnote...
Re: bug in hyperlink and footnote?
On Sat, Apr 18, 2009 at 7:50 PM, James Sutherland wrote: > > On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote: > >> On Saturday 18 April 2009 17:24:38 James Sutherland wrote: >>> >>> I think that I may have found a bug in LyX. >>> >>> 1. Create a footnote. >>> 2. In the footnote, insert a hyperlink >>> 3. In the "target" field of the hyperlink, insert a URL with a "#" >>> sign in it, i.e. www.example.com/#1 >>> >>> Latex fails to compile this document. >>> >>> A hyperlink with a "#" in the target works as long as it is NOT in a >>> footnote. >>> >>> I have attached a trivially simple file that exposes this problem. >>> >>> This worked in 1.6.0. (Actually, I have a file that used this in >>> 1.6.0rc3 - I haven't tried recompiling that particular file since >>> then... >>> >>> Can anyone verify that this is a bug? >> >> Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on >> Kubuntu >> Intrepid. > > Hmm.. Good to know. I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive 2008. > Can anyone else on a Mac duplicate this? I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's the error message (repeated 3 times): Illegal parameter number in definition of \...@tempa. } You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere earlier, and things are all screwed up? I'm going to assume that you meant ##. Bennett
Re: bug in hyperlink and footnote?
On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote: On Saturday 18 April 2009 17:24:38 James Sutherland wrote: I think that I may have found a bug in LyX. 1. Create a footnote. 2. In the footnote, insert a hyperlink 3. In the "target" field of the hyperlink, insert a URL with a "#" sign in it, i.e. www.example.com/#1 Latex fails to compile this document. A hyperlink with a "#" in the target works as long as it is NOT in a footnote. I have attached a trivially simple file that exposes this problem. This worked in 1.6.0. (Actually, I have a file that used this in 1.6.0rc3 - I haven't tried recompiling that particular file since then... Can anyone verify that this is a bug? Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on Kubuntu Intrepid. Hmm.. Good to know. I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive 2008. Can anyone else on a Mac duplicate this?
Re: bug in hyperlink and footnote?
On Saturday 18 April 2009 17:24:38 James Sutherland wrote: > I think that I may have found a bug in LyX. > > 1. Create a footnote. > 2. In the footnote, insert a hyperlink > 3. In the "target" field of the hyperlink, insert a URL with a "#" > sign in it, i.e. www.example.com/#1 > > Latex fails to compile this document. > > A hyperlink with a "#" in the target works as long as it is NOT in a > footnote. > > I have attached a trivially simple file that exposes this problem. > > This worked in 1.6.0. (Actually, I have a file that used this in > 1.6.0rc3 - I haven't tried recompiling that particular file since > then... > > Can anyone verify that this is a bug? Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on Kubuntu Intrepid. Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A&M University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
bug in hyperlink and footnote?
I think that I may have found a bug in LyX. 1. Create a footnote. 2. In the footnote, insert a hyperlink 3. In the "target" field of the hyperlink, insert a URL with a "#" sign in it, i.e. www.example.com/#1 Latex fails to compile this document. A hyperlink with a "#" in the target works as long as it is NOT in a footnote. I have attached a trivially simple file that exposes this problem. This worked in 1.6.0. (Actually, I have a file that used this in 1.6.0rc3 - I haven't tried recompiling that particular file since then... Can anyone verify that this is a bug? newfile1.lyx Description: Binary data