TEX2020使用\fdusetup{设置参考文献格式,无法再文中出现参考文献,没有编译错误

2021-01-06 19:45发布

## 编译环境 操作系统 * [x ] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [x ] TexLive ...

## 编译环境 操作系统 * [x ] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [x ] TexLive `2020` * [ ] MikTeX `版本号` * [ ] CTeX `若需勾选,请把[ ]改成[x]` ## 我的问题 使用jabref编写了myreference.bib文献, \fdusetup{ bib-backend = bibtex, bib-style = numerical, bib-resource = {myreference}, } 定义参考文献格式 最后 \printbibliography 编译无错误,但文中没有参考文献,使用\cite也无法引用
3条回答
羽箭
2021-01-06 22:23
方法一: texstudio配置问题,我这边就不折腾了。(你应该用biber来编译。) 方法二:去overleaf,在overleaf上的模板能使用, https://www.overleaf.com/latex/templates/fduthesis-latex-thesis-template-for-fudan-university/svtdhhstkmkt 方法三: 命令行编译 下面使用的是本地命令行编译 ````python \documentclass{fduthesis} \fdusetup{ style/bib-backend = biblatex, style/bib-resource = example.bib } \begin{document} \chapter{欢迎} \section{Welcome to fduthesis!} 你好,\LaTeX{}! 你会后悔或或或或或或或或 \cite{chengjianhua2020yi} \printbibliography \end{document} ```` 成功编译,由于自己的texstudio的配置问题,文档类中推荐使用命令行编译`latexmk -xelatex document03`,然后我这边就成功了,你也可以试试(看来遇到类似的错误,先看文档类的帮助文档) ![](https://wenda.latexstudio.net/data/attach/210107/kCAmDrSo.png)

一周热门 更多>