Hello,


With beamer presentation it is often useful to put this latex code just after \maketitle:

% outline
\AtBeginSection[]
{
 \begin{frame}
  \frametitle{}
  \small
  \tableofcontents[currentsection,hideothersubsections]
  \normalsize
 \end{frame}
}

the interest is reminding the outline to audience after each begin of a new section.

In org-mode it is possible to export this code if the following lines of  code of ox-beamer.el  :
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 11. Table of contents.
     (let ((depth (plist-get info :with-toc)))
       (when depth
     (concat
      (format "\\begin{frame}%s{%s}\n"
          (org-beamer--normalize-argument
           org-beamer-outline-frame-options 'option)
          org-beamer-outline-frame-title)
      (when (wholenump depth)
        (format "\\setcounter{tocdepth}{%d}\n" depth))
      "\\tableofcontents\n"
      "\\end{frame}\n\n")))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

are replaced by:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;; 11. Table of contents.
     (let ((depth (plist-get info :with-toc)))
       (when depth
     (concat
      (format
           "\\AtBeginSection\[\]\{
       \\begin{frame}\n
        \\small\n"
          (org-beamer--normalize-argument
           org-beamer-outline-frame-options 'option)
          org-beamer-outline-frame-title)
      (when (wholenump depth)
        (format "\\setcounter{tocdepth}{%d}\n" depth))
      "\\tableofcontents\[currentsection,hideothersubsections\]\n"
      "\\normalsize\n"
      "\\end{frame}\n
}\n\n")))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

it works in my setup.

Of course it would be better to add this function as new option and to avoid this change of code. I do not know how to do.

At least it could be useful someone else.

Best wishes,

Jo.