From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: [BUG] New exporter exports TOC twice Date: Wed, 24 Apr 2013 13:13:43 +0200 Message-ID: <87k3ns89lk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUxe9-0001DS-0I for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 07:13:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUxe5-0008Ay-UP for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 07:13:56 -0400 Received: from plane.gmane.org ([80.91.229.3]:52766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUxe5-0008Al-Mm for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 07:13:53 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UUxe2-0006vj-Pi for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 13:13:50 +0200 Received: from g231105207.adsl.alicedsl.de ([92.231.105.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Apr 2013 13:13:50 +0200 Received: from tjolitz by g231105207.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Apr 2013 13:13:50 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org [double-post to bring this issue to the attention of Nicolas] Exporting a Worg file with this header (#+TOC: headlines 2) ,----------------------------------------------------------------------------------------- | #+OPTIONS: H:3 num:nil \n:nil @:t ::t |:t ^:{} -:t f:t *:t TeX:t LaTeX:t | skip:nil d:(HIDE) tags:not-in-toc | #+TOC: headlines 2 | #+STARTUP: align fold nodlcheck hidestars oddeven lognotestate hideblocks | #+SEQ_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@) | #+TAGS: Write(w) Update(u) Fix(f) Check(c) noexport(n) | #+TITLE: Header arguments and result types in Org Babel | #+AUTHOR: Thorsten Jolitz, Eric Schulte | #+EMAIL: tj[at]data-driven[dot]de | #+LANGUAGE: en | #+LINK_UP: index.php | #+LINK_HOME: http://orgmode.org/worg/ | #+EXPORT_EXCLUDE_TAGS: noexport | | For a complete header argument reference see the Org-mode manual's page | which lists all | [[http://orgmode.org/manual/Specific-header-arguments.html][Specific-header-arguments]]. | This page holds ancillary notes and tricks which have not made it into | the manual. | | * Generally use =verbatim= when using =drawer=, =raw= or =org= | We often want to add =verbatim= (which inhibits interpretation as a | value, which can often result in a list or table result), when | inserting results directly into the buffer using =drawer=, =raw= or | =org= which don't do tabular interpretation. [...] `----------------------------------------------------------------------------------------- exports the TOC twice in HTML export and ASCII export. HTML: ,-------------------------------------------------------------------------------- | Header arguments and result types in Org Babel | | Table of Contents | | * Generally use verbatim when using drawer, raw or org | * Common combinations of header-args and result types | * Setting language and file specific default header argument values | | Table of Contents | | * Generally use verbatim when using drawer, raw or org | * Common combinations of header-args and result types | * Setting language and file specific default header argument values | | For a complete header argument reference see the Org-mode manual's page which | lists all Specific-header-arguments. This page holds ancillary notes and tricks | which have not made it into the manual. `-------------------------------------------------------------------------------- ASCII: ,------------------------------------------------------------------------ | | ________________________________________________ | | HEADER ARGUMENTS AND RESULT TYPES IN ORG BABEL | | Thorsten Jolitz, Eric Schulte | ________________________________________________ | | | Table of Contents | _________________ | | Generally use `verbatim' when using `drawer', `raw' or `org' | Common combinations of header-args and result types | Setting language and file specific default header argument values | | | Table of Contents | _________________ | | Generally use `verbatim' when using `drawer', `raw' or `org' | Common combinations of header-args and result types | Setting language and file specific default header argument values | For a complete header argument reference see the Org-mode manual's page | which lists all [Specific-header-arguments]. This page holds ancillary | notes and tricks which have not made it into the manual. `------------------------------------------------------------------------ -- cheers, Thorsten