BibTeX, biblatex and biberSpreading Bibliography on several slides

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Spreading Bibliography on several slides

Post by M.A »

Hello,

I needed to generate a bibliographical list in a LaTeX presentation, however the list is too long to fit in one slide.

How to split the list on several slides ?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Spreading Bibliography on several slides

Post by Stefan Kottwitz »

Hi,

you could use the option allowframebreaks for those frames:

Code: Select all

\begin{frame}[allowframebreaks]
\begin{thebibliography}...
Stefan
LaTeX.org admin
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: Spreading Bibliography on several slides

Post by M.A »

Actually I am not using beamer.
My presentation is prepared using powerdot, so how to do it ?
The powerdot manual mentions something about using natbib and bibentry packages but it didn't work with me, even I can't add natbib package in the preamble because it gives an error !!
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: Spreading Bibliography on several slides

Post by M.A »

:shock:
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Spreading Bibliography on several slides

Post by Stefan Kottwitz »

What are you expecting? You've told us that you've got an error but you don't tell us the error message. You did not post the preamble that could have a problem with natbib, you did not even mention the presentation class in your first post.

When I'm using powerdot with a clean preamble, I don't get an error if I load natbib and bibentry and the way described in the manual works for me.

Perhaps we could help if you provide enough information, for instance a minimal example code.

Stefan
LaTeX.org admin
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Spreading Bibliography on several slides

Post by M.A »

When I'm using powerdot with a clean preamble, I don't get an error if I load natbib and bibentry and the way described in the manual works for me
If you wrote a tex file doing that, could you please upload it and I will be thankful ?
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Spreading Bibliography on several slides

Post by josephwright »

Works for me:

Code: Select all

\documentclass{powerdot}
\usepackage[numbers]{natbib}
\usepackage{bibentry}
\begin{filecontents}{test.bib}
\@article{Test1,
  title   = {Test data},
  author  = {Person, A.},
  journal = {J. Made Up Results},
  page    = {1-10},
  year    = 2009
}

\@article{Test2,
  title   = {Test data},
  author  = {Person, A.},
  journal = {J. Made Up Results},
  page    = {11-29},
  year    = 2009
}

\@article{Test3,
  title   = {Test data},
  author  = {Person, A.},
  journal = {J. Made Up Results},
  page    = {30-39},
  year    = 2009
}
\end{filecontents}
\begin{document}
\begin{slide}{References (1)}
  \bibliographystyle{plain}
  \nobibliography{test}
  \bibentry{Test1}
  \bibentry{Test2}
\end{slide}
\begin{slide}{References (2)}
  \bibentry{Test3}
\end{slide}
\end{document}
Joseph Wright
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Spreading Bibliography on several slides

Post by Stefan Kottwitz »

Thanks for posting, Joseph!
My test file is looking very similar because it's been written just using that piece of powerdot documentation.

Stefan
LaTeX.org admin
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

Re: Spreading Bibliography on several slides

Post by M.A »

Thanks for your efforts.
I think that the problem was that the bibliography style was not numeric, when I changed to plain style it worked !
but actually it's not what I wanted.

Anyway, I think that I will change to beamer .. since an elementary feature such as controlling slide breaks isn't available in powerdot!
Post Reply