我正在使用 TeXstudio 进行编译,我遇到的问题是当我向文本添加引用时无法重新生成文件。 .bbl 文件不会自行重新生成,并且完全是空的。它看起来像这样:
\begin{thebibliography}{-------}
\providecommand{\natexlab}[1]{#1}
\end{thebibliography}
参考文献在 .bib 文件和 .tex 文件中引用;如何正确编译它以便重新生成 .bbl 文件并成功构建我的文件?
出现的确切错误是:
Something's wrong--perhaps a missing \item. \end{thebibliography}
我的 .tex 文件片段:
\documentclass[applsci,article,submit,moreauthors,pdftex,10pt,a4paper]{Definitions/mdpi}
\begin{document}
\cite{BOURDIN2000797} \cite{MIEHE20102765,doi:10.1002/nme.2861,MOLNAR201727,MSEKH2015472}.\cite{BOURDIN2000797}.
%=====================================
% References, variant B: external bibliography
%=====================================
\externalbibliography{yes}
\bibliography{trial.bib}
\end{document}
我的 .bib 文件如下所示:
@article{BOURDIN2000797,
title = "Numerical experiments in revisited brittle fracture",
journal = "Journal of the Mechanics and Physics of Solids",
volume = "48",
number = "4",
pages = "797 - 826",
year = "2000",
issn = "0022-5096",
doi = "https://doi.org/10.1016/S0022-5096(99)00028-9",
url = "http://www.sciencedirect.com/science/article/pii/S0022509699000289",
author = "B. Bourdin and G.A. Francfort and J-J. Marigo",
keywords = "A. Fracture, Fracture toughness, C. Energy methods, Variational calculus, Finite elements",
}
@article{MOLNAR201727,
title = "2D and 3D Abaqus implementation of a robust staggered phase-field solution for modeling brittle fracture",
journal = "Finite Elements in Analysis and Design",
volume = "130",
pages = "27 - 38",
year = "2017",
issn = "0168-874X",
doi = "https://doi.org/10.1016/j.finel.2017.03.002",
url = "http://www.sciencedirect.com/science/article/pii/S0168874X16304954",
author = "Gergely Molnár and Anthony Gravouil",
keywords = "Brittle fracture, Crack propagation, Abaqus UEL, Phase-field, Staggered solution, Finite element method",
}
@article{MSEKH2015472,
title = "Abaqus implementation of phase-field model for brittle fracture",
journal = "Computational Materials Science",
volume = "96",
pages = "472 - 484",
year = "2015",
note = "Special Issue Polymeric Composites",
issn = "0927-0256",
doi = "https://doi.org/10.1016/j.commatsci.2014.05.071",
url = "http://www.sciencedirect.com/science/article/pii/S0927025614004133",
author = "Mohammed A. Msekh and Juan Michael Sargado and Mostafa Jamshidian and Pedro Miguel Areias and Timon Rabczuk",
keywords = "Finite element method, Abaqus user subroutines, Phase-field model, Brittle fracture",
}
@article{MIEHE20102765,
title = "A phase field model for rate-independent crack propagation: Robust algorithmic implementation based on operator splits",
journal = "Computer Methods in Applied Mechanics and Engineering",
volume = "199",
number = "45",
pages = "2765 - 2778",
year = "2010",
issn = "0045-7825",
doi = "https://doi.org/10.1016/j.cma.2010.04.011",
url = "http://www.sciencedirect.com/science/article/pii/S0045782510001283",
author = "Christian Miehe and Martina Hofacker and Fabian Welschinger",
keywords = "Fracture, Crack propagation, Phase fields, Gradient-type damage, Incremental variational principles, Finite elements, Coupled multi-field problem",
}
@article{doi:10.1002/nme.2861,
author = {Miehe C. and Welschinger F. and Hofacker M.},
title = {Thermodynamically consistent phase‐field models of fracture: Variational principles and multi‐field FE implementations},
journal = {International Journal for Numerical Methods in Engineering},
volume = {83},
number = {10},
pages = {1273-1311},
keywords = {fracture, crack propagation, phase‐fields, gradient‐type damage, incremental variational principles, finite elements, coupled multi‐field problems},
doi = {10.1002/nme.2861},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/nme.2861},
eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1002/nme.2861},
}
答案1
\bibliography
必须给出文件名没有文件.bib
扩展名,因此正确的格式应该是
\bibliography{trial}
您还需要检查author
中的字段doi:10.1002/nme.2861
。如果姓和名以相反的顺序给出,则必须用逗号分隔,因此
author = {Miehe, C. and Welschinger, F. and Hofacker, M.},
是正确的。
此外,请查看您的doi
字段并确保它们仅包含 DOI,而不是解析器的整个 URL,因此MIEHE20102765
您应该
doi = "10.1016/j.cma.2010.04.011",