参考文献にその他のエントリを追加しようとしていますが、biblatex が引用を認識してインラインで引用しているにもかかわらず、参考文献セクションに追加されません。
(エッセイ.tex)
\documentclass[12pt,letterpaper]{article}
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage{csquotes}
\usepackage[style=mla-new,backend=biber]{biblatex}
\addbibresource{essay.bib}
\begin{document}
Test \autocite{misc}.
\newpage
\printbibliography
\end{document}
(エッセイ.bib)
@misc {misc,
author = "Test author",
title = "Test citation",
publisher = "Publisher",
year = "2005"}
引用はインラインで適切に表示されます ( Test (author)
) が、エントリは参考文献に表示されません。latex+biber+latex+latex でビルドする場合、エラーや警告は発生しません。
答え1
はbiblatex-mla
(まだ) エントリ タイプをサポートしていませんmisc
(以下は からの引用ですmla-new.bbx
)。
% drivers to add eventually: % * \DeclareBibliographyDriver{misc} % * \DeclareBibliographyDriver{artwork} % * \DeclareBibliographyDriver{audio} % * \DeclareBibliographyDriver{image} % * \DeclareBibliographyDriver{movie} % * \DeclareBibliographyDriver{music} % * \DeclareBibliographyDriver{performance}
さらに、奇妙なことに、これらのタイプにエイリアスを設定しますcustoma
が、エントリ タイプに参考文献ドライバーを提供しないcustoma
ため、何も印刷されません。
部分的な解決策として、ドライバーが存在する既存のエントリ タイプにエイリアスを再割り当てすることができます。この例では、記事のようにフォーマットするように設定しました。
\documentclass[12pt,letterpaper]{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@misc{misc,
author = "Author, Test",
title = "Test Title",
publisher = "Publisher",
year = "2005"}
\end{filecontents*}
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage{csquotes}
\usepackage[style=mla,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\DeclareBibliographyAlias{misc}{article}
\begin{document}
Test \autocite{misc}.
\printbibliography
\end{document}