From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuva Subject: Can't get [TABLE-OF-CONTENTS] working. Date: Wed, 3 Jun 2009 16:07:57 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBnrC-0005Cf-A5 for emacs-orgmode@gnu.org; Wed, 03 Jun 2009 06:38:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBnr6-0005B0-Om for emacs-orgmode@gnu.org; Wed, 03 Jun 2009 06:38:04 -0400 Received: from [199.232.76.173] (port=40286 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBnr6-0005Aw-4S for emacs-orgmode@gnu.org; Wed, 03 Jun 2009 06:38:00 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:31949) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBnr5-0006Pw-Ew for emacs-orgmode@gnu.org; Wed, 03 Jun 2009 06:37:59 -0400 Received: by wf-out-1314.google.com with SMTP id 23so2677736wfg.24 for ; Wed, 03 Jun 2009 03:37:57 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs org mode mailinglist hello, Its been documented in "ch12 : Exporting" of Org Manual that toc can be relocated using [TABLE-OF-CONTENTS] string. I have used it to generate latex and pdf files, but no luck. After simple grepping, it seems that only org-ascii.el and org-html.el are taking this string into account. Is there any specific reason why toc relocation is ignored in org-latex.el? (It works fine with html export option). ---------------------------------------------------------------------- The env i use : Org-6.27a from git repo. Simple example : #+TITLE: toc-stuff.org #+AUTHOR: #+EMAIL: gnuyuva@gmail.com #+DATE: 2009-06-03 Wed #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: * Section Intro This is Intro #+LaTeX: [TABLE-OF-CONTENTS] #+HTML:

[TABLE-OF-CONTENTS]

* Section Details Some details here. ---------------------------------------------------------------------- -- YUVA