From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>,
"Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
Eric Fraga <e.fraga@ucl.ac.uk>
Subject: Re: ox-beamer.el tableofcontents, a suggestion
Date: Wed, 2 Mar 2016 17:34:01 +0100 [thread overview]
Message-ID: <CAD-VTcGqCGY2+y0dQoUksOsUJJYVEstiB=gLDyD4t7-q83dWTg@mail.gmail.com> (raw)
In-Reply-To: <87k2lluhbr.fsf@pinto.chemeng.ucl.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
Dear Eric,
Many thanks for this more elegant solution that I had just tested, and it
works!
I add that
#+OPTIONS: toc:nil
is necessary to avoid a repetition of table of contents.
Thanks again !
Jo.
2016-03-02 14:42 GMT+01:00 Eric S Fraga <e.fraga@ucl.ac.uk>:
> On Wednesday, 2 Mar 2016 at 14:29, Joseph Vidal-Rosset wrote:
> > 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.
>
> I find it reasonably straightforward to simply add the following line to
> my beamer org files:
>
> #+latex_header:
> \AtBeginSection[]{\begin{frame}<beamer>\frametitle{Topic}\tableofcontents[currentsection,hideothersubsections]\end{frame}}
>
> so no need to play with the elisp code...
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-456-g164555
>
[-- Attachment #2: Type: text/html, Size: 1401 bytes --]
prev parent reply other threads:[~2016-03-02 16:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-02 13:29 ox-beamer.el tableofcontents, a suggestion Joseph Vidal-Rosset
2016-03-02 13:42 ` Eric S Fraga
2016-03-02 16:34 ` Joseph Vidal-Rosset [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD-VTcGqCGY2+y0dQoUksOsUJJYVEstiB=gLDyD4t7-q83dWTg@mail.gmail.com' \
--to=joseph.vidal.rosset@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).