Re: Including a hyperlink removes coloring from my URLs

2017-04-06 Thread Jacob Bishop
On Thu, Mar 30, 2017 at 4:41 PM, Steve Litt <sl...@troubleshooters.com>
wrote:

> On Thu, 30 Mar 2017 16:25:18 -0400
> "Paul A. Rubin" <parubi...@gmail.com> wrote:
>
> > On 03/30/2017 03:45 PM, Steve Litt wrote:
>
> [snip Steve's symptom description]
>
> > I made a small test document (attached) using the standard book
> > class. When I added the hyperlink to the document, I got an error
> > message about an option class between two packages (that was not
> > there when the document had URLs but not hyperlinks).


Following Paul's lead, I made a small test document, but since I like to
use options that are provided through the LyX interface whenever possible,
I did everything through the "PDF Properties" dialogue under
document>settings to enable the options that Steve indicated. This way, I
wasn't putting anything into the document class options field, and the only
thing I had to put in the preamble was except \usepackage{soul}. (oh, and I
put pdfpagelabels in the "Additional Options" box under the "PDF
Properties" section of document settings).

Interestingly, I didn't get an error at all when compiling.

It had
> > something to do with one package loading with the option unicode=true
> > while some earlier package is apparently a unicode denier.
>

Looking at the CTAN page for soul (http://ctan.org/pkg/soul), I would guess
that this is the "unicode denier." The documentation points to another
package, soulutf8 (http://ctan.org/pkg/soulutf8) to use if you want unicode
support. My sample document didn't have any unicode in it so maybe that's
why the problem isn't triggered.


> > Following the suggestion in the error message, I moved the unicode
> > option and all the options for hyperref to the document class options
> > field, and that fixed things ... sort of. The URLs and the hyperlink
> > are all colored now, but the color is purple (or purplish), which
> > would not be my first (second, third, ...) choice. Presumably there's
> > a place to specify an option to some package to use red, blue, ...
>

Based on the way I set things up, in the "Additional Options" box of the
"PDF Properties" tab, putting urlcolor=red does the trick. (see
https://www.tug.org/applications/hyperref/manual.html#x1-90003.5 ).

See attached.

Jacob


url_hyperlink_colors.lyx
Description: application/lyx


Re: Including a hyperlink removes coloring from my URLs

2017-03-31 Thread Paul A. Rubin

On 03/31/2017 03:48 PM, Steve Litt wrote:

On Thu, 30 Mar 2017 16:25:18 -0400
"Paul A. Rubin" <parubi...@gmail.com> wrote:


On 03/30/2017 03:45 PM, Steve Litt wrote:

Hi all,

Including one hyperlink in my document removes the color for all my
URLs. What I really want is my hyperlinks colored the same as my
URLs (currently red), but I definitely don't want my URLs colorless.

Does anyone know how to apply hyperlinks without screwing up URL
colors?

RELEVANT FACTS:

Linux, 64 bit Void distro

LyX version 2.2.2

Document class based on document class "book".

\usepackage{soul}

\usepackage[bookmarks,
plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true]{hyperref}

\usepackage{color}

  

I made a small test document (attached) using the standard book
class.

Paul, it turns around that, for some reason, when I put:

\usepackage[bookmarks,
unicode=true,plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true]{hyperref}

LyX ignored the arguments. But, when I put:

bookmarks,
unicode=true,plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true

in the Custom field in the document settings document class dialog box,
coloration comes back.

So that material must be repeated twice, once in that field, and once
in the layout file.

ACTUALLY, I lied. It turns out that if I have:

\usepackage{hyperref} in the layout and the arguments in the field, it
still works.

OH WAIT, I lied some more. It turns out I don't even have to put in the
layout file:

\usepackage{hyperref}

LyX somehow just knows that.

Whatever this is all about, it's in need of some serious documentation.

But, the good news is, I can go about my business using both URLs and
hyperlinks.

Thanks,

SteveT

Steve Litt
March 2017 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb
LyX loads certain LaTeX packages automagically when it sees some 
features of the document that it knows will need said packages. I'm 
pretty sure hyperref is in that category (see a hyperlink, load the 
package). What I believe happens then is that if the user tries to load 
the package manually in the preamble, LaTeX sees two \usepackage 
statements for the same package and pays attention to only one of them 
(the first, I think). I think the automatic load precedes user 
specifications in the preamble, so the user's options get lost. Seems to 
me I've seen a trick suggested in some cases where the user indicates 
that some module or something provides the disputed package, to prevent 
LyX from adding the automatic load command. (Note all the qualifiers in 
the previous paragraph: I'm not at all sure about this.)


As the Bard said, though, all's well that ends well.

Paul



Re: Including a hyperlink removes coloring from my URLs

2017-03-31 Thread Steve Litt
On Thu, 30 Mar 2017 16:25:18 -0400
"Paul A. Rubin" <parubi...@gmail.com> wrote:

> On 03/30/2017 03:45 PM, Steve Litt wrote:
> > Hi all,
> >
> > Including one hyperlink in my document removes the color for all my
> > URLs. What I really want is my hyperlinks colored the same as my
> > URLs (currently red), but I definitely don't want my URLs colorless.
> >
> > Does anyone know how to apply hyperlinks without screwing up URL
> > colors?
> >
> > RELEVANT FACTS:
> >
> > Linux, 64 bit Void distro
> >
> > LyX version 2.2.2
> >
> > Document class based on document class "book".
> >
> > \usepackage{soul}
> >
> > \usepackage[bookmarks,
> > plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true]{hyperref}
> >
> > \usepackage{color}
> >
> >  
> I made a small test document (attached) using the standard book
> class. 

Paul, it turns around that, for some reason, when I put:

\usepackage[bookmarks,
unicode=true,plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true]{hyperref}

LyX ignored the arguments. But, when I put:

bookmarks,
unicode=true,plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true

in the Custom field in the document settings document class dialog box,
coloration comes back.

So that material must be repeated twice, once in that field, and once
in the layout file.

ACTUALLY, I lied. It turns out that if I have:

\usepackage{hyperref} in the layout and the arguments in the field, it
still works.

OH WAIT, I lied some more. It turns out I don't even have to put in the
layout file:

\usepackage{hyperref} 

LyX somehow just knows that.

Whatever this is all about, it's in need of some serious documentation.

But, the good news is, I can go about my business using both URLs and
hyperlinks.

Thanks,

SteveT

Steve Litt
March 2017 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb


Re: Including a hyperlink removes coloring from my URLs

2017-03-30 Thread Steve Litt
On Thu, 30 Mar 2017 16:25:18 -0400
"Paul A. Rubin" <parubi...@gmail.com> wrote:

> On 03/30/2017 03:45 PM, Steve Litt wrote:

[snip Steve's symptom description]

> I made a small test document (attached) using the standard book
> class. When I added the hyperlink to the document, I got an error
> message about an option class between two packages (that was not
> there when the document had URLs but not hyperlinks). It had
> something to do with one package loading with the option unicode=true
> while some earlier package is apparently a unicode denier.
> 
> Following the suggestion in the error message, I moved the unicode 
> option and all the options for hyperref to the document class options 
> field, and that fixed things ... sort of. The URLs and the hyperlink
> are all colored now, but the color is purple (or purplish), which
> would not be my first (second, third, ...) choice. Presumably there's
> a place to specify an option to some package to use red, blue, ...
> 
> Paul

VERY nice, Paul. You just trapped the problem.

It turns out adding unicode=true to mine didn't work, but with yours
working perfectly, I can now keep carving down mine until I get it to
work like yours. I'll be using your minimal case as an example in my
troubleshooting classes: You really sectioned it down.

Thanks,

SteveT

Steve Litt
March 2017 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb


Re: Including a hyperlink removes coloring from my URLs

2017-03-30 Thread Paul A. Rubin

On 03/30/2017 03:45 PM, Steve Litt wrote:

Hi all,

Including one hyperlink in my document removes the color for all my
URLs. What I really want is my hyperlinks colored the same as my URLs
(currently red), but I definitely don't want my URLs colorless.

Does anyone know how to apply hyperlinks without screwing up URL colors?

RELEVANT FACTS:

Linux, 64 bit Void distro

LyX version 2.2.2

Document class based on document class "book".

\usepackage{soul}

\usepackage[bookmarks,
plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true]{hyperref}

\usepackage{color}


I made a small test document (attached) using the standard book class. 
When I added the hyperlink to the document, I got an error message about 
an option class between two packages (that was not there when the 
document had URLs but not hyperlinks). It had something to do with one 
package loading with the option unicode=true while some earlier package 
is apparently a unicode denier.


Following the suggestion in the error message, I moved the unicode 
option and all the options for hyperref to the document class options 
field, and that fixed things ... sort of. The URLs and the hyperlink are 
all colored now, but the color is purple (or purplish), which would not 
be my first (second, third, ...) choice. Presumably there's a place to 
specify an option to some package to use red, blue, ...


Paul



url_hyperlink.lyx
Description: application/lyx


Including a hyperlink removes coloring from my URLs

2017-03-30 Thread Steve Litt
Hi all,

Including one hyperlink in my document removes the color for all my
URLs. What I really want is my hyperlinks colored the same as my URLs
(currently red), but I definitely don't want my URLs colorless.

Does anyone know how to apply hyperlinks without screwing up URL colors?

RELEVANT FACTS:

Linux, 64 bit Void distro

LyX version 2.2.2

Document class based on document class "book".

\usepackage{soul}

\usepackage[bookmarks,
plainpages=false,pdfpagelabels,colorlinks=true,bookmarksnumbered=true]{hyperref}

\usepackage{color}

Thanks,
 
SteveT

Steve Litt
March 2017 featured book: Troubleshooting: Why Bother?
http://www.troubleshooters.com/twb


Re: Follow a hyperlink from Lyx editor

2015-12-18 Thread gordon_cooper

A good reason for ditching the feature, I'll forget about it.

Gordon.

.


This feature has been actually already part of LyX and we ditched it
because of security concerns (i.e. injecting some malicious code
into url which would get executed when clicking on the url).
I have working patch, which I personally use, but you would need
to compile lyx on your own...

Pavel





Re: Follow a hyperlink from Lyx editor

2015-12-18 Thread Pavel Sanda
David wrote:
> Am 17.12.2015 um 07:39 schrieb Scott Kostyshak:
> > 
> > I think this is a reasonable feature request. Please open a ticket at
> > http://www.lyx.org/trac
> > 
> 
> Done: http://www.lyx.org/trac/ticket/9906
> 
> Edits to make the request clearer are always welcome.

This feature has been actually already part of LyX and we ditched it
because of security concerns (i.e. injecting some malicious code
into url which would get executed when clicking on the url).
I have working patch, which I personally use, but you would need
to compile lyx on your own...

Pavel


Re: Follow a hyperlink from Lyx editor

2015-12-18 Thread Pavel Sanda
Scott Kostyshak wrote:
> Are the security concerns different for LyX?

Yes. I am not saying it's impossible to implement it correctly,
but at the time we used startscript routine which is IIRC weak
when it comes to the concerns raised. Since I had working patch
for myself I didn't try to fix it, given what it could involve
(testing other archs etc...)

Check c0bb9707cb & a522fc683a.
Pavel


Re: Follow a hyperlink from Lyx editor

2015-12-18 Thread Pavel Sanda
Scott Kostyshak wrote:
> I think knitr introduces more
> problems than this one. It is possible (and extremely easy) to compile a

Correct. I asked several times whether this can be fixed and was ignored :)
For the same reason gnuplot exptension never made it into the release
although we have the patch. 
But this is not reason why to allow new weak stuff in, rather it's reason
why to kick knitr out :)

Pavel


Re: Follow a hyperlink from Lyx editor

2015-12-18 Thread Scott Kostyshak
On Fri, Dec 18, 2015 at 07:03:29PM -0800, Pavel Sanda wrote:
> David wrote:
> > Am 17.12.2015 um 07:39 schrieb Scott Kostyshak:
> > > 
> > > I think this is a reasonable feature request. Please open a ticket at
> > > http://www.lyx.org/trac
> > > 
> > 
> > Done: http://www.lyx.org/trac/ticket/9906
> > 
> > Edits to make the request clearer are always welcome.
> 
> This feature has been actually already part of LyX and we ditched it
> because of security concerns (i.e. injecting some malicious code
> into url which would get executed when clicking on the url).
> I have working patch, which I personally use, but you would need
> to compile lyx on your own...

I don't understand. Many applications have such a feature, even simple
applications. For example, in gnome-terminal you can right-click on any
string starting with 'http://' and there is a 'Open Link' option.
Are the security concerns different for LyX?

To make sure I understand correctly, when you say "clicking on the url"
you mean that a webbrowser would be openned when just clicking on the
text inside the URL inset? The feature I'm talking about is adding a
"Open Link" option to the inset context menu.

Scott


signature.asc
Description: PGP signature


Re: Follow a hyperlink from Lyx editor

2015-12-18 Thread Scott Kostyshak
On Fri, Dec 18, 2015 at 07:40:46PM -0800, Pavel Sanda wrote:
> Scott Kostyshak wrote:
> > Are the security concerns different for LyX?
> 
> Yes. I am not saying it's impossible to implement it correctly,
> but at the time we used startscript routine which is IIRC weak
> when it comes to the concerns raised. Since I had working patch
> for myself I didn't try to fix it, given what it could involve
> (testing other archs etc...)
> 
> Check c0bb9707cb & a522fc683a.

Thanks for the references. I found this relevant email thread:
http://marc.info/?l=lyx-devel=129193159214353=2

I still don't understand the problem. I think knitr introduces more
problems than this one. It is possible (and extremely easy) to compile a
.lyx file and arbitrary system code is run. With the URL feature, at
least the user is the one who is consciously opening a link and can see
the link (wherease with a .lyx file it is easy to hide the knitr chunk
from the user). But I suppose it is not a fair argument to say "this is
not as insecure as that so this is not bad" because even if that is true
we still want as few vulnerabilities as possible.

In any case, I will not start a debate since I'd prefer not to spend the
time. Also, I personally wouldn't use the feature.

Scott


signature.asc
Description: PGP signature


Re: Follow a hyperlink from Lyx editor

2015-12-18 Thread Scott Kostyshak
On Fri, Dec 18, 2015 at 11:30:41PM -0800, Pavel Sanda wrote:
> Scott Kostyshak wrote:
> > I think knitr introduces more
> > problems than this one. It is possible (and extremely easy) to compile a
> 
> Correct. I asked several times whether this can be fixed and was ignored :)
> For the same reason gnuplot exptension never made it into the release
> although we have the patch. 
> But this is not reason why to allow new weak stuff in

+1

> rather it's reason
> why to kick knitr out :)

Or to fix the security issue. There was a good proposal by Richard. But
it would take a lot of work to implement.

Scott


signature.asc
Description: PGP signature


Re: Follow a hyperlink from Lyx editor

2015-12-17 Thread David
Am 17.12.2015 um 07:39 schrieb Scott Kostyshak:
> 
> I think this is a reasonable feature request. Please open a ticket at
> http://www.lyx.org/trac
> 

Done: http://www.lyx.org/trac/ticket/9906

Edits to make the request clearer are always welcome.

David



Re: Follow a hyperlink from Lyx editor

2015-12-16 Thread Scott Kostyshak
On Thu, Dec 10, 2015 at 10:58:01AM +0100, David wrote:
> Dear list,
> 
> Lyx allows inserting hyperlinks, e.g. to websites. I frequently use this
> feature inside notes, especially to link to WWW sources of Lyx/Latex
> tricks I use in my document.
> 
> In this situation, it would be quite convenient to be able to follow
> this link from the Lyx editor. That is, click on the link and have a
> browser loading the webpage. Is this possible (I tried CTRL+Click /
> SHIFT+Click / ALT+Click)?
> 
> If not, would that be a candidate for a feature request?

I think this is a reasonable feature request. Please open a ticket at
http://www.lyx.org/trac

I suppose we would just add an item to the right-click menu of the inset
box. I don't think we would have right-clicking on the text inside the
URL box (like for example happens in gnome-terminal or other
applications that detect URLs).
We could open the link in our viewer for .html files.

Scott


signature.asc
Description: PGP signature


Follow a hyperlink from Lyx editor

2015-12-10 Thread David
Dear list,

Lyx allows inserting hyperlinks, e.g. to websites. I frequently use this
feature inside notes, especially to link to WWW sources of Lyx/Latex
tricks I use in my document.

In this situation, it would be quite convenient to be able to follow
this link from the Lyx editor. That is, click on the link and have a
browser loading the webpage. Is this possible (I tried CTRL+Click /
SHIFT+Click / ALT+Click)?

If not, would that be a candidate for a feature request?

David


Launch file warning from hyperlink in PDF

2013-03-20 Thread leonid baranov
Hello, LyXers

Two questions about hyperlinking executables.

1.
I was hoping to create an annotated family media archive
using LyX. A searchable and navigable text in PDF would
serve as a guide to the archive. Hyperlinks would point to
the media of interest and allow to play it on click.
Imbedding this amount of media in PDF was not an option.

  As an annoying problem, Adobe Reader XI does not play
videos until after user's response to a Launch file warning
(see an attached sample).

  Recent fixes in the Adobe security notwithstanding,
the Adobe Help seems to imply that it should be possible to
suppress the warning. But no tried combination of Reader's
preferences (Multimedia(legacy) | Multimedia Trust (legacy) |
Security | Security (Enhanced) | Trust Manager ) would allow
to circumvent the warning.

  Are there additional PDF options which one could specify
in LyX so as to suppress the warning?

Platform: LyX 2.0.5/MiKTeX 2.9/Win 7

2.
Similarly, but more generally, could one hyperlink an aribitrary
local executable (say, of my own making) and pass parameters to it?

Adobe help seems to imply that, beyond the 3 choices offered
by LyX (Web | eMail | File ), there also exist so called
Custom Links.  

Could the custom hyperlinks be defined through LyX? If so,
could they be used (how?) for the above purpose of invoking
ANY executable/script?

Thank you for your time




Re: Launch file warning from hyperlink in PDF

2013-03-20 Thread leonid baranov
leonid baranov leonidbaranov4 at gmail.com writes:

 (see an attached sample).

Hi,

I failed to figure out how to upload an attachment to
a GMANE post.

So, here are the missing details for the previous
post.

1.1.

In Insert  Hyperlink dialog, I entered:

- Target:

run:C:/Users/Public/Videos/Sample Videos/Wildlife.wmv

- Link type:

Web

1.2.
  Adobe Reader's Launch File Warning:

   The file and it's viewer application are set to be launched by this PDF file.
   The file may contain programs, macros, or viruses that could potentially
   harm your computer. Only opern the file if you are sure it is safe.
   If this file was placed by a trusted person or program, you can click
   Open to view the file.

   C:\Program Files (x86)\Windows Media Player\wmplayer.exe


  Open  |  Do Not Open 

1.3.

Note that the video in question is a demo file normally available on any
Windows platform (comes with a standard distribution). 


Regards,
Leonid




Launch file warning from hyperlink in PDF

2013-03-20 Thread leonid baranov
Hello, LyXers

Two questions about hyperlinking executables.

1.
I was hoping to create an annotated family media archive
using LyX. A searchable and navigable text in PDF would
serve as a guide to the archive. Hyperlinks would point to
the media of interest and allow to play it on click.
Imbedding this amount of media in PDF was not an option.

  As an annoying problem, Adobe Reader XI does not play
videos until after user's response to a Launch file warning
(see an attached sample).

  Recent fixes in the Adobe security notwithstanding,
the Adobe Help seems to imply that it should be possible to
suppress the warning. But no tried combination of Reader's
preferences (Multimedia(legacy) | Multimedia Trust (legacy) |
Security | Security (Enhanced) | Trust Manager ) would allow
to circumvent the warning.

  Are there additional PDF options which one could specify
in LyX so as to suppress the warning?

Platform: LyX 2.0.5/MiKTeX 2.9/Win 7

2.
Similarly, but more generally, could one hyperlink an aribitrary
local executable (say, of my own making) and pass parameters to it?

Adobe help seems to imply that, beyond the 3 choices offered
by LyX (Web | eMail | File ), there also exist so called
Custom Links.  

Could the custom hyperlinks be defined through LyX? If so,
could they be used (how?) for the above purpose of invoking
ANY executable/script?

Thank you for your time




Re: Launch file warning from hyperlink in PDF

2013-03-20 Thread leonid baranov
leonid baranov leonidbaranov4 at gmail.com writes:

 (see an attached sample).

Hi,

I failed to figure out how to upload an attachment to
a GMANE post.

So, here are the missing details for the previous
post.

1.1.

In Insert  Hyperlink dialog, I entered:

- Target:

run:C:/Users/Public/Videos/Sample Videos/Wildlife.wmv

- Link type:

Web

1.2.
  Adobe Reader's Launch File Warning:

   The file and it's viewer application are set to be launched by this PDF file.
   The file may contain programs, macros, or viruses that could potentially
   harm your computer. Only opern the file if you are sure it is safe.
   If this file was placed by a trusted person or program, you can click
   Open to view the file.

   C:\Program Files (x86)\Windows Media Player\wmplayer.exe


  Open  |  Do Not Open 

1.3.

Note that the video in question is a demo file normally available on any
Windows platform (comes with a standard distribution). 


Regards,
Leonid




"Launch file" warning from hyperlink in PDF

2013-03-20 Thread leonid baranov
Hello, LyXers

Two questions about hyperlinking executables.

1.
I was hoping to create an annotated family media archive
using LyX. A searchable and navigable text in PDF would
serve as a guide to the archive. Hyperlinks would point to
the media of interest and allow to play it on click.
Imbedding this amount of media in PDF was not an option.

  As an annoying problem, Adobe Reader XI does not play
videos until after user's response to a "Launch file" warning
(see an attached sample).

  Recent fixes in the Adobe security notwithstanding,
the Adobe Help seems to imply that it should be possible to
suppress the warning. But no tried combination of Reader's
preferences (Multimedia(legacy) | Multimedia Trust (legacy) |
Security | Security (Enhanced) | Trust Manager ) would allow
to circumvent the warning.

  Are there additional PDF options which one could specify
in LyX so as to suppress the warning?

Platform: LyX 2.0.5/MiKTeX 2.9/Win 7

2.
Similarly, but more generally, could one hyperlink an aribitrary
local executable (say, of my own making) and pass parameters to it?

Adobe help seems to imply that, beyond the 3 choices offered
by LyX (Web | eMail | File ), there also exist so called
"Custom Links".  

Could the custom hyperlinks be defined through LyX? If so,
could they be used (how?) for the above purpose of invoking
ANY executable/script?

Thank you for your time




Re: "Launch file" warning from hyperlink in PDF

2013-03-20 Thread leonid baranov
leonid baranov  gmail.com> writes:

> (see an attached sample).

Hi,

I failed to figure out how to upload an attachment to
a GMANE post.

So, here are the missing details for the previous
post.

1.1.

In "Insert > Hyperlink" dialog, I entered:

- Target:

run:C:/Users/Public/Videos/Sample Videos/Wildlife.wmv

- Link type:

Web

1.2.
  Adobe Reader's "Launch File" Warning:

   The file and it's viewer application are set to be launched by this PDF file.
   The file may contain programs, macros, or viruses that could potentially
   harm your computer. Only opern the file if you are sure it is safe.
   If this file was placed by a trusted person or program, you can click
   Open to view the file.

   C:\Program Files (x86)\Windows Media Player\wmplayer.exe


 < Open > | < Do Not Open >

1.3.

Note that the video in question is a demo file normally available on any
Windows platform (comes with a standard distribution). 


Regards,
Leonid




Re: hyperlink from url fields in bibtex file

2012-02-19 Thread Richard Heck

On 02/16/2012 04:29 PM, Csikos Bela wrote:

Hello:

I would like to include URL fields of the bibtex file in the bibliography as 
real clickable links. How can I do it? Currently the content of the URL fields 
looks like regular text.

You need to use the \hyperlink command, I'd assume.

Richard



Re: hyperlink from url fields in bibtex file

2012-02-19 Thread Richard Heck

On 02/16/2012 04:29 PM, Csikos Bela wrote:

Hello:

I would like to include URL fields of the bibtex file in the bibliography as 
real clickable links. How can I do it? Currently the content of the URL fields 
looks like regular text.

You need to use the \hyperlink command, I'd assume.

Richard



Re: hyperlink from url fields in bibtex file

2012-02-19 Thread Richard Heck

On 02/16/2012 04:29 PM, Csikos Bela wrote:

Hello:

I would like to include URL fields of the bibtex file in the bibliography as 
real clickable links. How can I do it? Currently the content of the URL fields 
looks like regular text.

You need to use the \hyperlink command, I'd assume.

Richard



How to open the URL and Hyperlink addresses in the browser

2012-01-10 Thread nomnex
That's maybe a dumb question, but I can't figure out how to follow
(click on) the URL and Hyperlink addresses, when I read the LyX
user manual on screen.

I can click on the cross references, by example, but I find no way to
open an URL or a Hyperlink addresse in the browser. The same applies
when I edit  a document.

Thanks in advance.

Fedora 15 LXDE/LyX 2.0.2
-- 
nomnex nom...@gmail.com
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: How to open the URL and Hyperlink addresses in the browser

2012-01-10 Thread Julien Rioux

On 10/01/2012 8:33 PM, nomnex wrote:

That's maybe a dumb question, but I can't figure out how to follow
(click on) the URL and Hyperlink addresses, when I read the LyX
user manual on screen.

I can click on the cross references, by example, but I find no way to
open an URL or a Hyperlink addresse in the browser. The same applies
when I edit  a document.

Thanks in advance.

Fedora 15 LXDE/LyX 2.0.2


It's not yet possible. See http://www.lyx.org/trac/ticket/6864

--
Julien



How to open the URL and Hyperlink addresses in the browser

2012-01-10 Thread nomnex
That's maybe a dumb question, but I can't figure out how to follow
(click on) the URL and Hyperlink addresses, when I read the LyX
user manual on screen.

I can click on the cross references, by example, but I find no way to
open an URL or a Hyperlink addresse in the browser. The same applies
when I edit  a document.

Thanks in advance.

Fedora 15 LXDE/LyX 2.0.2
-- 
nomnex nom...@gmail.com
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: How to open the URL and Hyperlink addresses in the browser

2012-01-10 Thread Julien Rioux

On 10/01/2012 8:33 PM, nomnex wrote:

That's maybe a dumb question, but I can't figure out how to follow
(click on) the URL and Hyperlink addresses, when I read the LyX
user manual on screen.

I can click on the cross references, by example, but I find no way to
open an URL or a Hyperlink addresse in the browser. The same applies
when I edit  a document.

Thanks in advance.

Fedora 15 LXDE/LyX 2.0.2


It's not yet possible. See http://www.lyx.org/trac/ticket/6864

--
Julien



How to open the URL and Hyperlink addresses in the browser

2012-01-10 Thread nomnex
That's maybe a dumb question, but I can't figure out how to follow
(click on) the URL and Hyperlink addresses, when I read the LyX
user manual on screen.

I can click on the cross references, by example, but I find no way to
open an URL or a Hyperlink addresse in the browser. The same applies
when I edit  a document.

Thanks in advance.

Fedora 15 LXDE/LyX 2.0.2
-- 
nomnex <nom...@gmail.com>
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: How to open the URL and Hyperlink addresses in the browser

2012-01-10 Thread Julien Rioux

On 10/01/2012 8:33 PM, nomnex wrote:

That's maybe a dumb question, but I can't figure out how to follow
(click on) the URL and Hyperlink addresses, when I read the LyX
user manual on screen.

I can click on the cross references, by example, but I find no way to
open an URL or a Hyperlink addresse in the browser. The same applies
when I edit  a document.

Thanks in advance.

Fedora 15 LXDE/LyX 2.0.2


It's not yet possible. See http://www.lyx.org/trac/ticket/6864

--
Julien



hyperlink

2011-05-25 Thread Patrick Dupre

Hello,

Can I create an hyperlink to another lyx file ?

Thank.

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: hyperlink

2011-05-25 Thread Julien Rioux

On 25/05/2011 10:42 AM, Patrick Dupre wrote:

Hello,

Can I create an hyperlink to another lyx file ?

Thank.



Currently LyX does not do that for you.

You can do this in latex following the instructions here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=extref

You will need to use TeX code and provide the .aux files.

--
Julien



hyperlink

2011-05-25 Thread Patrick Dupre

Hello,

Can I create an hyperlink to another lyx file ?

Thank.

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: hyperlink

2011-05-25 Thread Julien Rioux

On 25/05/2011 10:42 AM, Patrick Dupre wrote:

Hello,

Can I create an hyperlink to another lyx file ?

Thank.



Currently LyX does not do that for you.

You can do this in latex following the instructions here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=extref

You will need to use TeX code and provide the .aux files.

--
Julien



hyperlink

2011-05-25 Thread Patrick Dupre

Hello,

Can I create an hyperlink to another lyx file ?

Thank.

--
---
==
 Patrick DUPRÉ  |   |
 Department of Chemistry|   |  Phone: (44)-(0)-1904-434384
 The University of York |   |  Fax:   (44)-(0)-1904-432516
 Heslington |   |
 York YO10 5DD  United Kingdom  |   |  email: patrick.du...@york.ac.uk
==

Re: hyperlink

2011-05-25 Thread Julien Rioux

On 25/05/2011 10:42 AM, Patrick Dupre wrote:

Hello,

Can I create an hyperlink to another lyx file ?

Thank.



Currently LyX does not do that for you.

You can do this in latex following the instructions here:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=extref

You will need to use TeX code and provide the .aux files.

--
Julien



Hyperlink: No action defined!?

2010-08-20 Thread Sam Lewis
Hi,

What is the purpose of right clicking on a hyperlink *inside* LyX?

Reproduce: [Insert]  [Hyperlink]; add a link; right click on inserted hyperlink
icon and the following pop up message appears: No action defined!

What can I define where? Can I open this link from *within* LyX? That would be
perfect. 

Anybody any idea? Many thanks!

Cheers, Sam



Re: Hyperlink: quot;No action defined!quot;?

2010-08-20 Thread Paul Rubin
Sam Lewis stroboscopicallyconfluent at yahoo.co.uk writes:

 
 What is the purpose of right clicking on a hyperlink *inside* LyX?

None.
 
 Reproduce: [Insert]  [Hyperlink]; add a link; right click on inserted
 hyperlink
 icon and the following pop up message appears: No action defined!
 
 What can I define where?

Absent your modifying the source code, I suspect you cannot define any actions.

 Can I open this link from *within* LyX? That would be
 perfect. 

Not AFAIK.
 
 Anybody any idea? Many thanks!

I think hyperlinks are treated as insets.  Right-clicking an inset in LyX
normally brings up a context menu.  Left-clicking an inset normally
opens/collapses it.  In the case of a hyperlink inset, though, left-clicking
opens up the dialog box for it.  Since there's nothing else you can do with a
hyperlink (at least currently) other than modifying the text or URL, there's no
need for a context menu, and apparently none is defined (hence the no action
message).  There may be other inset types where a left click does all that can
be done with them, although at the moment none come to mind.

/Paul




Re: Hyperlink: amp;quot;No action defined!amp;quot;?

2010-08-20 Thread Sam Lewis
  icon and the following pop up message appears: No action defined!
  What can I define where?
 Absent your modifying the source code, I suspect you cannot define any 
 actions.

I see, this is just some kind of place holder in the source. Why not use this
for opening the defined link? Might be useful to improve the
writing-reading-writing flow.

Cheers, Sam






Re: Hyperlink: amp;amp;quot;No action defined!amp;amp;quot;?

2010-08-20 Thread Paul Rubin
Sam Lewis stroboscopicallyconfluent at yahoo.co.uk writes:

 
 Why not use this
 for opening the defined link? Might be useful to improve the
 writing-reading-writing flow.
 

Not unreasonable.  You might want to enter a Trac ticket for it as an
enhancement (after checking to be sure there isn't already such a ticket -- if
there is, you can add a comment endorsing it) (and charitably assuming Trac is
running at the moment -- there appear to be access issues with the web site
recently).

/Paul




Hyperlink: No action defined!?

2010-08-20 Thread Sam Lewis
Hi,

What is the purpose of right clicking on a hyperlink *inside* LyX?

Reproduce: [Insert]  [Hyperlink]; add a link; right click on inserted hyperlink
icon and the following pop up message appears: No action defined!

What can I define where? Can I open this link from *within* LyX? That would be
perfect. 

Anybody any idea? Many thanks!

Cheers, Sam



Re: Hyperlink: quot;No action defined!quot;?

2010-08-20 Thread Paul Rubin
Sam Lewis stroboscopicallyconfluent at yahoo.co.uk writes:

 
 What is the purpose of right clicking on a hyperlink *inside* LyX?

None.
 
 Reproduce: [Insert]  [Hyperlink]; add a link; right click on inserted
 hyperlink
 icon and the following pop up message appears: No action defined!
 
 What can I define where?

Absent your modifying the source code, I suspect you cannot define any actions.

 Can I open this link from *within* LyX? That would be
 perfect. 

Not AFAIK.
 
 Anybody any idea? Many thanks!

I think hyperlinks are treated as insets.  Right-clicking an inset in LyX
normally brings up a context menu.  Left-clicking an inset normally
opens/collapses it.  In the case of a hyperlink inset, though, left-clicking
opens up the dialog box for it.  Since there's nothing else you can do with a
hyperlink (at least currently) other than modifying the text or URL, there's no
need for a context menu, and apparently none is defined (hence the no action
message).  There may be other inset types where a left click does all that can
be done with them, although at the moment none come to mind.

/Paul




Re: Hyperlink: amp;quot;No action defined!amp;quot;?

2010-08-20 Thread Sam Lewis
  icon and the following pop up message appears: No action defined!
  What can I define where?
 Absent your modifying the source code, I suspect you cannot define any 
 actions.

I see, this is just some kind of place holder in the source. Why not use this
for opening the defined link? Might be useful to improve the
writing-reading-writing flow.

Cheers, Sam






Re: Hyperlink: amp;amp;quot;No action defined!amp;amp;quot;?

2010-08-20 Thread Paul Rubin
Sam Lewis stroboscopicallyconfluent at yahoo.co.uk writes:

 
 Why not use this
 for opening the defined link? Might be useful to improve the
 writing-reading-writing flow.
 

Not unreasonable.  You might want to enter a Trac ticket for it as an
enhancement (after checking to be sure there isn't already such a ticket -- if
there is, you can add a comment endorsing it) (and charitably assuming Trac is
running at the moment -- there appear to be access issues with the web site
recently).

/Paul




Hyperlink: "No action defined!"?

2010-08-20 Thread Sam Lewis
Hi,

What is the purpose of right clicking on a hyperlink *inside* LyX?

Reproduce: [Insert] > [Hyperlink]; add a link; right click on inserted hyperlink
icon and the following pop up message appears: "No action defined!"

What can I define where? Can I open this link from *within* LyX? That would be
perfect. 

Anybody any idea? Many thanks!

Cheers, Sam



Re: Hyperlink: No action defined!?

2010-08-20 Thread Paul Rubin
Sam Lewis  yahoo.co.uk> writes:

> 
> What is the purpose of right clicking on a hyperlink *inside* LyX?

None.
> 
> Reproduce: [Insert] > [Hyperlink]; add a link; right click on inserted
> hyperlink
> icon and the following pop up message appears: "No action defined!"
> 
> What can I define where?

Absent your modifying the source code, I suspect you cannot define any actions.

> Can I open this link from *within* LyX? That would be
> perfect. 

Not AFAIK.
> 
> Anybody any idea? Many thanks!

I think hyperlinks are treated as insets.  Right-clicking an inset in LyX
normally brings up a context menu.  Left-clicking an inset normally
opens/collapses it.  In the case of a hyperlink inset, though, left-clicking
opens up the dialog box for it.  Since there's nothing else you can do with a
hyperlink (at least currently) other than modifying the text or URL, there's no
need for a context menu, and apparently none is defined (hence the no action
message).  There may be other inset types where a left click does all that can
be done with them, although at the moment none come to mind.

/Paul




Re: Hyperlink: quot;No action defined!quot;?

2010-08-20 Thread Sam Lewis
> > icon and the following pop up message appears: "No action defined!"
> > What can I define where?
> Absent your modifying the source code, I suspect you cannot define any 
> actions.

I see, this is just some kind of place holder in the source. Why not use this
for opening the defined link? Might be useful to improve the
writing-reading-writing flow.

Cheers, Sam






Re: Hyperlink: amp;quot;No action defined!amp;quot;?

2010-08-20 Thread Paul Rubin
Sam Lewis  yahoo.co.uk> writes:

> 
> Why not use this
> for opening the defined link? Might be useful to improve the
> writing-reading-writing flow.
> 

Not unreasonable.  You might want to enter a Trac ticket for it as an
enhancement (after checking to be sure there isn't already such a ticket -- if
there is, you can add a comment endorsing it) (and charitably assuming Trac is
running at the moment -- there appear to be access issues with the web site
recently).

/Paul




Re: hyperlink display

2010-06-29 Thread Manveru
2010/6/29 Guenter Milde mi...@users.berlios.de:
 On 2010-06-28, Manveru wrote:
 To all it may concern not reading Trac - I've just added following comment:

 I would like to enhance this idea with an option to display an small
 icon before the text, like WikiMedia does on its pages.

 This method my apply to all other small insets, like footnote, label,
 etc. Icons may contain tooltips explaining what kind of inset is that,
 even short explanation may be useful.

 Certainly I understand that displaying such images in LyX text control
 may be harder to implement that current mechanism basing on
 descriptive texts.

 With good Screen font, the simple option is to choose from the rich set
 of Unicode symbols.

Yes, this is good idea as well :-)

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: hyperlink display

2010-06-29 Thread Manveru
2010/6/29 Guenter Milde mi...@users.berlios.de:
 On 2010-06-28, Manveru wrote:
 To all it may concern not reading Trac - I've just added following comment:

 I would like to enhance this idea with an option to display an small
 icon before the text, like WikiMedia does on its pages.

 This method my apply to all other small insets, like footnote, label,
 etc. Icons may contain tooltips explaining what kind of inset is that,
 even short explanation may be useful.

 Certainly I understand that displaying such images in LyX text control
 may be harder to implement that current mechanism basing on
 descriptive texts.

 With good Screen font, the simple option is to choose from the rich set
 of Unicode symbols.

Yes, this is good idea as well :-)

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: hyperlink display

2010-06-29 Thread Manveru
2010/6/29 Guenter Milde :
> On 2010-06-28, Manveru wrote:
>> To all it may concern not reading Trac - I've just added following comment:
>
>> I would like to enhance this idea with an option to display an small
>> icon before the text, like WikiMedia does on its pages.
>
>> This method my apply to all other small insets, like footnote, label,
>> etc. Icons may contain tooltips explaining what kind of inset is that,
>> even short explanation may be useful.
>
>> Certainly I understand that displaying such images in LyX text control
>> may be harder to implement that current mechanism basing on
>> descriptive texts.
>
> With good Screen font, the simple option is to choose from the rich set
> of Unicode symbols.

Yes, this is good idea as well :-)

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: hyperlink display

