emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johan Ekh <ekh.johan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Use nomencl package with latex exporter?
Date: Mon, 6 Aug 2012 11:24:02 +0200	[thread overview]
Message-ID: <CAH13ZggJaVpzdJnefEdKC+m99cfX=coZ7pEWiwrf68B11+OROg@mail.gmail.com> (raw)

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

             reply	other threads:[~2012-08-06  9:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06  9:24 Johan Ekh [this message]
2012-08-06 12:14 ` Use nomencl package with latex exporter? 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

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='CAH13ZggJaVpzdJnefEdKC+m99cfX=coZ7pEWiwrf68B11+OROg@mail.gmail.com' \
    --to=ekh.johan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).