Aloha Sharone
Sharon Kimble <boudic...@skimble.plus.com> writes:

> I'm having a strange problem with exporting from org-mode to latex using
> the latex back-end. When the file that I've written is exported to latex
> and I look at the tex file that is created, I see that it has one
> "\usepackage{grffile}" that I didn't place in my list to be included. In
> fact, I'd never even heard of it until I read it there, but I can't find
> where its picking that particular "\usepackage" from! I've searched my
> "init.org" and its not listed anywhere there, its not listed in the
> org-mode manual, so where is it picking it from then please?

That's in org.el.  I think it's new.

> On a slightly related note, how can I get packages that I want to be
> used, to be listed in the latex document preamble please? Specifically
> "imakeidx" to help in generating an index?

See org-latex-packages-alist.

   (add-to-list 'org-latex-packages-alist '("" "imakeidx"))

> Aside from those two difficulties its working very well, and writing the
> first draft in org-mode seems easier than writing it straight into
> latex!

Ditto, I find the lightweight markup in Org mode liberating.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

Reply via email to