Rasmus writes: > 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): > > \section<⟨mode specification⟩>[⟨short section name⟩]{⟨section name⟩} > > Starts a section. No heading is created. The ⟨section name⟩ is shown in > the table of contents and in the navigation bars, except if ⟨short section > name⟩ is specified. In this case, ⟨short section name⟩ is used in the > navigation bars instead. If a ⟨mode specification⟩ 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). I agree - that might be the easiest solution. Rainer > > 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’s another hack that can be applied in a org latex document class. > > http://tex.stackexchange.com/questions/203105/short-section-name-in-toc > > Rasmus -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982