From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josiah Schwab Subject: Re: exporting from org-mode to latex Date: Mon, 09 Nov 2015 19:55:55 -0800 Message-ID: <878u66wlro.fsf@gmail.com> References: <87a8qmpmkk.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw02N-0004hx-Na for emacs-orgmode@gnu.org; Mon, 09 Nov 2015 22:56:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zw02K-0004gJ-Gh for emacs-orgmode@gnu.org; Mon, 09 Nov 2015 22:56:03 -0500 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:36823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw02K-0004gF-Ax for emacs-orgmode@gnu.org; Mon, 09 Nov 2015 22:56:00 -0500 Received: by pacdm15 with SMTP id dm15so196457569pac.3 for ; Mon, 09 Nov 2015 19:55:59 -0800 (PST) In-reply-to: <87a8qmpmkk.fsf@skimble.plus.com> 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: Sharon Kimble Cc: org-mode-email 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