biblatex 超链接问题

发布于 2021-05-13 20:50:14

MWE见链接https://paste.ubuntu.com/p/w2jQsFyQhq/

需求:能将url或者doi 隐藏,并将整个引用文献变成超链接的形式吗?

biblatex.png

\documentclass[cn,15pt]{article}
\usepackage[UTF8]{ctex}

\RequirePackage{hyperref}
\hypersetup{
    breaklinks,
    unicode,
    linktoc=all,
    bookmarksnumbered=true,
    bookmarksopen=true,
    colorlinks,
    plainpages=false,
    pdfstartview=FitH,
    pdfborder={0 0 0},
    linktocpage
}

\RequirePackage[backend=biber,
natbib=true,
style=numeric-comp,
url=true,
doi=true,
citestyle=gb7714-2015,
bibstyle=gb7714-2015]{biblatex}

\addbibresource{reference.bib}

%%------------------------------------------------%%
\title{Biblatex 测试}


\begin{document}
    
    

文献格式测试\cite{RN2351}
    
 
\printbibliography[heading=bibliography,title=参考文献]
    
    
\end{document}



%%%  将以下内容剪切到   reference.bib 文件

@article{RN2351,
    author = {Johnson, B. R.},
    title = {The renormalized Numerov method applied to calculating bound states of the coupled-channel Schr\"odinger equation},
    volume = {69},
    number = {10},
    pages = {4678-4688},
    DOI = {10.1063/1.436421},
    url = {https://aip.scitation.org/doi/abs/10.1063/1.436421},
    year = {1978},
    type = {Journal Article}
}

查看更多

关注者
0
被浏览
2.7k
2 个回答
啸行
啸行 2021-05-14
这家伙很懒,什么也没写!

忘了这是哪个样式了。以前见过

ykphysics
ykphysics 2021-05-30
这家伙很懒,什么也没写!

等了好久,没有等到满意的答案。今天个人找到了完美解决方案,大家参考:

\documentclass[cn,15pt]{article}
\usepackage[UTF8]{ctex}

%\RequirePackage[backend=biber,
%natbib=true,
%sorting=none,
%style=numeric-comp,
%url=false,
%doi=false]{biblatex}

\RequirePackage{hyperref}
\hypersetup{
    breaklinks,
    unicode,
    linktoc=all,
    bookmarksnumbered=true,
    bookmarksopen=true,
    colorlinks,
    linkcolor=blue,
    citecolor=blue,
    urlcolor=blue,
    plainpages=false,
    pdfstartview=FitH,
    pdfborder={0 0 0},
    linktocpage
}

\usepackage[%
backend=biber,
style=phys,%
articletitle=false,biblabel=brackets,%
chaptertitle=false,pageranges=false,
]
{biblatex}

\addbibresource{reference.bib}

%%----------------%%

\begin{document}

文献一\cite{RN2306}
    
文献二\cite{RN791}
 
\printbibliography[heading=bibliography,title=参考文献]
    
    
\end{document}

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览