From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Ekh Subject: Use nomencl package with latex exporter? Date: Mon, 6 Aug 2012 11:24:02 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c5a83d65f204c69570c2 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyJXh-0001HJ-PD for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 05:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SyJXf-0000Kc-2f for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 05:24:05 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:63366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SyJXe-0000KK-Te for emacs-orgmode@gnu.org; Mon, 06 Aug 2012 05:24:02 -0400 Received: by obhx4 with SMTP id x4so6580918obh.0 for ; Mon, 06 Aug 2012 02:24:02 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --e89a8ff1c5a83d65f204c69570c2 Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8ff1c5a83d65f204c69570c2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,
I use the default latex exporter in org-mode v7.8 to write docum= ents 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
.
.
.
\makenomenclat= ure
\printnomenclature
#+end_latex


and then I have additio= nal src blocks that looks like

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

throughout my docum= ent.

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

(setq org-latex-to-pdf-= process
=A0=A0=A0=A0=A0=A0=A0 '("pdflatex -interaction nonstopm= ode %b"
=A0=A0=A0=A0=A0=A0=A0=A0=A0 "bibtex %b"
=A0=A0= =A0=A0=A0=A0=A0=A0=A0 "pdflatex -interaction nonstopmode %b"
=A0=A0=A0=A0=A0=A0=A0=A0=A0 "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 pd= flatex, but how can I get the exporter to do this?

/Johan
--e89a8ff1c5a83d65f204c69570c2--