emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Josiah Schwab <jschwab@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: exporting from org-mode to latex
Date: Mon, 09 Nov 2015 19:55:55 -0800	[thread overview]
Message-ID: <878u66wlro.fsf@gmail.com> (raw)
In-Reply-To: <87a8qmpmkk.fsf@skimble.plus.com>

Hi Sharon,

> 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?

The following information should help clarify things.

,----[ C-h v org-latex-default-packages-alist RET ]
| org-latex-default-packages-alist is a variable defined in `org.el'.
| Its value is shown below.
| 
| Documentation:
| Alist of default packages to be inserted in the header.
| 
| Change this only if one of the packages here causes an
| incompatibility with another package you are using.
| 
| The packages in this list are needed by one part or another of
| Org mode to function properly:
| 
| - inputenc, fontenc:  for basic font and character selection
| - fixltx2e: Important patches of LaTeX itself
| - graphicx: for including images
| - grffile: allow periods and spaces in graphics file names
| - longtable: For multipage tables
| - wrapfig: for figure placement
| - rotating: for sideways figures and tables
| - ulem: for underline and strike-through
| - amsmath: for subscript and superscript and math environments
| - textcomp, amssymb: for various symbols used
|   for interpreting the entities in `org-entities'.  You can skip
|   some of these packages if you don't use any of their symbols.
| - capt-of: for captions outside of floats
| - hyperref: for cross references
| 
| Therefore you should not modify this variable unless you know
| what you are doing.  The one reason to change it anyway is that
| you might be loading some other package that conflicts with one
| of the default packages.  Each element is either a cell or
| a string.
| 
| A cell is of the format
| 
|   ("options" "package" SNIPPET-FLAG)
| 
| If SNIPPET-FLAG is non-nil, the package also needs to be included
| when compiling LaTeX snippets into images for inclusion into
| non-LaTeX output.
| 
| A string will be inserted as-is in the header of the document.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 25.1 of Emacs.
`----


Best,
Josiah

      parent reply	other threads:[~2015-11-10  3:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-10  3:20 exporting from org-mode to latex Sharon Kimble
2015-11-10  3:52 ` Thomas S. Dye
2015-11-10  3:55 ` Nick Dokos
2015-11-10  3:55 ` Josiah Schwab [this message]

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=878u66wlro.fsf@gmail.com \
    --to=jschwab@gmail.com \
    --cc=boudiccas@skimble.plus.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).