我在网上没有找到解决方案,所以在这里询问。
我正在使用authoryear-icomp
style 来编写参考书目(未经任何修改)。当我有如下 BibTeX 条目时:
@online{guizzo_i-limb_2008,
title = {{i-LIMB} snatches {MacRobert} Award - {IEEE} Spectrum},
url = {http://spectrum.ieee.org/automaton/robotics/robotics-software/ilimb_snatches_macrobert_award},
abstract = {{IEEE} Spectrum},
journal = {{IEEE} Spectrum},
author = {Guizzo, Erico},
month = jun,
year = {2008}
},
我在参考书目中看到了两次 URL。一次是在字段中url
,换行很好,一次则粗鲁地跑到了页边距中:
Guizzo, Erico (June 2008). i-LIMB snatches MacRobert Award - IEEE Spectrum.
http://spectrum.ieee.org/automaton/robotics/robotics-software/ilimb_snatches_macrobert_award.
URL: http://spectrum.ieee.org/automaton/robotics/robotics-software/ilimb_
snatches_macrobert_award.
我如何删除不以 开头的条目URL
(即没有换行符的条目)?
答案1
这是临时目录 par-username 中一些旧文件的问题。有一个 howpublished = {http://spectrum.ieee.org/automaton/robotics/robotics-software/ilimb\_snatches\_macrobert\_award}
未包装的条目。
答案2
(答案/带图片的长评论)
根据您的描述,我收集了以下 MWE:
\documentclass{article}
\usepackage[style=authoryear-icomp,backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@online{guizzo_i-limb_2008,
title = {{i-LIMB} snatches {MacRobert} Award - {IEEE} Spectrum},
url = {http://spectrum.ieee.org/automaton/robotics/robotics-software/ilimb_snatches_macrobert_award},
abstract = {{IEEE} Spectrum},
journal = {{IEEE} Spectrum},
author = {Guizzo, Erico},
month = jun,
year = {2008}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
无论我使用backend=biber
或backend=biblatex
,我都无法重现您的问题,这是我的输出:
确保您的系统是最新的。如果这没有帮助,请发布最小工作示例(MWE)这重现了您的问题。