这是我的 MWE
\documentclass[
a4paper,
]{scrreprt}
\PassOptionsToPackage{
backend=biber,
style=authoryear,
}{biblatex}
\RequirePackage{biblatex}
\addbibresource{reference.bib}
\begin{document}
In view of this \textcite{slater1997architects}...
\printbibliography[title=References]
\nocite{*}
\end{document}
以下是使用 jabref 5.2 编译的我的 reference.bib 文件中的一些条目
% Encoding: UTF-8
@Article{adlakha2006solving,
author = {Adlakha, Veena and Kowalski, Krzysztof and Lev, Benjamin},
journal = {International journal of management Science and Engineering management},
title = {Solving transportation problems with mixed constraints},
year = {2006},
number = {1},
pages = {47--52},
volume = {1},
publisher = {Taylor \& Francis Group},
}
@Article{axsater2013distribution,
author = {Axs{\"a}ter, Sven and Howard, Christian and Marklund, Johan},
journal = {Iie Transactions},
title = {A distribution inventory model with transshipments from a support warehouse},
year = {2013},
number = {3},
pages = {309--322},
volume = {45},
publisher = {Taylor \& Francis},
}
@InProceedings{chartniyom2007multi,
author = {Chartniyom, Siradej and Lee, MK and Luong, L and Marian, R},
booktitle = {2007 IEEE International Conference on Industrial Engineering and Engineering Management},
title = {Multi-location inventory system with lateral transshipments and emergency orders},
year = {2007},
organization = {IEEE},
pages = {1594--1598},
}
@Article{gao2013modified,
author = {Gao, Cai and Wei, Daijun and Hu, Yong and Mahadevan, Sankaran and Deng, Yong},
journal = {Physica A: Statistical Mechanics and its Applications},
title = {A modified evidential methodology of identifying influential nodes in weighted networks},
year = {2013},
number = {21},
pages = {5490--5500},
volume = {392},
publisher = {Elsevier},
}
@Article{gao2014biologically,
author = {Gao, Cai and Yan, Chao and Wei, Daijun and Hu, Yong and Mahadevan, Sankaran and Deng, Yong},
journal = {arXiv preprint arXiv:1401.2181},
title = {A biologically inspired model for transshipment problem},
year = {2014},
}
@Article{liao2014optimal,
author = {Liao, Yi and Shen, Wenjing and Hu, Xinxin and Yang, Shilei},
journal = {Omega},
title = {Optimal responses to stockouts: Lateral transshipment versus emergency order policies},
year = {2014},
pages = {79--92},
volume = {49},
publisher = {Elsevier},
}
@Article{njoh2008implications,
author = {Njoh, Ambe J},
journal = {The Review of Black Political Economy},
title = {Implications of Africa's transportation systems for development in the era of globalization},
year = {2008},
number = {4},
pages = {147--162},
volume = {35},
publisher = {SAGE Publications Sage CA: Los Angeles, CA},
}
@Article{ozdemir2006multi,
author = {{\"O}zdemir, Deniz and Y{\"u}cesan, Enver and Herer, Yale T},
journal = {European Journal of Operational Research},
title = {Multi-location transshipment problem with capacitated transportation},
year = {2006},
number = {1},
pages = {602--621},
volume = {175},
publisher = {Elsevier},
}
@Article{paterson2011inventory,
author = {Paterson, Colin and Kiesm{\"u}ller, Gudrun and Teunter, Ruud and Glazebrook, Kevin},
journal = {European Journal of Operational Research},
title = {Inventory models with lateral transshipments: A review},
year = {2011},
number = {2},
pages = {125--136},
volume = {210},
publisher = {Elsevier},
}
@Article{paterson2012enhanced,
author = {Paterson, Colin and Teunter, Ruud and Glazebrook, Kevin},
journal = {European Journal of Operational Research},
title = {Enhanced lateral transshipments in a multi-location inventory system},
year = {2012},
number = {2},
pages = {317--327},
volume = {221},
publisher = {Elsevier},
}
@Article{singh2017new,
author = {Singh, Rashmi and Saxena, Vipin},
journal = {International journal of advanced research in computer science},
title = {A New Data Transfer Approach Through Fuzzy Vogel's Approximation Method.},
year = {2017},
number = {3},
volume = {8},
}
@Article{slater1997architects,
author = {Slater, Rodney E},
journal = {Public Roads},
title = {Architects of Change: Creating America's 21st Century Intermodal Transportation System},
year = {1997},
number = {3},
volume = {60},
}
@Article{tagaras2001periodic,
author = {Tagaras, George and Vlachos, Dimitrios},
journal = {Management Science},
title = {A periodic review inventory system with emergency replenishments},
year = {2001},
number = {3},
pages = {415--429},
volume = {47},
publisher = {INFORMS},
}
@Article{van2009optimal,
author = {Van Wijk, ACC and Adan, IJBF and van Houtum, Geert-Jan},
journal = {Eurandom report, Eindhoven University of Technology},
title = {Optimal lateral transshipment policy for a two location inventory problem},
year = {2009},
publisher = {Citeseer},
}
@Article{wee2005optimal,
author = {Wee, Kwan Eng and Dada, Maqbool},
journal = {Management Science},
title = {Optimal policies for transshipping inventory in a retail network},
year = {2005},
number = {10},
pages = {1519--1533},
volume = {51},
publisher = {INFORMS},
}
我收到的警告:
LaTeX Warning: Citation 'slater1997architects' on page 2 undefined on input line X
LaTeX Warning: Empty bibliography on input line X
以下是我尝试过的一些链接。
使用问号或粗体引用关键字代替引用编号。
Biblatex 与 Biber:配置我的编辑器以避免未定义的引用
LaTex 编译器说:Package biblatex Warning: Please (re)run Biber on the file: main and rerun LaTex afterwards
。我也试过了。没有成功。
我使用 LaTex Workshop (VS Code)。
答案1
VS code 默认不会在必要时运行 biber。我将引导您完成需要进行的修改:
按 Ctrl+Shift+P,然后输入“设置”。然后选择“首选项:打开设置(JSON)”。这样应该会打开您的
settings.json
文件。向下滚动到文件末尾。在最后一行文本的末尾添加一个逗号,然后粘贴到新行上:
"latex-workshop.latex.recipes": [ { "name": "pdflatex", "tools": [ "pdflatex" ] }, { "name": "pdflatex+biber", "tools": [ "pdflatex", "biber", "pdflatex", "pdflatex" ] }, { "name": "biber only", "tools": [ "biber" ] }, { "name": "latexmk