LyXHow to hyperlink to a folder?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
JordanO-P
Posts: 3
Joined: Tue Mar 15, 2011 12:58 am

How to hyperlink to a folder?

Post by JordanO-P »

Dear Latex community,

I'm just starting figuring my way out in Lyx and I already face a problem:

How to hyperlink to a folder?

I'm writing a document that describes a bunch of files spread on my computer.

I would like to hyperlink a general folder containing multiple files. By clicking on the hyperlink, i want windows exploror to open and show that folder.

I tried doing this:

C:\Users\Jordan\Downloads

But in the resulting pdf, an error occurs saying it cannot find the file:

C:\Users\Jordan\Downloads\.pdf


What should I do?

And how about the colored boxes around hyperlink? Is there a way to remove them? If it needs some coding, I don`t know where to insert it so please be detailled in your ideas.

Sincerely,

Jordan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

CSMR
Posts: 44
Joined: Fri Oct 10, 2008 10:44 pm

Re: How to hyperlink to a folder?

Post by CSMR »

1. As a workaround, can it link to a shortcut to the folder?

2. Try Document -> Settings -> PDF settings -> hyperlinks ?
JordanO-P
Posts: 3
Joined: Tue Mar 15, 2011 12:58 am

How to hyperlink to a folder?

Post by JordanO-P »

Thanks CSMR,

I found the problem. It appears that you have to enter slashes into Lyx instead of backslashes like you see when using windows explorer.

EX: In order to access C:\Users\Jordan\divers\Curriculum vitae on your computer by a hyperlink you have to enter C://Users/Jordan/Divers/Curriculum vitae so it works

You also have to give as link type the choice "web".

For the boxes around hyperlinks, CSMR's comment is accurate:

Try Document -> Settings -> PDF settings -> hyperlinks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: How to hyperlink to a folder?

Post by Stefan Kottwitz »

Hi Jordan,

welcome to the board!

It's great that you also post the solution you found yourself.

Stefan
LaTeX.org admin
Post Reply