emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org, "itmejl@chrikro.net" <itmejl@chrikro.net>
Subject: Re: export to pdf tags showing
Date: Mon, 18 Jun 2012 01:40:27 +0200	[thread overview]
Message-ID: <87395t5wyc.fsf@gmail.com> (raw)
In-Reply-To: <14246.1339969189@alphaville> (Nick Dokos's message of "Sun, 17 Jun 2012 17:39:49 -0400")

Hello,

Nick Dokos <nicholas.dokos@hp.com> writes:

> itmejl@chrikro.net <itmejl@chrikro.net> wrote:
>
>> Nick Dokos skrev 2012-06-17 04:12:
>> > itmejl@chrikro.net <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

  reply	other threads:[~2012-06-17 23:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-16 17:22 export to pdf tags showing itmejl
2012-06-17  2:12 ` Nick Dokos
2012-06-17  8:49   ` itmejl
2012-06-17 21:39     ` Nick Dokos
2012-06-17 23:40       ` Nicolas Goaziou [this message]
2012-06-17 23:56         ` suvayu ali
2012-06-18  8:41           ` Nicolas Goaziou
2012-06-18 14:10             ` Nick Dokos
2012-06-18 16:29               ` Nicolas Goaziou
2012-06-20 19:53               ` itmejl
2012-06-20 20:01                 ` Nick Dokos
2012-06-23 13:44                   ` Bernt Hansen
2012-06-23 15:44                     ` Nick Dokos
2012-06-23 15:45                       ` Bernt Hansen
2012-06-23 15:55                         ` Nick Dokos
2012-06-23 16:24                         ` Nicolas Goaziou
2012-06-18  0:13         ` Nick Dokos

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=87395t5wyc.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=itmejl@chrikro.net \
    --cc=nicholas.dokos@hp.com \
    /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).