I'm forwarding my mail to the upstream bugtracker, and attaching the
example file I sent in the first update

--- Begin Message ---
Bugs item #1613920, was opened at 2006-12-12 13:40
Message generated for change (Comment added) made by kuesterei
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=600660&aid=1613920&group_id=92412

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Frank K�ster (kuesterei)
Assigned to: Nobody/Anonymous (nobody)
Summary: Should issue "Please rerun LaTeX" messages

Initial Comment:
Dear Till,

here in the Debian BTS we've got two bug reports against latex-beamer 3.06, 
which turn out to be about the same issue.  The problem is that a beamer 
document that uses a navigation bar or similar needs a couple of runs of 
pdflatex (three, I think) to get the links correct - but LaTeX does not issue 
any "Rerun latex to ..." message.  

Therefore, in 294911, the submitter thought that the links were generally wrong 
(which is at least not the case for his example document with our current 
beamer package), while instead rerunning latex twice would have been sufficient.

The submitter of the other bug suggested to add "\label{dummy}" near the end of 
the file, but I'm not sure this will result in the correct number of rerun 
messages.

A test document is at http://people.debian.org/~tille/tmp/beamer/

Gruß, Frank

----------------------------------------------------------------------

>Comment By: Frank K�ster (kuesterei)
Date: 2007-07-24 21:01

Message:
Logged In: YES 
user_id=1222560
Originator: YES

Uups, sorry - pressed ENTER somehow too early...

Run the example file two times through pdftex, and then save away *.toc,
*.out, *.nav, and *.aux (snm is not affected).  Then run it a third time
and compare the files.

I don't know the details why, but this shows that beamer writes different
information in the second and third run, e.g. for the bookmarks:

--- navigation-mini.out.2       2007-07-24 18:42:34.000000000 +0200
+++ navigation-mini.out 2007-07-24 18:44:11.000000000 +0200
@@ -1,5 +1,5 @@
 \BOOKMARK [2][]{Outline0.1}{Section 1}{}
-\BOOKMARK [3][]{Outline0.1.1.4}{First subsection of section
1}{Outline0.1}
-\BOOKMARK [3][]{Outline0.1.2.6}{Second subsection of section
1}{Outline0.1}
+\BOOKMARK [3][]{Outline0.1.1.3}{First subsection of section
1}{Outline0.1}
+\BOOKMARK [3][]{Outline0.1.2.5}{Second subsection of section
1}{Outline0.1}
 \BOOKMARK [2][]{Outline0.2}{Section 2}{}
-\BOOKMARK [3][]{Outline0.2.1.8}{First subsection of section
2}{Outline0.2}
+\BOOKMARK [3][]{Outline0.2.1.7}{First subsection of section
2}{Outline0.2}

Now this might be hyperref's fault, but similar changes occur in toc:

--- navigation-mini.toc.2       2007-07-24 18:42:34.000000000 +0200
+++ navigation-mini.toc 2007-07-24 18:44:11.000000000 +0200
@@ -1,6 +1,6 @@
 [EMAIL PROTECTED] {3.06pt}
[EMAIL PROTECTED] {1}{Section 1}{4}{0}{1}
[EMAIL PROTECTED] {1}{1}{First subsection of section 1}{4}{0}{1}
[EMAIL PROTECTED] {1}{2}{Second subsection of section 1}{6}{0}{1}
[EMAIL PROTECTED] {2}{Section 2}{8}{0}{2}
[EMAIL PROTECTED] {2}{1}{First subsection of section 2}{8}{0}{2}
[EMAIL PROTECTED] {1}{Section 1}{3}{0}{1}
[EMAIL PROTECTED] {1}{1}{First subsection of section 1}{3}{0}{1}
[EMAIL PROTECTED] {1}{2}{Second subsection of section 1}{5}{0}{1}
[EMAIL PROTECTED] {2}{Section 2}{7}{0}{2}
[EMAIL PROTECTED] {2}{1}{First subsection of section 2}{7}{0}{2}

Even more changes in nav.

So the bottom line is that it takes beamer at least three runs to get the
information final, if not a fourth.  But it *never* issues any "Please
rerun" message.  I think it should, either by exercising the usual \label
mechanisms or by doing it "manually".

----------------------------------------------------------------------

Comment By: Frank K�ster (kuesterei)
Date: 2007-07-24 20:54

Message:
Logged In: YES 
user_id=1222560
Originator: YES

It's taken me a while to get back to this, but now I think that this
problem *is* related to the beamer class.  At least there is something in
beamer that requires multiple runs; I'm not 100% sure it's the source of
the problem.

Attached a near-to-minimal example (navigation-mini.tex)


File Added: navigation-mini.tex

----------------------------------------------------------------------

Comment By: mpg (m-pg)
Date: 2007-06-02 11:02

Message:
Logged In: YES 
user_id=1806471
Originator: NO

Hello,

I'm not sure this problem is really related to the beamer class. I think
beamer uses hyperref for hyperlinked references, so maybe it would be
better to ask hyperref's maintainer for this.

Cheers,
Manuel.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=600660&aid=1613920&group_id=92412


--- End Message ---

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
\documentclass{beamer}

\mode<presentation>
{
  \usetheme{Berkeley}
}

\title{Navigation does not work}

\subtitle
{Clicking on navigation leads to previous slides}


\begin{document}

\begin{frame}
  \titlepage
\end{frame}

\begin{frame}
  \frametitle{Overview}
  \tableofcontents[pausesections]
\end{frame}

\section{Section 1}

\subsection{First subsection of section 1}

\begin{frame}
\frametitle{Frame 1.1.1}
First slide in first subsection of section 1
\end{frame}

\begin{frame}
\frametitle{Frame 1.1.2}
Second slide in first subsection of section 1
\end{frame}

\subsection{Second subsection of section 1}

\begin{frame}
\frametitle{Frame 1.2.1}
First slide in second subsection of section 1
\end{frame}

\begin{frame}
\frametitle{Frame 1.2.2}
Second slide in second subsection of section 1
\end{frame}


\section{Section 2}

\subsection{First subsection of section 2}

\begin{frame}
\frametitle{Frame 2.1.1}
First slide in first subsection of section 2
\end{frame}

\begin{frame}
\frametitle{Frame 2.1.2}
Second slide in first subsection of section 2
\end{frame}


\end{document}

Reply via email to