Hi Camille, On Fri, 4 Mar 2011 15:17:58 +0100 Camille persson <camille.pers...@gmail.com> 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.