Generalhyperref and Linux path not working

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
alexz
Posts: 8
Joined: Fri Sep 12, 2008 8:39 pm

hyperref and Linux path not working

Post by alexz »

Hi,

I'm using hyperref and am trying to add a link to a samba share in a doc but get an error. This is what I'm doing:

Code: Select all

\documentclass{article}
\usepackage[letterpaper,hmargin=1.25in,vmargin=1.25in,vcentering]{geometry}
\usepackage{fancyhdr,makeidx,latexsym,amssymb}
\usepackage{color}
\usepackage[final]{graphicx}
\usepackage{multirow,hhline,threeparttable,rotating}
\usepackage{hyperref}
\urlstyle{same}
\hypersetup{%
    pdfnewwindow=true,  % links in new window
    colorlinks=true,    % false: boxed links; true: colored links
    linkcolor=black,    % color of internal links
    urlcolor=blue       % color of external links
}

\begin{document}
The software resides at \url{loramab00001001:\samba\csg}
\end{document}
but if I change the backslash it works:

Code: Select all

\begin{document}
The software resides at \url{loramab00001001:/samba/csg}
\end{document}
I thought URL took care of these. What am I missing? Thanks for the help.
Alex

Recommended reading 2024:

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

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

Post Reply