I am preparing a paper submission to a conference that wants two PDFs:
- A main paper
- A supplementary material section (e.g. appendices at the end)
And, I intend to release a preprint that has the main paper and appendicies in one PDF.
So, what I would like to do is to have one numbered reference list (generated by bibtex) that is shared across both PDFs. And, for the use-case of submitting to the conference that wants two PDFs, I want to do something like this:
\begin{document}
\section{Introduction}
...
\section{Conclusion}
\bibliography{bibliography}
\bibliographystyle{ieee}
% ---- begin supplementary material ----
\section*{Appendix A}
% print the bibliography again
\bibliography{bibliography}
\bibliographystyle{ieee}
\end{document}
When I do the above, it complains that Label '2018_authorname' multiply defined. (2018_authorname is the name of an item in the bibliography file that I supply to bibtex.)
So, one solution I am trying to figure out is: can I somehow print the bibliography as a string to a variable (like you would in a normal computer program), and then print that string in two different places in the document?
Or, are there other ways that people have dealt with this?
\bibliography{bibliography}by\InputIfFileExists{bibliography.bbl}{}{}. – Henri Menke May 26 '20 at 23:19