Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

beamer warsawtheme: header navigation is off by 1

17 views
Skip to first unread message

Sivaram Neelakantan

unread,
May 1, 2022, 2:47:55 PM5/1/22
to

I have been using the same beamer tex file for some time and I just
noticed the top navigation sections with the round dots are off by a
section.

The slides looks like this, with 3 sections with 2, 3, 2 slides in each
section

Intro Compute Data
00 000 00

After pdf generation, the sections light up correctly as I navigate
each slide but the dots below light up in the previous section. Like,
if I'm in compute section (which is lighted up), slide 1, the dot below
intro lights up. Which is incorrect, the one below Compute should
light up.

I deleted the *.aux files and tried both within Auctex and commandline
'pdflatex file' but there's no change. I usually run pdflatex twice
at least when I add some text.

Also I use \include immediately under \section to keep the main file
tidy.


Where should I start looking?

sivaram
--

Axel Berger

unread,
May 1, 2022, 6:26:42 PM5/1/22
to
Sivaram Neelakantan wrote:
> Also I use \include immediately under \section

Try \input. I'm surprised \include works here at all.


--
/¯\ No | Dipl.-Ing. F. Axel Berger Tel: +49/ 221/ 7771 8067
\ / HTML | Roald-Amundsen-Straße 2a Fax: +49/ 221/ 7771 8069
 X in | D-50829 Köln-Ossendorf http://berger-odenthal.de
/ \ Mail | -- No unannounced, large, binary attachments, please! --

Sivaram Neelakantan

unread,
May 1, 2022, 11:06:48 PM5/1/22
to
On Mon, May 02 2022,Axel Berger wrote:

> Sivaram Neelakantan wrote:
>> Also I use \include immediately under \section
>
> Try \input. I'm surprised \include works here at all.

Thank you! It got fixed. I've been using \include via auctex as it
seems to give the right prompts to include other tex files. A quick
check on google shows this

https://tex.stackexchange.com/questions/246/when-should-i-use-input-vs-include

which doesn't seem to show anything that would cause this issue. What
was going on then?

sivaram
--

Ulrike Fischer

unread,
May 2, 2022, 3:18:09 AM5/2/22
to
Am Mon, 02 May 2022 08:36:43 +0530 schrieb Sivaram Neelakantan:

> On Mon, May 02 2022,Axel Berger wrote:
>
>> Sivaram Neelakantan wrote:
>>> Also I use \include immediately under \section
>>
>> Try \input. I'm surprised \include works here at all.

it does work (but is imho seldom useful in a presentation). But as
with other documents you have to take care to put everything that
writes to the aux e.g. an \addcontentsline *inside* the include.

So the \section shouldn't be before the \include.

> Thank you! It got fixed. I've been using \include via auctex as it
> seems to give the right prompts to include other tex files. A quick
> check on google shows this
>
> https://tex.stackexchange.com/questions/246/when-should-i-use-input-vs-include
>
> which doesn't seem to show anything that would cause this issue. What
> was going on then?


https://tex.stackexchange.com/q/330427/2388

--
Ulrike Fischer
http://www.troubleshooting-tex.de/

Axel Berger

unread,
May 2, 2022, 9:43:37 AM5/2/22
to
Ulrike Fischer wrote:
> it does work (but is imho seldom useful in a presentation).

I remember something about it being only to be used for chapters. I'm
not quite sure why that was, one thing is the \cleardoublepage issued.
If that's the only thing, it would probably do no harm in a
presentation.

Sivaram Neelakantan

unread,
May 2, 2022, 1:40:11 PM5/2/22
to
On Mon, May 02 2022,Ulrike Fischer wrote:

> Am Mon, 02 May 2022 08:36:43 +0530 schrieb Sivaram Neelakantan:
>
>> On Mon, May 02 2022,Axel Berger wrote:
>>
>>> Sivaram Neelakantan wrote:
>>>> Also I use \include immediately under \section
>>>
>>> Try \input. I'm surprised \include works here at all.
>
> it does work (but is imho seldom useful in a presentation). But as
> with other documents you have to take care to put everything that
> writes to the aux e.g. an \addcontentsline *inside* the include.
>
> So the \section shouldn't be before the \include.
>

[snipped 9 lines]

>
> https://tex.stackexchange.com/q/330427/2388

Thanks, that helped.


sivaram
--

Sivaram Neelakantan

unread,
May 9, 2022, 1:21:36 PM5/9/22
to
On Mon, May 02 2022,Ulrike Fischer wrote:


[snipped 14 lines]

>
>> Thank you! It got fixed. I've been using \include via auctex as it
>> seems to give the right prompts to include other tex files. A quick
>> check on google shows this
>>
>> https://tex.stackexchange.com/questions/246/when-should-i-use-input-vs-include
>>
>> which doesn't seem to show anything that would cause this issue. What
>> was going on then?
>
>
> https://tex.stackexchange.com/q/330427/2388

A minor update to using \input in Emacs + auctex + reftex is that, the
scanning to build the TOC within Emacs takes a visible few seconds
compared to \include. It's not annoying but definitely noticable.

sivaram
--
0 new messages