From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: empty LaTeX export template Date: Tue, 11 Jun 2013 14:14:20 +0200 Message-ID: <20130611121420.GA18792@kuru.dyndns-at-home.com> References: <87obbdyow4.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmNT2-0005el-JR for emacs-orgmode@gnu.org; Tue, 11 Jun 2013 08:14:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmNT1-00066t-GO for emacs-orgmode@gnu.org; Tue, 11 Jun 2013 08:14:28 -0400 Received: from mail-bk0-x22c.google.com ([2a00:1450:4008:c01::22c]:42070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmNT1-00066a-8H for emacs-orgmode@gnu.org; Tue, 11 Jun 2013 08:14:27 -0400 Received: by mail-bk0-f44.google.com with SMTP id r7so3974928bkg.31 for ; Tue, 11 Jun 2013 05:14:26 -0700 (PDT) Received: from kuru.dyndns-at-home.com ([2001:610:120:3001:f2de:f1ff:fe37:c76c]) by mx.google.com with ESMTPSA id j8sm5585998bky.17.2013.06.11.05.14.24 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 05:14:24 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87obbdyow4.fsf@med.uni-goettingen.de> 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 On Tue, Jun 11, 2013 at 11:31:39AM +0200, Andreas Leha wrote: > > So I'd like to ask: Is there a possibility to get a really empty LaTeX > export that reads everything (including the documentclass) from the > #+LATEX_HEADER ? > > The reason for this is, that many journals/conferences come with their > own LaTeX template (if I am lucky, that is). It would be very > convenient, if I could just yank the provided header into my *.org > file (and prefix with #+LATEX_HEADER). I think you can just define a minimal class in org-latex-classes; something like \documentclass{article} [NO-DEFAULT-PACKAGES] [NO-PACKAGES] [EXTRA] Then none of the packages listed in org-latex-default-packages-alist and org-latex-packages-alist are included, and only the #+LATEX_HEADER(_EXTRA) keywords are considered. Hope this helps, -- Suvayu Open source is the future. It sets us free.