From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: latex include file Date: Thu, 22 Nov 2012 20:37:12 +0100 Message-ID: <20121122193712.GF10181@kuru.dyndns-at-home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbcaM-0001tC-Tm for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 14:37:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbcaL-0006PC-Um for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 14:37:18 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:48561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbcaL-0006P3-O4 for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 14:37:17 -0500 Received: by mail-ee0-f41.google.com with SMTP id d41so5653767eek.0 for ; Thu, 22 Nov 2012 11:37:16 -0800 (PST) Content-Disposition: inline In-Reply-To: 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 Thu, Nov 22, 2012 at 02:06:03PM -0500, Marvin Doyley wrote: > Hi there, > > I am trying to figure out how to export a latex file while suppressing the > \begin{document} \end{document} and all the other frontmatter stuff. > > In essence, I would like to create a .tex file that will be included in > another latex file. More specifically, I want the exported file to look > something like > > \section{xxxx} > > BLAH BLAH > > \begin{equation} > > E=MC^2 > \end{equation} > > I have created a costume org-export-latex-classes to suppress packages, but > I am stuck with the other front matter stuff. > Have you tried the "Body only" option in the new exporter? -- Suvayu Open source is the future. It sets us free.