PDF 中的链接线程在引用超过两行时位置不正确

PDF 中的链接线程在引用超过两行时位置不正确

我在 Tex 文件中使用以下代码,并获取引用链接。请参阅以下代码。

\documentclass[12pt]{article}

\usepackage{hypernat}
\usepackage[dvips,breaklinks,bookmarks=false,hyperfootnotes=false]{hyperref}
\hypersetup{%
    colorlinks,%
    citecolor=blue,%
    filecolor=blue,%
    linkcolor=blue,%
    urlcolor=blue,
}%

\usepackage[sort&compress]{natbib}

\begin{document}

\section{Calibration of the model}\label{SS:calibration}

The software package \citep{SVM08} was used to obtain the
$\alpha$, $\beta$ and $\mu$ that best fit dataset 6 given
in Table~\ref{tab1}.  Here, $V_{0}$ was taken to be the
volume at $t = 0$, i.e. $V_{0} = 0.34\,{\rm cm}^{3}$ and
only the first four data points from dataset~6 were used
for calibration.  A routine was written in \citet{SVM08}
that includes the optimization tool, \textit{lsqcurvefit},
a \citet{SVM08} built-in function. This function solves the
following optimization problem using least squares dummy text \citep{Matlab77}

\begin{thebibliography}{}

\bibitem[MATLAB 7.7(R2008b)]{SVM08}
{\bibname Matlab 7.7} (R2008b) \textit{Copyright 1984--2008}, Natick, Massachusetts, USA: The MathWorks, Inc.

\bibitem[MATLAB 7.7 and Optimization Toolbox 4.1(R2008b)]{Matlab77}
{\bibname Matlab 7.7 and Optimization Toolbox 4.1} (R2008b) \textit{Copyright 1984--2008}, Natick, Massachusetts, USA: The MathWorks, Inc.

\end{thebibliography}

生成 PDF 后,超过 2 行的链接未显示在正确的位置,请查看屏幕截图。在此处输入图片描述

有人能帮我解决这个问题吗?

问候

S. Vinayagamurthy


我在 Tex 文件中使用以下代码,并获取引用链接。请参阅以下代码。

\documentclass[12pt]{article}

\usepackage{hypernat}
\usepackage[dvips,breaklinks,bookmarks=false,hyperfootnotes=false]{hyperref}
\hypersetup{%
    colorlinks,%
    citecolor=blue,%
    filecolor=blue,%
    linkcolor=blue,%
    urlcolor=blue,
}%

\usepackage[sort&compress]{natbib}

\begin{document}

\section{Calibration of the model}\label{SS:calibration}

The software package \citep{SVM08} was used to obtain the
$\alpha$, $\beta$ and $\mu$ that best fit dataset 6 given
in Table~\ref{tab1}.  Here, $V_{0}$ was taken to be the
volume at $t = 0$, i.e. $V_{0} = 0.34\,{\rm cm}^{3}$ and
only the first four data points from dataset~6 were used
for calibration.  A routine was written in \citet{SVM08}
that includes the optimization tool, \textit{lsqcurvefit},
a \citet{SVM08} built-in function. This function solves the
following optimization problem using least squares dummy text \citep{Matlab77}

\begin{thebibliography}{}

\bibitem[MATLAB 7.7(R2008b)]{SVM08}
{\bibname Matlab 7.7} (R2008b) \textit{Copyright 1984--2008}, Natick, Massachusetts, USA: The MathWorks, Inc.

\bibitem[MATLAB 7.7 and Optimization Toolbox 4.1(R2008b)]{Matlab77}
{\bibname Matlab 7.7 and Optimization Toolbox 4.1} (R2008b) \textit{Copyright 1984--2008}, Natick, Massachusetts, USA: The MathWorks, Inc.

\end{thebibliography}

生成 PDF 后,超过 2 行的链接未显示在正确的位置,请查看屏幕截图。

在此处输入图片描述

有人能帮我解决这个问题吗?

答案1

驱动dvips程序不是支持跨行断开的链接,请参阅“包装/断开的链接支持”hyperref部分自述. 它还提到了选项breaklinks

该选项breaklinks仅供内部使用。但它可用于强制链接换行,例如在打印文档时。但是,当将此类文档转换为 PDF 并使用 PDF 查看器查看时,活动链接区域将错位。

相关内容