從參考書目和參考書目計數器中排除 \fullcite{...} 引用

從參考書目和參考書目計數器中排除 \fullcite{...} 引用

我嘗試從我的參考書目中排除 fullcite 條目。我發現這個答案非常有用從參考書目中排除 \fullcite{...} 引用但我有一個問題,這個排除的條目仍然影響我的參考書目計數器。

正如您在這個小範例中看到的,fullcite 條目仍然會影響參考書目的計數器。但我希望參考書目完全忽略全文引用條目。

問候並感謝您的幫助

PS:我正在使用 TeX Live 2014、pdfTeX、Biblatex

pp.S.:是的,我已閱讀 Wox 評論“運行 Latex-biber-latex-latex 來修復編號。”但這對我不起作用,我已經運行乳膠很多次了,編號仍然是錯誤的。

在此輸入影像描述

上述結果的一個小例子:

\documentclass{scrartcl}

\usepackage[sorting=none]{biblatex}
\addbibresource{library.bib}

\DeclareBibliographyCategory{fullcited}
\newcommand{\mybibexclude}[1]{\addtocategory{fullcited}{#1}}

\begin{document}

\cite{cite_max}
\fullcite{cite_anton}.\mybibexclude{cite_anton}
\cite{cite_lisa}

\printbibliography[notcategory=fullcited]

\end{document}

與“圖書館.bib”

@misc{cite_anton,
author = "Anton Mustermann",
title = "First Citeentry",
year = "2015",
note = "this is a note"
}

@misc{cite_lisa,
author = "Lisa Musterfrau",
title = "Second Citeentry",
year = "2015",
note = "this is a note"
}

@misc{cite_max,
author = "Max Mustermann",
title = "Third Citeentry",
year = {2015},
note = "this is a note"
}

答案1

\documentclass{scrartcl}

\usepackage[sorting=none,defernumbers]{biblatex}
\addbibresource{library.bib}

\DeclareBibliographyCategory{fullcited}
\newcommand{\mybibexclude}[1]{\addtocategory{fullcited}{#1}}

\begin{document}

\cite{cite_max}
\fullcite{cite_anton}.\mybibexclude{cite_anton}
\cite{cite_lisa}

\printbibliography[notcategory=fullcited,resetnumbers]

\end{document}

(您可能需要刪除 aux 檔案並重新編譯)。

在此輸入影像描述

相關內容