From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Doyley Subject: Re: latex include file Date: Thu, 22 Nov 2012 15:30:54 -0500 Message-ID: <3070074869470321140@unknownmsgid> References: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbdQL-0004yK-G7 for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 15:31:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbdQK-0005aP-JQ for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 15:31:01 -0500 Received: from mail-qc0-f169.google.com ([209.85.216.169]:50189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbdQK-0005aI-DS for emacs-orgmode@gnu.org; Thu, 22 Nov 2012 15:31:00 -0500 Received: by mail-qc0-f169.google.com with SMTP id t2so6918613qcq.0 for ; Thu, 22 Nov 2012 12:31:00 -0800 (PST) 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" I haven't tried this, I will upgrade to the latest version of org and try. How do I tell org only to export the body ? Sent from my iPhone On Nov 22, 2012, at 2:06 PM, 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. > > Best Wishes > M > > >