LaTeX and Bibtex: command to print a single full reference from a bib file?

Viewed 44884

I'd like to be able to print a single reference from a Bibtex .bib file anywhere in my LaTeX document—not cite it, but print the reference, exactly as it would appear in the normal bibliography listing.

So if this is a regular citation, that prints a bracketed reference:

% Normal citation, appears as bracketed reference, e.g. [2]
\cite{Kawahara:2007p1116}

I want something like the following:

\print_citation{Kawahara:2007p1116}

which should print the full citation as it appears in the bibliography, something like:

[2] S Kawahara. Half rhymes in japanese rap lyrics and knowledge of similarity. Journal of East Asian Linguistics, Jan 2007.

Is it possible?

4 Answers

See also this answer, that provides a trick using biblatex and its category system:



\documentclass{article}
\usepackage{filecontents}
\usepackage{biblatex}
\begin{filecontents*}{\jobname.bib}
@misc{Gyro2012,
  author = {Gearloose, Gyro},
  title = {1st paper with a very loooooooooooong title, so it spans multiple rows},
}
@misc{Gyro2013,
  author = {Gearloose, Gyro},
  title = {2nd paper},
}
@misc{Stark2012,
  author = {Stark, Anthony Edward},
  title = {3rd paper},
}
@misc{Stark2013,
  author = {Stark, Anthony Edward},
  title = {4th paper},
}
\end{filecontents*}

\addbibresource{\jobname.bib}

\DeclareBibliographyCategory{enumpapers}

\newcommand{\enumcite}[1]{%
  \addtocategory{enumpapers}{#1}%
  \defbibcheck{key#1}{
    \iffieldequalstr{entrykey}{#1}
      {}
      {\skipentry}}%
  \printbibliography[heading=none,check=key#1]%
}

\begin{document}

\nocite{*}

\begin{enumerate}
    \item \enumcite{Gyro2012}
    \setcounter{enumi}{9} % Two digits to test alignment
    \item \enumcite{Gyro2013}
\end{enumerate}

\printbibliography[notcategory=enumpapers]
\end{document}
Related