emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: henry atting <nsmp_01@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: LaTeX export - customize own class
Date: Tue, 29 Sep 2009 05:02:26 +0200	[thread overview]
Message-ID: <81B98B42-372E-4CB9-B430-10DDE96A994E@gmail.com> (raw)
In-Reply-To: <87my4fyvvy.fsf@online.de>


On Sep 28, 2009, at 4:41 PM, henry atting wrote:

> I am trying to customize the orgmode export to the LaTeX class `play`
> A first level heading will then become the LaTeX \speaker{}, the text
> under this heading will become the text the speaker says. No problem  
> so
> far, but some questions remain:
>
> - How can I prevent the export function from creating a titlepage  
> and a
>  table of contents?

    #+TITLE:

with no title specified will turn off the title.

    #+OPTIONS: toc:nil

will turn off the table of contents.


> - Most important: Every header is provided with a label. How can I
>  supress this?

You cannot, really.
However, I have just added a new hook, org-export-latex-final-hook.
You could use it to test if the class is "play", and if yes, run through
the buffer and remove all labels.

> - Finally, is it possible to automatically insert something *after*
>  \begin{document}, something like \begin..\end{play}?

You could also use the hook to do this.

HTH

- Carsten

  reply	other threads:[~2009-09-29  3:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 14:41 LaTeX export - customize own class henry atting
2009-09-29  3:02 ` Carsten Dominik [this message]
2009-09-29  5:32   ` henry atting
2009-09-29  5:55     ` Nick Dokos
2009-09-29  7:47       ` henry atting

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=81B98B42-372E-4CB9-B430-10DDE96A994E@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nsmp_01@online.de \
    /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).