Re: [Orgmode] No title or date in LaTeX export

2010-08-02 Thread Xin Shi
Hello,

Thank you all ! :)

Xin


On Thu, Jul 29, 2010 at 7:01 PM, John Hendy jw.he...@gmail.com wrote:

 Whoops -- sorry for the duplicate suggestion... a bunch of messages just
 came through!


 On Thu, Jul 29, 2010 at 6:00 PM, John Hendy jw.he...@gmail.com wrote:

 See this: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg20692.html

 Key line to add in your .org header section:

 #+BIND: org-export-latex-title-command 

 When you do C-c C-e p the minibuffer will ask if you want to apply the BIND 
 code. Type yes and that should do it. It's been working for me in 
 eliminating the \maketitle line.


 John

 On Thu, Jul 29, 2010 at 3:31 PM, Xin Shi shixin...@gmail.com wrote:

 Hello Experts,

 When I export the org file to LaTeX, I want no title or date in the first
 page.  Namely, I want these lines to be commented out:

 %\title{XX}
 %\date{X}
 %\maketitle

 So far, I only found
 #+OPTIONS: author:nil  can make:

 %\author{}

 I also tried :

 # Local Variables:
 # org-export-latex-title-command:  
 # End:

 but still saw the \maketitle .

 Any suggestions?

 Thanks!

 Xin


 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] No title or date in LaTeX export

2010-07-29 Thread Nick Dokos
Xin Shi shixin...@gmail.com wrote:

 Hello Experts,
 
 When I export the org file to LaTeX, I want no title or date in the first 
 page.  Namely, I want
 these lines to be commented out:
 
 %\title{XX}
 %\date{X}
 %\maketitle 
 
 So far, I only found
 #+OPTIONS: author:nil  can make:
 
 %\author{} 
 
 I also tried :
 
 # Local Variables:
 # org-export-latex-title-command:  
 # End:
 
 but still saw the \maketitle .
 
 Any suggestions?
 

Try

#+BIND: org-export-latex-title-command 

at the top of your org file. This should eliminate the \maketitle
invocation. \title, \date etc will still be defined but since only
\maketitle uses them, they won't affect the output.

I presume you'll also want to nuke the table of contents. If so,
add

#+OPTIONS: toc:nil

at the top of the org file as well.

HTH,
Nick


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] No title or date in LaTeX export

2010-07-29 Thread Neil Hepburn
Hi Xin

To get rid of this stuff, simply put the following at the top of your org file:

#+OPTIONS: author:nil
#+TITLE: 
#+DATE: 

alternatively you can use

#+TITLE: 
#+AUTHOR: 
#+DATE:

If you use the second option, your tex file will have 
\title{}
\author{}
\date{}

but will not have the \maketitle command.

-Neil 
(not an expert but an inquisitive user)


On 2010-07-29, at 2:31 PM, Xin Shi wrote:

 Hello Experts,
 
 When I export the org file to LaTeX, I want no title or date in the first 
 page.  Namely, I want these lines to be commented out:
 
 %\title{XX}
 %\date{X}
 %\maketitle 
 
 So far, I only found
 #+OPTIONS: author:nil  can make:
 
 %\author{} 
 
 I also tried :
 
 # Local Variables:
 # org-export-latex-title-command:  
 # End:
 
 but still saw the \maketitle .
 
 Any suggestions?
 
 Thanks!
 
 Xin
 
 ___
 Emacs-orgmode mailing list
 Please use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode