Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加参考文献编译出错 #29

Closed
Dfault0 opened this issue Jan 3, 2023 · 4 comments
Closed

添加参考文献编译出错 #29

Dfault0 opened this issue Jan 3, 2023 · 4 comments
Labels
invalid This doesn't seem right

Comments

@Dfault0
Copy link

Dfault0 commented Jan 3, 2023

  • windows VScode
  • texlive 2022
  • 配置: info/bib-resource = {chapters/reference},同时也在正文中引用了
  • 出现如下错误:
    微信截图_20230103173359
  • 尝试将编译器biblatex改成biber,问题没有解决。
  • 添加:\usepackage[backend=biber]{biblatex}也没有解决
  • 想请问大佬这个问题有没有办法解决呀?
@note286
Copy link
Owner

note286 commented Jan 3, 2023

\documentclass{xdupgthesis}
\xdusetup{info/bib-resource={chapters/reference.bib}}
\begin{document}
\chapter{title}
\cite{SohailMT16}
\end{document}

TeX Live 2022,编译命令为xelatex-biber-xelatex,无任何问题。

提问请给完整的能够复现问题的代码。

@Dfault0
Copy link
Author

Dfault0 commented Jan 3, 2023

我仔细看了看您给出的代码,我的那个参考文献的源文件没有加后缀名,加上后缀名就可以了,谢谢您。

  • 开始:\xdusetup{info/bib-resource={chapters/reference}}
  • 修改之后:\xdusetup{info/bib-resource={chapters/reference.bib}}

@note286
Copy link
Owner

note286 commented Jan 3, 2023

文档里写的很清楚,是参考文献文件路径,有扩展名是理所当然的。

@note286 note286 closed this as completed Jan 3, 2023
@note286 note286 added the invalid This doesn't seem right label Jan 3, 2023
@Dfault0
Copy link
Author

Dfault0 commented Jan 3, 2023

嗯嗯,是我太粗心了 \笑哭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants