emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Updated syntax for #+bind and no LaTeX \maketitle command?
Date: Fri, 24 May 2013 01:14:20 +0200	[thread overview]
Message-ID: <87k3mpi90z.fsf@pank.iue.private> (raw)
In-Reply-To: <CA+M2ft-uZa5ku+G4E3mgZJcOXj2O7D3J_GpMU6Vyt1zEFx2eTw@mail.gmail.com> (John Hendy's message of "Thu, 23 May 2013 17:48:59 -0500")

John Hendy <jw.hendy@gmail.com> writes:

> I sometimes don't want a title in my LaTeX exported documents and used to use:
>
> #+bind: org-export-latex-title-command ""
>
> in my documents. I see that the new variable is simply
> =org-latex-title-command= and now have:
>
> #+bind: org-latex-title-command ""
>
> This is still generating a \maketitle line in my .tex file.

Does either of solutions work in your case?

#+BEGIN_SRC org
#+TITLE:
* My document without title
  . . . By setting TITLE to nil 
#+END_SRC 

#+BEGIN_SRC org
#+TITLE: my-title
#+BEGIN_SRC emacs-lisp :exports none
(set (make-local-variable 'org-latex-title-command) "")
#+END_SRC 
* My document without title
  . . . By changing the command with babel
#+END_SRC 

#+BEGIN_SRC org

#+TITLE: with title
#+BEGIN_SRC emacs-lisp :exports results
(set (make-local-variable 'org-export-allow-bind-keywords) t)
#+END_SRC
#+BIND: org-latex-title-command ""
* without title
  using and allowing bind. 
#+END_SRC

-- 
I almost cut my hair, it happened just the other day

  parent reply	other threads:[~2013-05-23 23:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23 22:48 Updated syntax for #+bind and no LaTeX \maketitle command? John Hendy
2013-05-23 22:57 ` Marcin Borkowski
2013-05-23 23:14 ` Rasmus [this message]
2013-05-24  5:47 ` Nick Dokos
2013-05-24  6:36   ` Nick Dokos
2013-05-24 16:32     ` John Hendy
2013-05-24 21:28       ` Sebastien Vauban

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k3mpi90z.fsf@pank.iue.private \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).