emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Use nomencl package with latex exporter?
@ 2012-08-06  9:24 Johan Ekh
  2012-08-06 12:14 ` Myles English
  0 siblings, 1 reply; 7+ messages in thread
From: Johan Ekh @ 2012-08-06  9:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]

Hi all,
I use the default latex exporter in org-mode v7.8 to write documents using
a custom latex class which is built on "article".
I would like to use the "nomencl" latex package if possible.

I have a latex src block before the first exported headline that looks like

#+begin_latex
lots of stuff
.
.
.
\makenomenclature
\printnomenclature
#+end_latex


and then I have additional src blocks that looks like

#+begin_latex
\nomenclature[c]{$\bm{q}^e$}{loads in all nodes belonging to element
$e$\nomunit{[N]}}%
#+end_latex

throughout my document.

Is this a viable approach? And how can I execute the "makeindex" program to
actually generate the
nomenlature list? My route to pdf looks like

(setq org-latex-to-pdf-process
        '("pdflatex -interaction nonstopmode %b"
          "bibtex %b"
          "pdflatex -interaction nonstopmode %b"
          "pdflatex -interaction nonstopmode %b"))


From the shell I usually run something like

makeindex filename.nlo -s nomencl.ist -o filename.nls

followed by latex or pdflatex, but how can I get the exporter to do this?

/Johan

[-- Attachment #2: Type: text/html, Size: 1292 bytes --]

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

end of thread, other threads:[~2012-08-08 16:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-06  9:24 Use nomencl package with latex exporter? Johan Ekh
2012-08-06 12:14 ` Myles English
2012-08-06 19:26   ` Johan Ekh
2012-08-06 19:35     ` Nick Dokos
2012-08-08  6:40       ` Johan Ekh
2012-08-08  8:05         ` Andrew Young
2012-08-08 16:24         ` Nick Dokos

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