how to avoid that section Bibliography appear but still getting the references in the document

4,482 views
Skip to first unread message

christian_yale

unread,
Sep 14, 2008, 4:10:37 PM9/14/08
to LaTeX Users Group
hi there,

i know how to use bibtex in latex. Now, i am preparing a presentation
[using beamer], and i do want to get the references that i am citing
[e.g., using \citep{XX}, or citet{XX}] withing the document, however,
i do not want to actually create in my final document a new section
with the list of all the citations [i.e., the section 'Bibliography']

as in order to latex to compile the citations we use
'\bibliography{mybibFile}', that automatically will create a section
called bibliography, but i do not want that, i do only want to keep
the automatic citation withing the document.

do you understand me?
please, help me

jon

unread,
Sep 17, 2008, 2:46:55 PM9/17/08
to LaTeX Users Group
this may not be what you want to hear, but if you use biblatex, this
is very easy to do.
the normal way to use biblatex is to have in the preamble:--

\usepackage[<options>]{biblatex}
\bibliography{<your-bib-file>}

-- then at the end of your document:--

\printbibliography\relax

-- ... so if you don't want the bibliography to appear, you simply
skip the \printbibliography command. No section will appear, nor will
it show up in the ToC, etc.

it's worth checking out in my opinon.

nb. if you switch to biblatex, make sure you enable the natbib option
so that the \citep and \citet commands are aliased.

cheers,
jon.

msvadi

unread,
Sep 19, 2008, 3:50:50 PM9/19/08
to LaTeX Users Group
This may not be exactly what you are looking for, but I had to achieve
something like that for my presentation slides (I'm using SWP, BibTeX,
and beamer). To do that, I put \bibliography command inside a separate
frame with the option <0>:

\addtocounter{framenumber}{-1}
\begin{frame}<0>
\bibliographystyle{econometrica}
\bibliography{mybib}
\end{frame}

The \addtocounter{framenumber}{-1} command is to make the total frame
count correct.
Reply all
Reply to author
Forward
0 new messages