From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: BUG: in beamer export non-beamer tags exported as part of header Date: Wed, 01 Jun 2016 14:21:37 +0200 Message-ID: <87bn3lqeum.fsf@gmx.us> References: <87r3cr8xpt.fsf@gmx.us> <87fut79ozi.fsf@saiph.selenimh> <87mvndc24g.fsf@saiph.selenimh> <87oa7rbtm6.fsf@saiph.selenimh> <87oa7mknr0.fsf@saiph.selenimh> <87shwxjhdv.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b859e-0003Oj-6d for emacs-orgmode@gnu.org; Wed, 01 Jun 2016 08:21:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b859a-0007di-4c for emacs-orgmode@gnu.org; Wed, 01 Jun 2016 08:21:46 -0400 Received: from mout.gmx.net ([212.227.17.20]:52736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b859Z-0007dH-QN for emacs-orgmode@gnu.org; Wed, 01 Jun 2016 08:21:42 -0400 In-Reply-To: <87shwxjhdv.fsf@saiph.selenimh> (Nicolas Goaziou's message of "Wed, 01 Jun 2016 13:08:44 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: rainer@krugs.de Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Rainer M Krug writes: > >> \section[Level 1]{Level 1\hfill{}\textsc{andHereIsTheTag}} > > IIUC, according to this line, tags should be removed from the toc. > > This issue may be related to Beamer. >From the Beamer manual, 10.2 (latest TL version):=20 \section<=E2=9F=A8mode specification=E2=9F=A9>[=E2=9F=A8short section = name=E2=9F=A9]{=E2=9F=A8section name=E2=9F=A9} Starts a section. No heading is created. The =E2=9F=A8section name=E2= =9F=A9 is shown in the table of contents and in the navigation bars, except if =E2=9F=A8s= hort section name=E2=9F=A9 is specified. In this case, =E2=9F=A8short section name= =E2=9F=A9 is used in the navigation bars instead. If a =E2=9F=A8mode specification=E2=9F=A9 is = given, the command only has an effect for the specified modes. I guess the most sane solution is to not support tags:not-in-toc in ox-beamer (or in general). A latex hack might be something like this (untested): \section{title} \section*{title \hfill :tags:} % to not mess up if someone uses= article mode Here=E2=80=99s another hack that can be applied in a org latex document cla= ss. http://tex.stackexchange.com/questions/203105/short-section-name-in-toc Rasmus --=20 Look, it is what it is because of what it was