Is there a way in LyX to set up a) a reference to a web resource by URL, b) a reference to another location in the same document, in a manner that turns the reference to a clickable link in the resulting PDF?

From the LyX manuals, it seems that this is not possible directly with LyX commands and buttons, but this sounds odd. If it’s not possible, what’s the simplest way of doing this via insertion of TeX code?


2 Answers 2


According to the LyX FAQ, you have to enable hyperref support in the document settings under PDF properties.

  • Thanks for the pointer, but I still don’t see how to make it work. In setting up a reference, I don’t see any option for making it a hyperlink. Commented Apr 2, 2012 at 11:03
  • 1
    @JukkaK.Korpela That happens automatically. With hyperref enabled, all cross references, citations and URLs (inserted with Insert --> URL) are turned into clickable links in the PDF. Commented Apr 2, 2012 at 11:33
  • Works for external links on Adobe Reader (but oddly not in Foxit Reader). For internal links, i.e. cross-references (defined as Formatted reference, right? other options don’t seem to make sense here). Commented Apr 2, 2012 at 11:51
  • @JukkaK.Korpela Perhaps Foxit has an option for disabling hyperlinks. Works fine here (note, only the number is hyperlinked in a formatted reference, not the preceding text, e.g. "equation" in "equation (1)" is not clickable). Why wouldn't other options make sense? Commented Apr 2, 2012 at 12:26
  • OK, thanks, I guess need to study the LyX cross-referencing more. Commented Apr 2, 2012 at 13:53
  1. In the menubar go to Document>Settings>PDF properties tick [Use Hyperref support] add the title, author details

  2. In the document: float:Figure should contain figure and the label (you can add label at the caption)

  3. To refer the figure number: type Figure. and then Insert cross-reference > select the label

This should work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .