Re: [O] Title page in latex export

2011-04-22 Thread Sebastian Hofer
At Fri, 04 Mar 2011 10:45:08 -0500, Nick Dokos wrote: > > Suvayu Ali wrote: > > > > > I am trying to write my thesis as per my university style. It requires > > I use the \title{Thesis title} command before the > > > > \begin{document} > > ... > > \end{document} > > > > Is there any way to do

Re: [O] Title page in latex export

2011-03-04 Thread Suvayu Ali
Hi Nick, On Fri, 04 Mar 2011 10:45:08 -0500 Nick Dokos wrote: > This is really a bug in your university's style. Lamport (p.21 of the > second edition) says: > > The \maketitle command comes after the \begin{document}, usually > before any other text. The \title, \author, and \date commands

Re: [O] Title page in latex export

2011-03-04 Thread Suvayu Ali
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.

[Accepted] [O] Title page in latex export

2011-03-04 Thread Bastien Guerry
e: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [O] Title page in latex export > Date: Fri, 04 Mar 2011 16:38:08 - > From: Lawrence Mitchell > X-Patchwork-Id: 649 > Message-Id: > To: emacs-orgmode@gnu.org > > Suv

Re: [O] Title page in latex export

2011-03-04 Thread Bastien
Hi Nick, Nick Dokos writes: > [Emphasis added] \title etc. does not have to be in the > preamble. However, there are many styles out there that restrict the > placement of these macros to the preamble, just as your university's > style does (they probably cribbed from each other :-) ), so applyi

Re: [O] Title page in latex export

2011-03-04 Thread Nick Dokos
Suvayu Ali wrote: > > I am trying to write my thesis as per my university style. It requires > I use the \title{Thesis title} command before the > > \begin{document} > ... > \end{document} > > Is there any way to do that? Thanks for any thoughts. > This is really a bug in your university's s

Re: [O] Title page in latex export

2011-03-04 Thread Camille persson
Hi Suvayu, Do you use the lastest update of org-mode ? cause it works perfectly for me without any patch actually... The following org : #+begin_org #+TITLE: My title #+AUTHOR: Camille Persson #+DATE: 2011 #+LATEX_CLASS: book #+end_org ... produce the following latex code: #+begin_latex \docum

Re: [O] Title page in latex export

2011-03-04 Thread Suvayu Ali
Hi Lawrence, On Fri, 04 Mar 2011 11:38:08 + Lawrence Mitchell wrote: > Try this patch to org-latex.el: > > diff --git a/lisp/org-latex.el b/lisp/org-latex.el > index 19baa40..4db38d6 100644 > --- a/lisp/org-latex.el > +++ b/lisp/org-latex.el That does the trick. :) Thanks a lot. I am not

Re: [O] Title page in latex export

2011-03-04 Thread Lawrence Mitchell
Suvayu Ali wrote: > Hi Camille, > Thanks a lot for your response. > On Fri, 4 Mar 2011 11:48:39 +0100 > Camille persson wrote: >> Hi, >> I think that what it already does > I don't think it does that. e.g. Try this patch to org-latex.el: diff --git a/lisp/org-latex.el b/lisp/org-latex.el

Re: [O] Title page in latex export

2011-03-04 Thread Suvayu Ali
Hi Camille, Thanks a lot for your response. On Fri, 4 Mar 2011 11:48:39 +0100 Camille persson wrote: > Hi, > > I think that what it already does > I don't think it does that. e.g. #+TITLE: Thesis title #+AUTHOR:Suvayu Ali #+LaTeX_CLASS: book * Introduction ** Chapter 1 ** Chapter

Re: [O] Title page in latex export

2011-03-04 Thread Camille persson
Hi, I think that what it already does But if you mean you should use \maketitlte before \begin{document} you could do it like this: #+BIND: org-export-latex-title-command "" #+LATEX_HEADER: \maketitle Regards, CP 2011/3/4 Suvayu Ali > Hi Orgers, > > I am trying to write my thesis as per my

[O] Title page in latex export

2011-03-04 Thread Suvayu Ali
Hi Orgers, I am trying to write my thesis as per my university style. It requires I use the \title{Thesis title} command before the \begin{document} ... \end{document} Is there any way to do that? Thanks for any thoughts. -- Suvayu Open source is the future. It sets us free.