Mendeley-Overleaf 双大括号问题

时间:2021-03-04 00:42:46

标签: latex mendeley overleaf

我不确定这是否适合发这篇文章,请告诉我是否应该在其他地方发帖。

所以我使用 Overleaf 和 Mendeley 来写我的论文。我正在使用 Mendeley 的在线版本,并且我将我的参考资料同步到 Overleaf 中,几乎没有任何问题。但是生成的一些引用具有双倍的额外 {},下面给出了一个示例:

@incollection{Alberts2002TheProtein,
title = {{The shape and structure of protein}},
year = {2002},
booktitle = { Molecular Biology of the Cell},
author = {Alberts, Bruce and Johnson, Alexander and Lewis, Julian and Raff, Martin and Roberts, Keith and Walter, Peter},
edition = {4},
month = {3},
volume = {},
publisher = {Garland Science}}

正如您在 title 属性中看到的,Mendeley 添加了一组额外的括号。每当发生这种情况时,我都会收到来自 Overleaf 的警告,说明 BibTeX: "{Essential" isn't a brace-balanced string for entry Alberts2010EssentialBiology。这仅发生在我的一些参考文献中。

由于我正在同步我对 Overleaf 的引用,因此我无法在 Overleaf 中编辑 .bib 文件并删除额外的括号集。有什么办法可以直接在Mendeley网站上删除吗?或者设置样式或偏好?

我知道我可以下载我的参考资料,然后将它们添加到一个文件中,然后将该文件上传到 Overleaf,我正在努力寻找更好的替代方案。感谢您阅读本文。

Edit: Reproducible Example,你可以在 Mendeley 上添加以下详细信息,然后尝试获取 BibTex 引用代码:

Type: Book Section
Book Title: Molecular Biology of the Cell
Title: The shape and structure of protein
Authors: (Last name, First name)
1. Alberts, Bruce
2. Johnson, Alexander
3. Lewis, Julian
4. Raff, Martin
5. Roberts, Keith
6. Walter, Peter

Edition: 4
Month:3
Publisher: Garland Science
Year =2002

我得到了上面发布的代码,标题周围有两个括号。

编辑:删除额外的一对括号可解决警告。

0 个答案:

没有答案
相关问题