emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Chao Lu <loochao@gmail.com>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: Auto-indexing
Date: Sun, 25 Apr 2010 18:32:55 +0200	[thread overview]
Message-ID: <07039159-F73F-426D-9363-D16F11BC3D90@nf.mpg.de> (raw)
In-Reply-To: <g2v3cbb63d01004250915qd2a7ef54pb577e45e4c1dece8@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2284 bytes --]

Dear Chao,

On 25.04.2010, at 18:15, Chao Lu wrote:

> I just updated to the 6.35trans version, and found the auto-index function which used to work now doesn't work any longer. My conf is
> ====
>      :auto-index t
>      :index-filename "Sitemap.org"
>      :index-title "Sitemap"
> ====
> 
> Does anybody get any idea? Thanks a lot.


There have been some changes (and lots of improvements). 
You might want to try:

:auto-sitemap t
:sitemap-alphabetically t

to create "sitemap.org".

One of the new features is the creation of an index. 
From the Orgmode 6.35 Release notes:

Index generation
~~~~~~~~~~~~~~~~~

Org-mode can now produce a 2-level subject index spanning an
entire publishing project.  Write index entries in your files as


 * What is org-mode?
 #+index: Org-mode
 #+index: Definitions!Org-mode

where the first line will produce an index entry /Org-mode/,
while the second line will create /Definitions/ with a sub-item
/Org-mode/.  Three-level entries are not supported.

To produce the index, set


 :makeindex t

in the project definition in =org-publish-project-alist=.  You
may have to force re-export of all files to get the index by
using a =C-u= prefix to the publishing command:


 C-u M-x org-publish-all

Whenever an Org file is published in this project, a new file
with the extension "orgx" will be written.  It contains the index
entries and corresponding jump target names.  When all project
files are published, Org will produce a new file "theindex.inc"
containing the index as a to-level tree.  This file can be
included into any project file using


 CANNOT INCLUDE FILE theindex.inc

Org-mode will also create a file "theindex.org" with this include
statement, and you can build a more complex structure (for
example style definitions, top and home links, etc) around this
statement.  When this file already exists, it will not be
overwritten by Org.

Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5513 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-04-25 16:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 16:15 Auto-indexing Chao Lu
2010-04-25 16:32 ` Stefan Vollmar [this message]
2010-04-25 16:48 ` Auto-indexing Sebastian Rose

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=07039159-F73F-426D-9363-D16F11BC3D90@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=loochao@gmail.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).