From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: export to pdf tags showing Date: Sun, 17 Jun 2012 17:39:49 -0400 Message-ID: <14246.1339969189@alphaville> References: <4FDCC0DA.8060705@chrikro.net> <7875.1339899124@alphaville> <4FDD9A1B.70704@chrikro.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgNCQ-0001sj-KD for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 17:39:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgNCO-0007CL-PG for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 17:39:58 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:19570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgNCO-0007C8-IH for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 17:39:56 -0400 In-Reply-To: Message from "itmejl@chrikro.net" of "Sun, 17 Jun 2012 10:49:31 +0200." <4FDD9A1B.70704@chrikro.net> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "itmejl@chrikro.net" Cc: emacs-orgmode@gnu.org itmejl@chrikro.net wrote: > Nick Dokos skrev 2012-06-17 04:12: > > itmejl@chrikro.net wrote: > > > >> Hi! > >> > >> This is about exporting to pdf and tags showing. > >> > >> When exporting to pdf I use > >> > >> #+OPTIONS tags:not-in-toc > >> > > > > Missing colon perhaps? > > > > #+OPTIONS: tags:not-in-toc > > > > Nick > > > >> Despite that tags are showing in toc in the resulting pdf file. > >> How can I get rid of tag-in-toc in pdf? > >> > >> I use Emacs 24.1.1 on win7 and org mode 7.8.11. > > Thanks for anwering but no thats is not the problem. The full option > lines in the file look like this: > > #+OPTIONS: H:4 num:t toc:3 \n:t @:t ::t |:t ^:t -:t f:t *:t <:t > #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:t tags:not-in-toc > Right: it's a bug. org-html.el and org-lparse.el call org-export-cleanup-toc-line which gets rid of the tag in this case, org-ascii.el does it by hand (i.e. without calling the above function) and org-latex.el does not do it at all. It's likely that other backends will also be found wanting. Also, the new latex exporter has this bug as well. Nick