Повторные цитаты в biblatex phys

Повторные цитаты в biblatex phys

Я пытаюсь найти способ дважды сослаться на одну и ту же ссылку и дважды указать ее в списке библиографии с другим номером. Это потому, что мне нужно, чтобы во всем документе были возрастающие номера, даже если они ссылаются на одну и ту же ссылку.

\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}

Это показывает, как

Это тест на цитирование1, цитирование2 и цитирование1.

и я хотел бы иметь

Это тест на цитирование1, цитирование2 и цитирование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

@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}

Связанный контент