From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Beard Subject: latex export settings in init files Date: Mon, 28 Mar 2011 20:55:42 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=43341 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4B3P-0000uZ-52 for emacs-orgmode@gnu.org; Mon, 28 Mar 2011 07:56:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4B3N-0007Aq-JM for emacs-orgmode@gnu.org; Mon, 28 Mar 2011 07:56:14 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:36258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4B3N-0007Ai-FX for emacs-orgmode@gnu.org; Mon, 28 Mar 2011 07:56:13 -0400 Received: by iyf13 with SMTP id 13so4597005iyf.0 for ; Mon, 28 Mar 2011 04:56:12 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I've tried to modify some default latex export settings based on info from here http://www.mail-archive.com/emacs-orgmode@gnu.org/msg07645.html I basically add to the org-mode-hook to do: (setq org-export-latex-classes (cons '("myarticle" "% BEGIN My Article Defaults \\documentclass[10pt,letterpaper]{article} \\usepackage[letterpaper,includeheadfoot,top=0.5in,bottom=0.5in,left=0.75in,right=0.75in]{geometry};; more settings after this... ) org-export-latex-classes)) This works if I evaluate it after I've been exporting to latex, but I get an error whenever I start up emacs: setq: Symbol's value as variable is void: org-export-latex-classes I'm guessing there's some org-mode latex-export thing that I need to load first, but I'm not very familiar with how to do this. Any advice? Thank you Chris