[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] funny problem for table of contents when publishing org-latex with #
From: |
jack song |
Subject: |
[O] funny problem for table of contents when publishing org-latex with #+INCLUDE other.org |
Date: |
Sat, 12 Nov 2011 15:28:25 -0500 |
Hi, All
I got a funny (or strange) problem when I published to latex with #+INCLUDE other org file
problem: if there is no any * first line in the
index.org file before the #+INCLUDE
otherfile.org, there will be no table of contents. Other wise it works.
For example, there are one index file and other files (all are org files),
a, No table of contents in latex file, IF
index.org is below,
"""
#+LaTeX_CLASS: book
#+TITLE: some title
#+BEGIN_abstract
This note describes measurement of something.
#+end_abstract
#+LATEX: \tableofcontents
#+LATEX: \listoftables
#+LATEX: \listoffigures
"""
b, there is a table of content, IF I simply change "#+INCLUDE:
chapter1.org" to
* first line , anything
Please help to correct if it is a bug. Thanks a lot.
PS, I have org 7.7 on windows 7.
in .emacs file, there is
(defun org-export-latex-no-toc (depth)
(when depth
(format "%% Org-mode is exporting headings to %s levels.\n"
depth)))
(setq org-export-latex-format-toc-function 'org-export-latex-no-toc)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] funny problem for table of contents when publishing org-latex with #+INCLUDE other.org,
jack song <=