使用 refsection 時參考書目顯示不正確

使用 refsection 時參考書目顯示不正確

看完之後:章節參考書目小心我仍然陷入困境和沮喪。我的程式碼如下:

\documentclass[]{friggeri-cv}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{mybib.bib}
\begin{document}
.
.
.
\section{publications}
\begin{refsection}
\cite{kb}, \cite{co}, \cite{bn}
\printbibliography[heading=subbibliography]
\end{refsection}

我編譯 xelatex>bibtex>xelatex>xelatex 但參考書目未能出現 這是 3 個參考書目之一

@article{bn,
  author    = {Evripidis Bampis and
               Giorgio Lucarelli and
           Ioannis Nemparis},
   title     = {Improved Approximation Algorithms for the Non-preemptive
           Speed-scaling Problem},
   journal   = {CoRR},
   volume    = {abs/1209.6481},
   year      = {2012},
   ee        = {http://arxiv.org/abs/1209.6481},
   bibsource = {DBLP, http://dblp.uni-trier.de}
}

這是我得到的: 結果]!

friggeri.cls 不包含任何參考書目,因為我刪除了該部分。我在頂部發布的程式碼來自我的 cv_10.tex 檔案和 mybib.bib 檔案。請遵守反射用法。

答案1

我將 bib 檔案命名為 mybib.bib 並將 tex 檔案命名為 prawf.tex:

\documentclass[]{article}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{mybib.bib}
\begin{document}
\section{publications}
\begin{refsection}
\cite{bn}
\printbibliography[heading=subbibliography]
\end{refsection}
\end{document}

產生:

在此輸入影像描述

我跑了

xelatex prawf.tex
bibtex prawf1-blx
xelatex prawf.tex
xelatex prawf.tex

請注意,由於您將 bibtex 與 refsections 一起使用,因此必須對生成的每個節 bbl 檔案執行 bibtex。因此,在 prawf1-blx 上運行而不是在 prawf 上運行。

相關內容