From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: export to pdf tags showing Date: Mon, 18 Jun 2012 01:40:27 +0200 Message-ID: <87395t5wyc.fsf@gmail.com> References: <4FDCC0DA.8060705@chrikro.net> <7875.1339899124@alphaville> <4FDD9A1B.70704@chrikro.net> <14246.1339969189@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgP8B-0000CM-0u for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 19:43:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgP89-0006Cx-8G for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 19:43:42 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:65511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgP88-0006Cp-Vg for emacs-orgmode@gnu.org; Sun, 17 Jun 2012 19:43:41 -0400 Received: by wefh52 with SMTP id h52so4188681wef.0 for ; Sun, 17 Jun 2012 16:43:39 -0700 (PDT) In-Reply-To: <14246.1339969189@alphaville> (Nick Dokos's message of "Sun, 17 Jun 2012 17:39:49 -0400") 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, "itmejl@chrikro.net" Hello, Nick Dokos writes: > 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. This is not a bug. LaTeX has its own command to create the table of contents. There is no simple way to interfere with the process and remove the tags. Regards, -- Nicolas Goaziou