From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: Exporting to LaTeX to use it with \input Date: Fri, 25 Jan 2013 15:47:09 +0000 Message-ID: <874ni5gt8i.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TylU3-00010J-Up for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 10:46:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TylTy-0000NS-0w for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 10:46:27 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:43287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TylTx-0000N6-O3 for emacs-orgmode@gnu.org; Fri, 25 Jan 2013 10:46:21 -0500 Received: by mail-wi0-f174.google.com with SMTP id hq7so162342wib.7 for ; Fri, 25 Jan 2013 07:46:20 -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: Seweryn Kokot Cc: emacs-orgmode@gnu.org Hi Seweryn, Seweryn Kokot writes: > I would like to have a main text of the document in LaTeX and only some parts as > org files (using tables and babel functionality). Then these files I want to > export to .tex files and include to the main tex file with \input{myorgfile1}. > My question: is it possible to export to LaTeX without preamble and postable? Or > how to automatically get rid of this redundant text to use it in > \input? Have a look at the standalone package, it ignores everything before \begin{document} in the \input file. You might be able to see the documentation by typing: $ texdoc standalone Myles