emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Auto-indexing
@ 2010-04-25 16:15 Chao Lu
  2010-04-25 16:32 ` Auto-indexing Stefan Vollmar
  2010-04-25 16:48 ` Auto-indexing Sebastian Rose
  0 siblings, 2 replies; 3+ messages in thread
From: Chao Lu @ 2010-04-25 16:15 UTC (permalink / raw)
  To: emacs-orgmode


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

Dear all,

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.

Chao

[-- Attachment #1.2: Type: text/html, Size: 351 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Auto-indexing
  2010-04-25 16:15 Auto-indexing Chao Lu
@ 2010-04-25 16:32 ` Stefan Vollmar
  2010-04-25 16:48 ` Auto-indexing Sebastian Rose
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Vollmar @ 2010-04-25 16:32 UTC (permalink / raw)
  To: Chao Lu; +Cc: Org-Mode List


[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Auto-indexing
  2010-04-25 16:15 Auto-indexing Chao Lu
  2010-04-25 16:32 ` Auto-indexing Stefan Vollmar
@ 2010-04-25 16:48 ` Sebastian Rose
  1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Rose @ 2010-04-25 16:48 UTC (permalink / raw)
  To: Chao Lu; +Cc: emacs-orgmode

Chao Lu <loochao@gmail.com> writes:
> Dear all,
>
> 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"
> ====

It is nowadays:

      :auto-sitemap t
      :sitemap-filename "Sitemap.org"
      :sidemap-title "Sitemap"


sitemap.org is the default filename.



  Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-25 16:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-25 16:15 Auto-indexing Chao Lu
2010-04-25 16:32 ` Auto-indexing Stefan Vollmar
2010-04-25 16:48 ` Auto-indexing Sebastian Rose

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).