TeXstudio+pkuthss模板出現引用錯誤的解決方法

最近在寫學位論文,但是由於自己對Latex不是很熟悉,所以在插入參考文獻的時候遇到了如下問題,自己折騰了近三個小時,記錄一下。

報錯:

I found no \citation commands—while reading file thesis.aux
I found no \bibdata command—while reading file thesis.aux
I found no \bibstyle command—while reading file thesis.aux

【自己相關配置】:

(1) \usepackage[backend = biber, style = gb7714-2015ay, gbnamefmt=lowercase, gbpub=true, natbib = true]{biblatex}(2)在thesis.bib文件中添加了相關參考文獻
(3)引用部分使用了\parencite{xxx}進行引用

【出現的錯誤】

(1)首先在生成的目錄中“參考文獻”消失了,同時本該顯示參考文獻的頁面也不見了
(2)在message欄出現瞭如下報錯信息

I found no \citation commands---while reading file thesis.aux
I found no \bibdata command---while reading file thesis.aux
I found no \bibstyle command---while reading file thesis.aux
(There were 3 error messages)

####【解決方案】
(1)TeXstudio中文安裝版:

  • 在texstudio【設置】→【構建】→【默認文獻工具】中選擇biber
  • 再嚴格按照【構建並查看】→【參考文獻】→【構建並查看】→【構建並查看】的順序編譯文檔

(2)TeXstudio英文版的安裝:
在英文版本的TeXstudio中設置如下:

  • Step1: [Options]→[Configure TeXstudio]→[Build]
  • Step2: 將其中[Default Bibliography Tool]設置爲Biber
  • Step3: [Build & View]→[參考文獻]→[Build & View]→[Build & View] //注意,這一步的編譯順序是最重要的
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章