
同じ参考文献を 2 回引用し、異なる番号で参考文献リストに 2 回表示する方法を探しています。これは、同じ参考文献を参照している場合でも、文書全体で番号を増やす必要があるためです。
\usepackage[backend=biber, style=phys,sorting=none,autocite=superscript]{biblatex}
\bibliography{Ref.bib}
\begin{document}
\chapter{Test Chapter}
\begin{refsection}[Ref.bib]
This is a test to cite \autocite{ref1} and cite \autocite{ref2} and cite \autocite{ref1}.
\printbibliography
\end{refsection}
\end{document}
これは次のように表示されます
これは、cite1 と cite2 と cite1 のテストです。
そして私は
これは、cite1、cite2、cite3 のテストです。
参考文献に 3 つの異なるエントリがあります (1 と 3 はまったく同じものとして表示されます)。
誰か助けてくれませんか?
Ref.bibの内容は
@article{ref1,
title={REF1},
journal={ournal REF1},
pages={137--153},
year={2015},
publisher={Pub REF1}
}
@article{ref2,
title={REF2},
author={Author, Test2},
}
私が現在使用している解決策は、脚注と文末脚注を使用しています。これの問題は、常に警告が表示されることに加え、参考文献が参考文献を使用した場合ほどきれいに表示されないことです。\printbibliography を使用してこれを実現する方法があれば、物事がはるかにきれいになります。
\documentclass[12pt]{report}
\usepackage{endnotes,chngcntr}
%\usepackage[backend=biber, style=verbose-ibid,sorting=none, autocite=footnote]{biblatex}
\usepackage[backend=biber]{biblatex-chicago}
\bibliography{Ref.bib}
\let\footnote=\endnote %For footnotes at the end
\renewcommand{\notesname}{References}
\begin{document}
\chapter{Test Chapter}
\begin{refsection}[Ref.bib]
This is a test to cite \autocite{ref1} and cite \autocite{ref2} and cite \autocite{ref1}.
\newpage
\theendnotes
%\printbibliography
\end{refsection}
\end{document}
これはref.bibの次の2つの参照で試すことができます。
@article{ref1,
title={REF1},
journal={ournal REF1},
pages={137--153},
year={2015},
publisher={Pub REF1}
}
@article{ref2,
title={REF2 when the title is very long to cover two lines the references are not displayed very nicely},
author={Author, Test2},
}
答え1
footfullcite で文末脚注を使用できます。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\usepackage{lmodern}
\usepackage{endnotes}
\def\enotesize{\normalsize}
\renewcommand{\notesname}{\refname}
\usepackage{csquotes}
\usepackage[backend=biber, style=phys, sorting=none, notetype=endonly]{biblatex}
\bibliography{biblatex-examples.bib}
\DeclareAutoCiteCommand{endfull}[f]{\footfullcite}{\footfullcites}
\ExecuteBibliographyOptions{autocite=endfull}
\begin{document}
This is a test to cite \autocite{sigfridsson} and cite \autocite{worman} and cite \autocite{sigfridsson}.
\theendnotes
\printbibliography
\end{document}
これは\printbibliography
出力の比較のみを目的としています。
enotez
パッケージを使用することもできます
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\usepackage{lmodern}
\usepackage{enotez}
\setenotez{list-name = {\refname}}
\DeclareInstance{enotez-list}{plain}{paragraph}
{
format = \normalfont\normalsize,
}
\usepackage{csquotes}
\usepackage[backend=biber, style=phys, sorting=none, notetype=endonly]{biblatex}
\bibliography{biblatex-examples.bib}
\DeclareAutoCiteCommand{endfull}[f]{\footfullcite}{\footfullcites}
\ExecuteBibliographyOptions{autocite=endfull}
\begin{document}
This is a test to cite \autocite{sigfridsson} and cite \autocite{worman} and cite \autocite{sigfridsson}.
\printendnotes
\printbibliography
\end{document}