I have this simple LaTeX file:
\documentclass{book}
\usepackage{hyperref}
\hypersetup{%
linkcolor=blue,
colorlinks=true,% hyperlinks will be black
pdfborderstyle={/S/U/W 1}% border style with underline of width 1pt
}
\begin{document}
\tableofcontents
\section{Hello}
Hello.
\section{World}
World.
\end{document}
When I'm trying to get a pdf linked document with:
latex hello.tex
latex hello.tex
dvips hello.dvi
pstopdf hello.ps
I have a pdf file with blue links, but the link does not work. I had to use pstopdf
instead of ps2pdf
because the command is not available in my system (TeXLive 2014).
What might be wrong?
I need to use the latex/dvips/pstopdf
command path, as I need to compile a TeX code from https://github.com/daly/literateclojure ; otherwise I get compilation errors.
ps2pdf
instead ofpstopdf
?ps2pdf
should be installed by TL.ps2pdf
, I havepstopdf
though.