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 fatkasuvayu+li...@gmail.com 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

[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.

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 fatkasuvayu+li...@gmail.com Hi Orgers, I am trying to

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 camille.pers...@gmail.com 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 **

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 camille.pers...@gmail.com 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

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 we...@gmx.li 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

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

Re: [O] Title page in latex export

2011-03-04 Thread Nick Dokos
Suvayu Ali fatkasuvayu+li...@gmail.com 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

Re: [O] Title page in latex export

2011-03-04 Thread Bastien
Hi Nick, Nick Dokos nicholas.do...@hp.com 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

[Accepted] [O] Title page in latex export

2011-03-04 Thread Bastien Guerry
=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 we...@gmx.li X-Patchwork-Id: 649 Message-Id: m34o7j5d5r@e4300lm.epcc.ed.ac.uk To: emacs-orgmode@gnu.org Suvayu Ali wrote: Hi

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 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

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 nicholas.do...@hp.com 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,