From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Title page in latex export Date: Fri, 4 Mar 2011 11:58:03 -0800 Message-ID: <20110304115803.68744b2a@bhishma.homelinux.net> References: <20110304020505.77bc12d1@bhishma.homelinux.net> <20110304032325.2933652f@bhishma.homelinux.net> <20110304035951.57b7b1ac@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47183 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pvb8y-0006fT-Nd for emacs-orgmode@gnu.org; Fri, 04 Mar 2011 14:58:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pvb8x-0007Bb-67 for emacs-orgmode@gnu.org; Fri, 04 Mar 2011 14:58:32 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:63024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pvb8w-0007BT-Vm for emacs-orgmode@gnu.org; Fri, 04 Mar 2011 14:58:31 -0500 Received: by fxm5 with SMTP id 5so2982274fxm.0 for ; Fri, 04 Mar 2011 11:58:30 -0800 (PST) In-Reply-To: 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: Camille persson Cc: emacs-orgmode Hi Camille, On Fri, 4 Mar 2011 15:17:58 +0100 Camille persson wrote: > Hi Suvayu, > > Do you use the lastest update of org-mode ? > cause it works perfectly for me without any patch actually... > Yes, my org-mode is less than a day old. But I didn't have any LaTeX customisations in my setup. I am not sure why our exports are different. However with Lawerence's patch things work very smoothly. > > to use your university's custom style, you need to put it in your > texmf directory and use the following header lines: > #+LATEX_CLASS: MyUnivThesis > #+LATEX_CLASS_OPTIONS: [options...] > > and then customize your .emacs file (or a file in your .emacs.d/) as > following > > (add-to-list 'org-export-latex-classes > '("MyUnivThesis" > "\\documentclass{univstyle}" > ("\\part{%s}" . "\\part*{%s}") > ("\\chapter{%s}" . "\\chapter*{%s}") > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) > > Thanks for pointing it out. This will be very helpful. :) > See http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-6 > > Yours, > CP -- Suvayu Open source is the future. It sets us free.