From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Latex Export Date: Fri, 30 Nov 2007 12:40:02 +0000 Message-ID: <871wa7lxel.fsf@bzg.ath.cx> References: <20071130031506.GA3880@odin.demosthenes.org> <20071130062126.GA4661@fastwebnet.it> <20071130072711.GA11065@odin.demosthenes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iy5AC-0005of-2d for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 07:40:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iy5A9-0005nq-Ee for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 07:40:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iy5A9-0005nn-9o for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 07:40:09 -0500 Received: from ro-out-1112.google.com ([72.14.202.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iy5A9-0005RO-1v for emacs-orgmode@gnu.org; Fri, 30 Nov 2007 07:40:09 -0500 Received: by ro-out-1112.google.com with SMTP id p7so3675049roc for ; Fri, 30 Nov 2007 04:40:08 -0800 (PST) In-Reply-To: <20071130072711.GA11065@odin.demosthenes.org> (Russell Adams's message of "Fri, 30 Nov 2007 01:27:11 -0600") 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 Russell Adams writes: > On Fri, Nov 30, 2007 at 07:21:26AM +0100, Giovanni Ridolfi wrote: >> On Thu, Nov 29, 2007 at 09:15:06PM -0600, Russell Adams wrote: >> > >> I think that the Latex-exporter is *not* suited for such complex task. >> I also think that it shouldn't (K.I.S.S.). > > Actually, a basic TOC, sections, tables etc... I think it fits the > bill. I'm moving into Latex because I kept doing an HTML export and > moving that into Word so I could apply more formatting. > > If I can use an option to throw on a header/footer, or specify a > separate document format, that'd do it. Most of the LaTeX code you would insert in Org files will be exported ok. This LaTeX could be LaTeX fragments, or more complex commands. Check `org-latex-entities' for a list of recognized commands. If you want to insert several lines of LaTeX code, put them between these markers: #+BEGIN_LaTeX ... #+END_LaTeX If you want to insert a specific LaTeX header, just define the variable `org-export-latex-header' locally in your Org file. See the Org manual at (info "(org)CSS support") for an example on setting a local variable in Org, and replace `org-export-html-style' by `org-export-latex-header' in this example. If you want to use your own customized LaTeX class then define it in `org-export-latex-classes' and add #+LaTeX_CLASS: myclass as a local option in your Org file. Combining all these should provide a nearly complete environment to write in Org and have a good LaTeX output. It won't catch all the complexity and flexibility of LaTeX (or TeX) but I guess it will be enough as a start ! Actually, we really *lack* a tutorial on the LaTeX export. -- Bastien