2010-06-28 Thread Manveru
To all it may concern not reading Trac - I've just added following comment:

I would like to enhance this idea with an option to display an small
icon before the text, like WikiMedia does on its pages.

This method my apply to all other small insets, like footnote, label,
etc. Icons may contain tooltips explaining what kind of inset is that,
even short explanation may be useful.

Certainly I understand that displaying such images in LyX text control
may be harder to implement that current mechanism basing on
descriptive texts.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl

2010/6/25 Jose Quesada ques...@gmail.com:
 I've added an enhancement request:
 http://www.lyx.org/trac/ticket/6788
 Best,
 -Jose

 Jose Quesada, PhD.
 Max Planck Institute,
 Center for Adaptive Behavior and Cognition,
 Berlin
 http://www.josequesada.name/
 http://twitter.com/Quesada


 On Fri, Jun 25, 2010 at 10:05 AM, Guenter Milde mi...@users.berlios.de
 wrote:

 On 2010-06-24, Vincent van Ravesteijn wrote:
  Hi,
  The current hyperlink display (at least in the doc classes I've tried)
  is as
  follows:
  [hyperlink: text limited in width]
  Would it be possible to have a more conventional display, eg not having
  the
  word hyperlink preceeding the text, not having the limited width, and
  say
  having it format as underscored blue text? I mean the lyx preview, not
  the
  resulting pdf.

  Yes, it's possible, but someone has to implement it and make it such
  that everyone likes it.

 I'd like to use some Unicodechar instead of a full word for references,
 labels and hyperlinks.

 As there is no one size fits all solution, please make tags
 configurable.

 BTW: there is a workaround for users of LyX in a non-english language:
 configure the translation of these tag names.

 Günter





Re: hyperlink display

2010-06-28 Thread Guenter Milde
On 2010-06-28, Manveru wrote:
 To all it may concern not reading Trac - I've just added following comment:

 I would like to enhance this idea with an option to display an small
 icon before the text, like WikiMedia does on its pages.

 This method my apply to all other small insets, like footnote, label,
 etc. Icons may contain tooltips explaining what kind of inset is that,
 even short explanation may be useful.

 Certainly I understand that displaying such images in LyX text control
 may be harder to implement that current mechanism basing on
 descriptive texts.

With good Screen font, the simple option is to choose from the rich set
of Unicode symbols. 

Günter



Re: hyperlink display

2010-06-28 Thread Manveru
To all it may concern not reading Trac - I've just added following comment:

I would like to enhance this idea with an option to display an small
icon before the text, like WikiMedia does on its pages.

This method my apply to all other small insets, like footnote, label,
etc. Icons may contain tooltips explaining what kind of inset is that,
even short explanation may be useful.

Certainly I understand that displaying such images in LyX text control
may be harder to implement that current mechanism basing on
descriptive texts.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl

2010/6/25 Jose Quesada ques...@gmail.com:
 I've added an enhancement request:
 http://www.lyx.org/trac/ticket/6788
 Best,
 -Jose

 Jose Quesada, PhD.
 Max Planck Institute,
 Center for Adaptive Behavior and Cognition,
 Berlin
 http://www.josequesada.name/
 http://twitter.com/Quesada


 On Fri, Jun 25, 2010 at 10:05 AM, Guenter Milde mi...@users.berlios.de
 wrote:

 On 2010-06-24, Vincent van Ravesteijn wrote:
  Hi,
  The current hyperlink display (at least in the doc classes I've tried)
  is as
  follows:
  [hyperlink: text limited in width]
  Would it be possible to have a more conventional display, eg not having
  the
  word hyperlink preceeding the text, not having the limited width, and
  say
  having it format as underscored blue text? I mean the lyx preview, not
  the
  resulting pdf.

  Yes, it's possible, but someone has to implement it and make it such
  that everyone likes it.

 I'd like to use some Unicodechar instead of a full word for references,
 labels and hyperlinks.

 As there is no one size fits all solution, please make tags
 configurable.

 BTW: there is a workaround for users of LyX in a non-english language:
 configure the translation of these tag names.

 Günter





Re: hyperlink display

2010-06-28 Thread Guenter Milde
On 2010-06-28, Manveru wrote:
 To all it may concern not reading Trac - I've just added following comment:

 I would like to enhance this idea with an option to display an small
 icon before the text, like WikiMedia does on its pages.

 This method my apply to all other small insets, like footnote, label,
 etc. Icons may contain tooltips explaining what kind of inset is that,
 even short explanation may be useful.

 Certainly I understand that displaying such images in LyX text control
 may be harder to implement that current mechanism basing on
 descriptive texts.

With good Screen font, the simple option is to choose from the rich set
of Unicode symbols. 

Günter



Re: hyperlink display

2010-06-28 Thread Manveru
To all it may concern not reading Trac - I've just added following comment:

I would like to enhance this idea with an option to display an small
icon before the text, like WikiMedia does on its pages.

This method my apply to all other small insets, like footnote, label,
etc. Icons may contain tooltips explaining what kind of inset is that,
even short explanation may be useful.

Certainly I understand that displaying such images in LyX text control
may be harder to implement that current mechanism basing on
descriptive texts.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl

2010/6/25 Jose Quesada <ques...@gmail.com>:
> I've added an enhancement request:
> http://www.lyx.org/trac/ticket/6788
> Best,
> -Jose
>
> Jose Quesada, PhD.
> Max Planck Institute,
> Center for Adaptive Behavior and Cognition,
> Berlin
> http://www.josequesada.name/
> http://twitter.com/Quesada
>
>
> On Fri, Jun 25, 2010 at 10:05 AM, Guenter Milde <mi...@users.berlios.de>
> wrote:
>>
>> On 2010-06-24, Vincent van Ravesteijn wrote:
>> >> Hi,
>> >> The current hyperlink display (at least in the doc classes I've tried)
>> >> is as
>> >> follows:
>> >> [hyperlink: text limited in width]
>> >> Would it be possible to have a more conventional display, eg not having
>> >> the
>> >> word hyperlink preceeding the text, not having the limited width, and
>> >> say
>> >> having it format as underscored blue text? I mean the lyx preview, not
>> >> the
>> >> resulting pdf.
>>
>> > Yes, it's possible, but someone has to implement it and make it such
>> > that everyone likes it.
>>
>> I'd like to use some Unicodechar instead of a full word for references,
>> labels and hyperlinks.
>>
>> As there is no "one size fits all" solution, please make "tags"
>> configurable.
>>
>> BTW: there is a workaround for users of LyX in a non-english language:
>> configure the translation of these "tag names".
>>
>> Günter
>>
>
>


Re: hyperlink display

2010-06-28 Thread Guenter Milde
On 2010-06-28, Manveru wrote:
> To all it may concern not reading Trac - I've just added following comment:

> I would like to enhance this idea with an option to display an small
> icon before the text, like WikiMedia does on its pages.

> This method my apply to all other small insets, like footnote, label,
> etc. Icons may contain tooltips explaining what kind of inset is that,
> even short explanation may be useful.

> Certainly I understand that displaying such images in LyX text control
> may be harder to implement that current mechanism basing on
> descriptive texts.

With good Screen font, the simple option is to choose from the rich set
of Unicode symbols. 

Günter



Re: hyperlink display

2010-06-25 Thread Guenter Milde
On 2010-06-24, Vincent van Ravesteijn wrote:
 Hi,
 The current hyperlink display (at least in the doc classes I've tried) is as
 follows:
 [hyperlink: text limited in width]
 Would it be possible to have a more conventional display, eg not having the
 word hyperlink preceeding the text, not having the limited width, and say
 having it format as underscored blue text? I mean the lyx preview, not the
 resulting pdf.

 Yes, it's possible, but someone has to implement it and make it such
 that everyone likes it.

I'd like to use some Unicodechar instead of a full word for references,
labels and hyperlinks.

As there is no one size fits all solution, please make tags
configurable.

BTW: there is a workaround for users of LyX in a non-english language:
configure the translation of these tag names.

Günter



Re: hyperlink display

2010-06-25 Thread Jose Quesada
I've added an enhancement request:
http://www.lyx.org/trac/ticket/6788
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Fri, Jun 25, 2010 at 10:05 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-06-24, Vincent van Ravesteijn wrote:
  Hi,
  The current hyperlink display (at least in the doc classes I've tried)
 is as
  follows:
  [hyperlink: text limited in width]
  Would it be possible to have a more conventional display, eg not having
 the
  word hyperlink preceeding the text, not having the limited width, and
 say
  having it format as underscored blue text? I mean the lyx preview, not
 the
  resulting pdf.

  Yes, it's possible, but someone has to implement it and make it such
  that everyone likes it.

 I'd like to use some Unicodechar instead of a full word for references,
 labels and hyperlinks.

 As there is no one size fits all solution, please make tags
 configurable.

 BTW: there is a workaround for users of LyX in a non-english language:
 configure the translation of these tag names.

 Günter




Re: hyperlink display

2010-06-25 Thread Guenter Milde
On 2010-06-24, Vincent van Ravesteijn wrote:
 Hi,
 The current hyperlink display (at least in the doc classes I've tried) is as
 follows:
 [hyperlink: text limited in width]
 Would it be possible to have a more conventional display, eg not having the
 word hyperlink preceeding the text, not having the limited width, and say
 having it format as underscored blue text? I mean the lyx preview, not the
 resulting pdf.

 Yes, it's possible, but someone has to implement it and make it such
 that everyone likes it.

I'd like to use some Unicodechar instead of a full word for references,
labels and hyperlinks.

As there is no one size fits all solution, please make tags
configurable.

BTW: there is a workaround for users of LyX in a non-english language:
configure the translation of these tag names.

Günter



Re: hyperlink display

2010-06-25 Thread Jose Quesada
I've added an enhancement request:
http://www.lyx.org/trac/ticket/6788
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Fri, Jun 25, 2010 at 10:05 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-06-24, Vincent van Ravesteijn wrote:
  Hi,
  The current hyperlink display (at least in the doc classes I've tried)
 is as
  follows:
  [hyperlink: text limited in width]
  Would it be possible to have a more conventional display, eg not having
 the
  word hyperlink preceeding the text, not having the limited width, and
 say
  having it format as underscored blue text? I mean the lyx preview, not
 the
  resulting pdf.

  Yes, it's possible, but someone has to implement it and make it such
  that everyone likes it.

 I'd like to use some Unicodechar instead of a full word for references,
 labels and hyperlinks.

 As there is no one size fits all solution, please make tags
 configurable.

 BTW: there is a workaround for users of LyX in a non-english language:
 configure the translation of these tag names.

 Günter




Re: hyperlink display

2010-06-25 Thread Guenter Milde
On 2010-06-24, Vincent van Ravesteijn wrote:
>> Hi,
>> The current hyperlink display (at least in the doc classes I've tried) is as
>> follows:
>> [hyperlink: text limited in width]
>> Would it be possible to have a more conventional display, eg not having the
>> word hyperlink preceeding the text, not having the limited width, and say
>> having it format as underscored blue text? I mean the lyx preview, not the
>> resulting pdf.

> Yes, it's possible, but someone has to implement it and make it such
> that everyone likes it.

I'd like to use some Unicodechar instead of a full word for references,
labels and hyperlinks.

As there is no "one size fits all" solution, please make "tags"
configurable.

BTW: there is a workaround for users of LyX in a non-english language:
configure the translation of these "tag names".

Günter



Re: hyperlink display

2010-06-25 Thread Jose Quesada
I've added an enhancement request:
http://www.lyx.org/trac/ticket/6788
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


On Fri, Jun 25, 2010 at 10:05 AM, Guenter Milde <mi...@users.berlios.de>wrote:

> On 2010-06-24, Vincent van Ravesteijn wrote:
> >> Hi,
> >> The current hyperlink display (at least in the doc classes I've tried)
> is as
> >> follows:
> >> [hyperlink: text limited in width]
> >> Would it be possible to have a more conventional display, eg not having
> the
> >> word hyperlink preceeding the text, not having the limited width, and
> say
> >> having it format as underscored blue text? I mean the lyx preview, not
> the
> >> resulting pdf.
>
> > Yes, it's possible, but someone has to implement it and make it such
> > that everyone likes it.
>
> I'd like to use some Unicodechar instead of a full word for references,
> labels and hyperlinks.
>
> As there is no "one size fits all" solution, please make "tags"
> configurable.
>
> BTW: there is a workaround for users of LyX in a non-english language:
> configure the translation of these "tag names".
>
> Günter
>
>


Re: Hyperlink to Local PDFs

2010-06-24 Thread Paul A. Rubin

On 6/24/2010 1:27 AM, Jacob Heimark wrote:


I am a newb to LyX and LaTeX. I apologize if this is (a) not the right
forum/locale to ask my question in
and (b) the answer to this question is somewhere on the website and I
am just too stupid to find it (I spent
several hours searching - at least I can't find an answer to my question).

I am trying to get LyX to hyperlink to a local pdf such that a
clickable name field in the pdf created by lyx
opens a desired pdf (located in the same folder as the LyX document
and the pdf).

I want to use local references because I am using dropbox with a
colleague, I use a mac, he uses Windows.


In LyX, click Insert  Hyperlink, put the link text in the Name field, 
the name of the PDF file (including extension, but excluding path) in 
the Target field, and click the File radio button.  You're going to have 
to give LyX the benefit of the doubt on this:  if you preview your file 
with one of the View  PDF (...) options, the link will be there but 
won't work when you click on it.  If you _export_ your file to PDF, 
however, the link will work (provided that the target file is in the 
same directory as the exported document).  The reason it doesn't work in 
preview mode is that LyX generates the preview document in a temporary 
directory, not in the document's home directory, and it does not copy 
the target file to the temp directory, nor does it adjust the path 
automatically (which I would characterize as a minor bug).


If I am not being clear about what I am trying to do, I will try to
explain again: I am working on a joint
research paper, we are trying to write it in LaTeX, we would like the
final PDF produced by LyX to link to
PDFs in the same folder as the LyX document so that we can quickly
jump to references. Essentially, I am
writing him notes and saying: see here, and want him to be able to jump there.


This will work, but keep in mind that the default behavior is for the 
link to _replace_ the current document with the target document (at 
least in Acrobat Reader).  So the reader loses his/her place in the 
current document.  If you want the link to open the target in a new 
reader window without closing the current document, go to Document  
Settings  PDF Properties, enable Use hyperref support, and add 
pdfnewwindow=true to the Additional options field.


If the hyperlink would also work in LyX and/or anyone could give me
advice on how to jump to a specific
section in a pdf or how best to annotate said pdf this would all be
REALLY helpful.


Insert  Hyperlink causes your document to load the LaTeX hyperref 
package, which automatically creates bookmarks to major structural 
components of your PDF file (sections, subsections etc.), provided that 
they are numbered.  If you look in the environment list, you'll see 
starred versions of several environments (e.g., Section and Section*). 
 The starred versions are not numbered, and as a consequence hyperref 
will not create bookmarks for them.  When the resulting PDF file is 
opened in Acrobat Reader (and I'm pretty sure other readers behave 
similarly), there will be a sidebar containing links to the unstarred 
components.  You can control whether the sidebar is open or closed at 
the time the document is opened with one of hyperref's many options.  If 
you want to generate a PDF that does not contain any external links 
(i.e., you're not going to do Insert  Hyperlink anywhere in it) but you 
do want the internal document links, just go to Document  Settings  
PDF Properties and check Use hyperref support.  Note that you can also 
customize hyperref options there.  See the manual that comes with 
hyperref for full details -- it should be located in the 
.../doc/latex/hyperref folder under your LaTeX distribution's 
installation directory.  (All this presumes that you have the hyperref 
package installed, of course.)


Thank you so much for understanding, sorry to be such a newbie if my
questions seem stupid.


We're all newbies until we're not.

/Paul



hyperlink display

2010-06-24 Thread Jose Quesada
Hi,

The current hyperlink display (at least in the doc classes I've tried) is as
follows:

[hyperlink: text limited in width]

Would it be possible to have a more conventional display, eg not having the
word hyperlink preceeding the text, not having the limited width, and say
having it format as underscored blue text? I mean the lyx preview, not the
resulting pdf.

Thanks!


Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: hyperlink display

2010-06-24 Thread Vincent van Ravesteijn
 Hi,
 The current hyperlink display (at least in the doc classes I've tried) is as
 follows:
 [hyperlink: text limited in width]
 Would it be possible to have a more conventional display, eg not having the
 word hyperlink preceeding the text, not having the limited width, and say
 having it format as underscored blue text? I mean the lyx preview, not the
 resulting pdf.

Yes, it's possible, but someone has to implement it and make it such
that everyone likes it.

Vincent

(CCing the list)


Re: Hyperlink to Local PDFs

2010-06-24 Thread Paul A. Rubin

On 6/24/2010 1:27 AM, Jacob Heimark wrote:


I am a newb to LyX and LaTeX. I apologize if this is (a) not the right
forum/locale to ask my question in
and (b) the answer to this question is somewhere on the website and I
am just too stupid to find it (I spent
several hours searching - at least I can't find an answer to my question).

I am trying to get LyX to hyperlink to a local pdf such that a
clickable name field in the pdf created by lyx
opens a desired pdf (located in the same folder as the LyX document
and the pdf).

I want to use local references because I am using dropbox with a
colleague, I use a mac, he uses Windows.


In LyX, click Insert  Hyperlink, put the link text in the Name field, 
the name of the PDF file (including extension, but excluding path) in 
the Target field, and click the File radio button.  You're going to have 
to give LyX the benefit of the doubt on this:  if you preview your file 
with one of the View  PDF (...) options, the link will be there but 
won't work when you click on it.  If you _export_ your file to PDF, 
however, the link will work (provided that the target file is in the 
same directory as the exported document).  The reason it doesn't work in 
preview mode is that LyX generates the preview document in a temporary 
directory, not in the document's home directory, and it does not copy 
the target file to the temp directory, nor does it adjust the path 
automatically (which I would characterize as a minor bug).


If I am not being clear about what I am trying to do, I will try to
explain again: I am working on a joint
research paper, we are trying to write it in LaTeX, we would like the
final PDF produced by LyX to link to
PDFs in the same folder as the LyX document so that we can quickly
jump to references. Essentially, I am
writing him notes and saying: see here, and want him to be able to jump there.


This will work, but keep in mind that the default behavior is for the 
link to _replace_ the current document with the target document (at 
least in Acrobat Reader).  So the reader loses his/her place in the 
current document.  If you want the link to open the target in a new 
reader window without closing the current document, go to Document  
Settings  PDF Properties, enable Use hyperref support, and add 
pdfnewwindow=true to the Additional options field.


If the hyperlink would also work in LyX and/or anyone could give me
advice on how to jump to a specific
section in a pdf or how best to annotate said pdf this would all be
REALLY helpful.


Insert  Hyperlink causes your document to load the LaTeX hyperref 
package, which automatically creates bookmarks to major structural 
components of your PDF file (sections, subsections etc.), provided that 
they are numbered.  If you look in the environment list, you'll see 
starred versions of several environments (e.g., Section and Section*). 
 The starred versions are not numbered, and as a consequence hyperref 
will not create bookmarks for them.  When the resulting PDF file is 
opened in Acrobat Reader (and I'm pretty sure other readers behave 
similarly), there will be a sidebar containing links to the unstarred 
components.  You can control whether the sidebar is open or closed at 
the time the document is opened with one of hyperref's many options.  If 
you want to generate a PDF that does not contain any external links 
(i.e., you're not going to do Insert  Hyperlink anywhere in it) but you 
do want the internal document links, just go to Document  Settings  
PDF Properties and check Use hyperref support.  Note that you can also 
customize hyperref options there.  See the manual that comes with 
hyperref for full details -- it should be located in the 
.../doc/latex/hyperref folder under your LaTeX distribution's 
installation directory.  (All this presumes that you have the hyperref 
package installed, of course.)


Thank you so much for understanding, sorry to be such a newbie if my
questions seem stupid.


We're all newbies until we're not.

/Paul



hyperlink display

2010-06-24 Thread Jose Quesada
Hi,

The current hyperlink display (at least in the doc classes I've tried) is as
follows:

[hyperlink: text limited in width]

Would it be possible to have a more conventional display, eg not having the
word hyperlink preceeding the text, not having the limited width, and say
having it format as underscored blue text? I mean the lyx preview, not the
resulting pdf.

Thanks!


Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: hyperlink display

2010-06-24 Thread Vincent van Ravesteijn
 Hi,
 The current hyperlink display (at least in the doc classes I've tried) is as
 follows:
 [hyperlink: text limited in width]
 Would it be possible to have a more conventional display, eg not having the
 word hyperlink preceeding the text, not having the limited width, and say
 having it format as underscored blue text? I mean the lyx preview, not the
 resulting pdf.

Yes, it's possible, but someone has to implement it and make it such
that everyone likes it.

Vincent

(CCing the list)


Re: Hyperlink to Local PDFs

2010-06-24 Thread Paul A. Rubin

On 6/24/2010 1:27 AM, Jacob Heimark wrote:


I am a newb to LyX and LaTeX. I apologize if this is (a) not the right
forum/locale to ask my question in
and (b) the answer to this question is somewhere on the website and I
am just too stupid to find it (I spent
several hours searching - at least I can't find an answer to my question).

I am trying to get LyX to hyperlink to a local pdf such that a
clickable "name" field in the pdf created by lyx
opens a desired pdf (located in the same folder as the LyX document
and the pdf).

I want to use local references because I am using dropbox with a
colleague, I use a mac, he uses Windows.


In LyX, click Insert > Hyperlink, put the link text in the Name field, 
the name of the PDF file (including extension, but excluding path) in 
the Target field, and click the File radio button.  You're going to have 
to give LyX the benefit of the doubt on this:  if you preview your file 
with one of the View > PDF (...) options, the link will be there but 
won't work when you click on it.  If you _export_ your file to PDF, 
however, the link will work (provided that the target file is in the 
same directory as the exported document).  The reason it doesn't work in 
preview mode is that LyX generates the preview document in a temporary 
directory, not in the document's home directory, and it does not copy 
the target file to the temp directory, nor does it adjust the path 
automatically (which I would characterize as a minor bug).


If I am not being clear about what I am trying to do, I will try to
explain again: I am working on a joint
research paper, we are trying to write it in LaTeX, we would like the
final PDF produced by LyX to link to
PDFs in the same folder as the LyX document so that we can quickly
jump to references. Essentially, I am
writing him notes and saying: see here, and want him to be able to jump there.


This will work, but keep in mind that the default behavior is for the 
link to _replace_ the current document with the target document (at 
least in Acrobat Reader).  So the reader loses his/her place in the 
current document.  If you want the link to open the target in a new 
reader window without closing the current document, go to Document > 
Settings > PDF Properties, enable "Use hyperref support", and add 
pdfnewwindow=true to the Additional options field.


If the hyperlink would also work in LyX and/or anyone could give me
advice on how to jump to a specific
section in a pdf or how best to annotate said pdf this would all be
REALLY helpful.


Insert > Hyperlink causes your document to load the LaTeX hyperref 
package, which automatically creates bookmarks to major structural 
components of your PDF file (sections, subsections etc.), provided that 
they are numbered.  If you look in the environment list, you'll see 
"starred" versions of several environments (e.g., Section and Section*). 
 The starred versions are not numbered, and as a consequence hyperref 
will not create bookmarks for them.  When the resulting PDF file is 
opened in Acrobat Reader (and I'm pretty sure other readers behave 
similarly), there will be a sidebar containing links to the unstarred 
components.  You can control whether the sidebar is open or closed at 
the time the document is opened with one of hyperref's many options.  If 
you want to generate a PDF that does not contain any external links 
(i.e., you're not going to do Insert > Hyperlink anywhere in it) but you 
do want the internal document links, just go to Document > Settings > 
PDF Properties and check "Use hyperref support".  Note that you can also 
customize hyperref options there.  See the manual that comes with 
hyperref for full details -- it should be located in the 
.../doc/latex/hyperref folder under your LaTeX distribution's 
installation directory.  (All this presumes that you have the hyperref 
package installed, of course.)


Thank you so much for understanding, sorry to be such a newbie if my
questions seem stupid.


We're all newbies until we're not.

/Paul



hyperlink display

2010-06-24 Thread Jose Quesada
Hi,

The current hyperlink display (at least in the doc classes I've tried) is as
follows:

[hyperlink: text limited in width]

Would it be possible to have a more conventional display, eg not having the
word hyperlink preceeding the text, not having the limited width, and say
having it format as underscored blue text? I mean the lyx preview, not the
resulting pdf.

Thanks!


Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: hyperlink display

2010-06-24 Thread Vincent van Ravesteijn
> Hi,
> The current hyperlink display (at least in the doc classes I've tried) is as
> follows:
> [hyperlink: text limited in width]
> Would it be possible to have a more conventional display, eg not having the
> word hyperlink preceeding the text, not having the limited width, and say
> having it format as underscored blue text? I mean the lyx preview, not the
> resulting pdf.

Yes, it's possible, but someone has to implement it and make it such
that everyone likes it.

Vincent

(CCing the list)


Hyperlink to Local PDFs

2010-06-23 Thread Jacob Heimark
Hi,

I am a newb to LyX and LaTeX. I apologize if this is (a) not the right
forum/locale to ask my question in
and (b) the answer to this question is somewhere on the website and I
am just too stupid to find it (I spent
several hours searching - at least I can't find an answer to my question).

I am trying to get LyX to hyperlink to a local pdf such that a
clickable name field in the pdf created by lyx
opens a desired pdf (located in the same folder as the LyX document
and the pdf).

I want to use local references because I am using dropbox with a
colleague, I use a mac, he uses Windows.

If I am not being clear about what I am trying to do, I will try to
explain again: I am working on a joint
research paper, we are trying to write it in LaTeX, we would like the
final PDF produced by LyX to link to
PDFs in the same folder as the LyX document so that we can quickly
jump to references. Essentially, I am
writing him notes and saying: see here, and want him to be able to jump there.

If the hyperlink would also work in LyX and/or anyone could give me
advice on how to jump to a specific
section in a pdf or how best to annotate said pdf this would all be
REALLY helpful.

Thank you so much for understanding, sorry to be such a newbie if my
questions seem stupid.

N.B.
I am using a Mac 10.6.3 and LyX 1.6.6

Sincerely,
-J Heimark


Hyperlink to Local PDFs

2010-06-23 Thread Jacob Heimark
Hi,

I am a newb to LyX and LaTeX. I apologize if this is (a) not the right
forum/locale to ask my question in
and (b) the answer to this question is somewhere on the website and I
am just too stupid to find it (I spent
several hours searching - at least I can't find an answer to my question).

I am trying to get LyX to hyperlink to a local pdf such that a
clickable name field in the pdf created by lyx
opens a desired pdf (located in the same folder as the LyX document
and the pdf).

I want to use local references because I am using dropbox with a
colleague, I use a mac, he uses Windows.

If I am not being clear about what I am trying to do, I will try to
explain again: I am working on a joint
research paper, we are trying to write it in LaTeX, we would like the
final PDF produced by LyX to link to
PDFs in the same folder as the LyX document so that we can quickly
jump to references. Essentially, I am
writing him notes and saying: see here, and want him to be able to jump there.

If the hyperlink would also work in LyX and/or anyone could give me
advice on how to jump to a specific
section in a pdf or how best to annotate said pdf this would all be
REALLY helpful.

Thank you so much for understanding, sorry to be such a newbie if my
questions seem stupid.

N.B.
I am using a Mac 10.6.3 and LyX 1.6.6

Sincerely,
-J Heimark


Hyperlink to Local PDFs

2010-06-23 Thread Jacob Heimark
Hi,

I am a newb to LyX and LaTeX. I apologize if this is (a) not the right
forum/locale to ask my question in
and (b) the answer to this question is somewhere on the website and I
am just too stupid to find it (I spent
several hours searching - at least I can't find an answer to my question).

I am trying to get LyX to hyperlink to a local pdf such that a
clickable "name" field in the pdf created by lyx
opens a desired pdf (located in the same folder as the LyX document
and the pdf).

I want to use local references because I am using dropbox with a
colleague, I use a mac, he uses Windows.

If I am not being clear about what I am trying to do, I will try to
explain again: I am working on a joint
research paper, we are trying to write it in LaTeX, we would like the
final PDF produced by LyX to link to
PDFs in the same folder as the LyX document so that we can quickly
jump to references. Essentially, I am
writing him notes and saying: see here, and want him to be able to jump there.

If the hyperlink would also work in LyX and/or anyone could give me
advice on how to jump to a specific
section in a pdf or how best to annotate said pdf this would all be
REALLY helpful.

Thank you so much for understanding, sorry to be such a newbie if my
questions seem stupid.

N.B.
I am using a Mac 10.6.3 and LyX 1.6.6

Sincerely,
-J Heimark


Re: bug in hyperlink and footnote?

2009-04-20 Thread James C. Sutherland


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?

2009-04-20 Thread Uwe Stöhr

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?

2009-04-20 Thread James C. Sutherland


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?

2009-04-20 Thread Uwe Stöhr

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?

2009-04-20 Thread James C. Sutherland


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?

2009-04-20 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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?

2009-04-19 Thread Uwe Stöhr

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


bug in hyperlink and footnote?

2009-04-18 Thread 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?



newfile1.lyx
Description: Binary data




Re: bug in hyperlink and footnote?

2009-04-18 Thread Stefano Franchi
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 AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


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?

2009-04-18 Thread BH
On Sat, Apr 18, 2009 at 7:50 PM, James Sutherland
jcsutherland.u...@gmail.com 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?

2009-04-18 Thread James Sutherland

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?

2009-04-18 Thread Wolfgang Engelmann
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 ##.



bug in hyperlink and footnote?

2009-04-18 Thread 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?



newfile1.lyx
Description: Binary data




Re: bug in hyperlink and footnote?

2009-04-18 Thread Stefano Franchi
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 AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


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?


  1   2   3   >