Sue Kientz schrieb:

To create those website labels and URLs I used "Insert URL" of course. My problem is, the team I'm preparing this manual for wants parentheses around the URLs. If I use Insert URL dialog box to create those references, and put either ( ) or < > -type parentheses around the URLs, they no longer work when clicked on in the PDF. Is there something I can add to hyperref that will give me parentheses around all the URLs in my document?

You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

You can also simply put the parentheses around the URL-box.

Attached is an example LyX-file where I also used hyperref's \href command instead of \url. Its preamble contains an example configuration for hyperref.

regards Uwe

Attachment: newfile1.lyx
Description: application/lyx

Reply via email to