[Tex/LaTex] Break Hyper Link not working

hyperref

Below is my code,

\documentclass{article}

\usepackage[breaklinks]{hyperref}
\hypersetup{
pdfpagemode=none,%
colorlinks,%
citecolor=blue,%
filecolor=blue,%
linkcolor=blue,%
urlcolor=blue
}
\begin{document}

This a Sample, This a Sample, This a Sample, This a Sample, This i\href{http://dx.doi.org/10.1007/BF0000000}{\textbf{32}, 396 (1964)}

\end{document}

I am using dvi2ps and ps2pdf to create PDF output, my problem is hyperlink not working when the link text is broken, please guide me,

As shown in the below image, first line link doesn't show the link as second line of text
enter image description here

Thanks in Advance

Thanks for the help

Below code is working fine

\documentclass{article}
\usepackage[breaklinks]{hyperref}
\usepackage{breakurl}
\usepackage{url}
\hypersetup{
pdfpagemode=none,%
colorlinks,%
citecolor=blue,%
filecolor=blue,%
linkcolor=blue,%
urlcolor=blue
}

\begin{document}

If you have any questions, at \burlalt{www.goooooggggggle.comssss}{32, 396, (1964)}

If you have any questions, at have any questions, at have have \burlalt{www.goooooggggggle.comssss}{32, 396, (1964)}

\end{document}

But now my minor issue is i can't able to use \textbf{} in

\burlalt{www.goooooggggggle.comssss}{\textbf{32}, 396, (1964)}

actually i am new to latex, so kindly guide me,

Best Answer

From hyperref's README:

Wrapped/broken link support

Only few drivers support automatically wrapped/broken links, e.g. pdftex, dvipdfm, hypertex. Other drivers lack this feature, e.g. dvips, dvipsone.

Workarounds:

  • For long section or caption titles in the table of contents or list of figures/tables option linktocpage can be used. Then the page number will be a link, and the overlong section title is not forced into an one line link with overvull \hbox warning.

  • \urls are caught by package breakurl.

  • The option breaklinks is intended for internal use. But it can be used to force link wrapping, e.g. when printing a document. However, when such a document is converted to PDF and viewed with a PDF viewer, the active link area will be misplaced. Another limitation: some penalties are "optimized" by TeX, thus there are missing break points, especially within \url. (See thread hyperref.sty, breaklinks and url.sty 3.2" in comp.text.tex 2005-09).

Related Question