From: Nick Dokos <nicholas.dokos@hp.com>
To: Xin Shi <shixin111@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: No title or date in LaTeX export
Date: Thu, 29 Jul 2010 17:02:25 -0400 [thread overview]
Message-ID: <14442.1280437345@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Xin Shi <shixin111@gmail.com> of "Thu\, 29 Jul 2010 16\:31\:24 EDT." <AANLkTimtUhMpiNot0wFTnqKkMEpBe+2MVxoi8iNyu-5Z@mail.gmail.com>
Xin Shi <shixin111@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{XXXXXX}
> %\date{XXXXX}
> %\maketitle
>
> So far, I only found
> #+OPTIONS: author:nil can make:
>
> %\author{XXXX}
>
> 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
next prev parent reply other threads:[~2010-07-29 21:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 20:31 No title or date in LaTeX export Xin Shi
2010-07-29 20:52 ` Xin Shi
2010-07-29 21:02 ` Nick Dokos [this message]
2010-07-29 21:05 ` Neil Hepburn
2010-07-29 23:00 ` John Hendy
2010-07-29 23:01 ` John Hendy
2010-08-02 12:22 ` Xin Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14442.1280437345@alphaville.usa.hp.com \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=shixin111@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.