emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yuva <gnuyuva@gmail.com>
To: Emacs org mode mailinglist <emacs-orgmode@gnu.org>
Subject: Can't get [TABLE-OF-CONTENTS] working.
Date: Wed, 3 Jun 2009 16:07:57 +0530	[thread overview]
Message-ID: <e5c41fe60906030337q37b1f7c7id171409f39847225@mail.gmail.com> (raw)

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: <p>[TABLE-OF-CONTENTS]</p>

* Section Details
 Some details here.

----------------------------------------------------------------------


-- 
YUVA

             reply	other threads:[~2009-06-03 10:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03 10:37 Yuva [this message]
2009-06-05  7:26 ` Can't get [TABLE-OF-CONTENTS] working Carsten Dominik
2009-06-05 15:31   ` Yuva

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=e5c41fe60906030337q37b1f7c7id171409f39847225@mail.gmail.com \
    --to=gnuyuva@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).