我使用了 3 条\printbibliography
命令(每条命令都选择一组引文)。其中两条命令我想设置为,doi
和url
。如果我想全局执行此操作,我会在包导入时执行此操作,将这些作为选项,但我找不到对单个 执行此操作的方法。这可能吗?如果可以,怎么做?eprint
false
\printbibliography
移动网络
\documentclass{article}
\usepackage[defernumbers=true,sorting=none,backend=biber,maxnames=10]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Perunov,
author = {Perunov, Nikolay and Marsland, Robert A and England, Jeremy L},
doi = {10.1103/PhysRevX.6.021036},
keywords = {Biological Physics,Complex Systems,Statistical Physics,Subject Areas},
mendeley-groups = {dissertation},
title = {{Statistical Physics of Adaptation}},
url = {https://journals.aps.org/prx/pdf/10.1103/PhysRevX.6.021036}
}
@article{Strombom2011,
author = {Str{\"{o}}mbom, Daniel},
doi = {10.1016/j.jtbi.2011.05.019},
journal = {Journal of Theoretical Biology},
mendeley-groups = {dissertation},
month = {aug},
number = {1},
pages = {145--151},
title = {{Collective motion from local attraction}},
url = {http://linkinghub.elsevier.com/retrieve/pii/S002251931100261X},
volume = {283},
year = {2011},
keywords = "nourl"
}
\end{filecontents}
\begin{document}
\nocite{*}
\printbibliography[title={please no url},heading=subbibliography,keyword=nourl]
\printbibliography[title={please url},heading=subbibliography,notkeyword=nourl]
\end{document}
输出:
答案1
要暂时禁用 doi、url 等,您可以使用
\settoggle{bbx:url}{false}
\settoggle{bbx:doi}{false}
\settoggle{bbx:eprint}{false}
梅威瑟:
\documentclass{article}
\usepackage[defernumbers=true,sorting=none,backend=biber,maxnames=10]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{Perunov,
author = {Perunov, Nikolay and Marsland, Robert A and England, Jeremy L},
doi = {10.1103/PhysRevX.6.021036},
keywords = {Biological Physics,Complex Systems,Statistical Physics,Subject Areas},
mendeley-groups = {dissertation},
title = {{Statistical Physics of Adaptation}},
url = {https://journals.aps.org/prx/pdf/10.1103/PhysRevX.6.021036}
}
@article{Strombom2011,
author = {Str{\"{o}}mbom, Daniel},
doi = {10.1016/j.jtbi.2011.05.019},
journal = {Journal of Theoretical Biology},
mendeley-groups = {dissertation},
month = {aug},
number = {1},
pages = {145--151},
title = {{Collective motion from local attraction}},
url = {http://linkinghub.elsevier.com/retrieve/pii/S002251931100261X},
volume = {283},
year = {2011},
keywords = "nourl"
}
\end{filecontents}
\begin{document}
\nocite{*}
{
\settoggle{bbx:url}{false}
\settoggle{bbx:doi}{false}
\settoggle{bbx:eprint}{false}
\printbibliography[title={please no url},heading=subbibliography,keyword=nourl]
}
\printbibliography[title={please url},heading=subbibliography,notkeyword=nourl]
\end{document}