1

I am trying to find a way to cite the same reference twice and have it twice in the bibliography list with a different number. This is because I need to have increasing numbers throughout the document even if they refer to the same reference.

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

This shows as

This is a test to cite1 and cite2 and cite1.

and I would like to have

This is a test to cite1 and cite2 and cite3.

with three different entries in the Bibliography (with 1 and 3 being displayed as exactly the same).

Can anybody help?

The content of Ref.bib is

@article{ref1,
  title={REF1},
  journal={ournal REF1},
  pages={137--153},
  year={2015},
  publisher={Pub REF1}
}


@article{ref2,
  title={REF2},
  author={Author, Test2},
  }

The solution I am currently using uses footnotes and endnote. The problem with this, in addition to getting a constant warning, is that the references are not displayed as nicely as when the bibliography is used. If there were a way to achieve this with \printbibliography it would make things so much more neat.

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

This can be tried with these two references in 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},
}
  • 5
    The same bib entrie twice in bib? Why? A workaround could be to use the same bib entrie with different labels/bib key? – Bobyandbob Jul 11 '17 at 18:43
  • I am after an automatic solution unfortunately because I have to apply this to a long existing document with a lot of citations. – Alessio Jul 11 '17 at 20:36
  • 1
    Where does this strange way to build a bibliography come from? Are you sure this is exactly what you need? If you cite an item n times, has it to be added to the bibliography n times? – CarLaTeX Jul 12 '17 at 3:39
  • Are you sure you really need this. That would be highly unusual. You could use fullcites in endnotes instead of \printbibliography. – moewe Jul 12 '17 at 8:25
  • 2
    @Alessio Please don't post code in comments but edit your question to add it. – CarLaTeX Jul 14 '17 at 3:54
1

You can use endnotes with 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}

example output

The \printbibliography is just for comparison of output.


You can also use the enotez package

\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}
  • Hi, OK that's displayed as I already have with the existing solution (beside the ibid for two consecutive refs). I would like the endnotes solution to be displayed as the bibliography solution. For example in ref 1 "charges from" the word "from" is aligned vertically with "E". That's what I would like. It does not happen with endnotes where "charges" is much more on the left than "E." – Alessio Jul 14 '17 at 13:06
  • The enotez seems perfect ! – Alessio Jul 14 '17 at 13:12
  • I am going to try it in the full document now... but many thanks! – Alessio Jul 14 '17 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.