Blank slides in beamer presentation

3,962 views
Skip to first unread message

Sachin Garg

unread,
Nov 19, 2010, 3:17:41 AM11/19/10
to beamer...@googlegroups.com
Hi,

While processing the attached LaTeX file, I get a number of blank
slides. The file "beamertest-handout2up.pdf" shows the blank slides on
pages 4 and 7.

I would like to understand why are these blanks coming and what to do to
remove them.

My environment is Ubuntu Lucid Lynx 10.04 on an AMD64 system. The beamer
package is latex-beamer 3.07-2ubuntu1

$ pdflatex -v
pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
kpathsea version 5.0.0
Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.42; using libpng 1.2.42
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with poppler version 0.12.4

Thanks,
Sachin

beamertest.tex
beamertest-handout2up.pdf
Image1.png
Image2.png

Jean-Baptiste Rouquier

unread,
Nov 19, 2010, 3:24:11 AM11/19/10
to beamer...@googlegroups.com, Sachin Garg
They are not empty, they contain the blank character "~" (hard to see, I
admit ;-)
Simply change
~\label
into
\label
and the blank slide should disappear.
BTW, I think you can drop the "~" before labels, I see no utility to
them (but ~ before \ref is useful).
Jean-Baptiste

Sachin Garg

unread,
Nov 19, 2010, 3:55:41 AM11/19/10
to beamer...@googlegroups.com, Jean-Baptiste Rouquier

Thanks a lot for the solution and the extremely prompt reply.

How did you manage to notice the "~" - Some tips would eb great.

Thanks again,
Sachin


Jean-Baptiste Rouquier

unread,
Nov 19, 2010, 2:51:28 PM11/19/10
to Sachin Garg, beamer...@googlegroups.com

> Thanks a lot for the solution and the extremely prompt reply.
>
> How did you manage to notice the "~" - Some tips would eb great.
>

Saying its just experience would hurt my modesty ;-) Basically, the
tilde was the only thing between \section and the next slide.
Classical ways to pinpoint error locations : look for the keywords
"dichotomy" and "minimal example".
Jean-Baptiste

Reply all
Reply to author
Forward
0 new messages