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.
https://tex.stackexchange.com/q/330427/2388
--
Ulrike Fischer
http://www.troubleshooting-tex.de/