48

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?

Anton Menshov
  • 2,266
  • 14
  • 34
  • 55
mrjf
  • 1,117
  • 1
  • 12
  • 22

4 Answers4

37

Use \fullcite with the biblatex package as mentioned in this answer on tex.stackexchange.

Community
  • 1
  • 1
Gareth
  • 495
  • 4
  • 8
  • 4
    Not quite. This will produce a citation with all the information that in many ways looks like a full reference, but not exactly as it would in the reference list, with a [2] identifier, as requested. – Supernormal Aug 14 '20 at 04:41
26

bibentry package would provide inline bibliography. Ref: http://stefaanlippens.net/bibentry.

I've not tried it out myself though.

kuriouskat
  • 286
  • 3
  • 4
  • 3
    The `bibentry` package works with the `natbib` package. You can write `\bibentry{Kawahara:2007p1116}` and it will print the full citation (as it appears in the bibliography). – godbyk Oct 22 '10 at 08:17
10

My CV uses multibib nicely:

\usepackage[resetlabels]{multibib}

% Define bibliographies.
\newcites{j,c}{Journal Publications,Conference Publications}

\begin{document}
% Stuff here.

% Publications.
\bibliographystylej{IEEEtran}
\bibliographystylec{IEEEtran}

\nocitej{journalpaperlabel1}
\nocitej{journalpaperlabel2}
\nocitec{conferencepaperlabel1}

\bibliographyj{mybib}
\bibliographyc{mybib}

% More stuff here.
\end{document}

Edited with something less self-promoting here.

Steve Tjoa
  • 59,122
  • 18
  • 90
  • 101
0

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}
tobiasBora
  • 1,542
  • 14
  • 23