emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] How to generate an index?


From: Sharon Kimble
Subject: [O] How to generate an index?
Date: Tue, 06 May 2014 19:32:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Now I've got the bibliography working I'm looking at getting indexes
to be generated.

Using my long-suffering "cat.org" with this code in my ".emacs"
--8<---------------cut here---------------start------------->8---
;; org to latex customisations, -shell-escape needed for minted
(setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
      org-latex-pdf-process             ; for regular export
      '("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"
                "biber %b"
        "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f"
        "xelatex -shell-escape -interaction nonstopmode -output-directory %o 
%f"))
--8<---------------cut here---------------end--------------->8---

and this is my "cat.org"
--8<---------------cut here---------------start------------->8---
# -*- mode:org; mode:reftex; indent-tabs-mode:nil; tab-width:2 -*-
#+OPTIONS: toc:nil num:nil
#+OPTIONS: ^:{}
#+TITLE: Cat on the mat - 2014
#+AUTHOR: Sharon Kimble.
#+LATEX_CMD: xelatex
#+LATEX_CLASS: article
#+LATEX_CLASS_OPTIONS: [a4paper]
#+LaTeX_HEADER: \usepackage{makeidx} %robustindex % Indexing
#+LaTeX_HEADER: \usepackage[backend=biber,style=verbose,style=numeric]{biblatex}
#+LaTeX_HEADER: \bibliography{cat}
#+LATEX_HEADER: \usepackage[colorlinks=true]{hyperref}
\makeindex
\pagebreak
\makeindex
\begin{document}
* Chapter 1
Lorem ipsum dolor sit amet, consectetuer \cite{5} adipiscing elit, sed diam 
nonummy
nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi
enim ad minim veniam \cite{15}.

* Chapter 2
Lorem ipsum dolor sit amet, consectetuer \cite{7} adipiscing elit, sed diam
nonummy nibh euismod tincidunt ut laoreet dolore magna\index{magna} aliquam
erat volutpat. Ut wisi enim ad minim veniam,\cite{1} quis nostrud exerci
tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit
esse molestie consequat\cite{12}.

\printbibliography

\printindex

\end{document}
--8<---------------cut here---------------end--------------->8---

And I run "C-c C-e l p" to generate the "cat.tex" and the "cat.pdf",
but no "cat.idx" or "cat.aux" is generated. I've tried running "C-c
C-e l l" three times then generating the "cat.pdf" but I can't get
one generated.

I've googled and looked in the "Org Manual" but haven't found how
to do it. Can anyone help please?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.19

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]