emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Latex "Missing number, treated as zero."
Date: Mon, 02 Dec 2013 15:09:21 +0100	[thread overview]
Message-ID: <861u1vxs32.fsf@somewhere.org> (raw)
In-Reply-To: m2bo0zfl7x.fsf@polytechnique.org

Alan Schmitt wrote:
> I think this letter class is wrong. Here is mine for beamer (note the
> "\[" before the options to be substituted by the export process):
>
> (add-to-list 'org-latex-classes
>              '("beamer"
>                "\\documentclass[presentation]{beamer}
> \[DEFAULT-PACKAGES]
> \[PACKAGES]
> \[EXTRA]"
>                ("\\section{%s}" . "\\section*{%s}")
>                ("\\subsection{%s}" . "\\subsection*{%s}")
>                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))

Note that you don't need to escape the `[' with `\': it's not a regexp simply
a string; hence, `[' does not need to be escaped.

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2013-12-02 14:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01 17:54 Latex "Missing number, treated as zero." Ian Barton
2013-12-01 20:23 ` Michael Strey
2013-12-02 11:35   ` Ian Barton
2013-12-02 13:14     ` Alan Schmitt
2013-12-02 14:09       ` Sebastien Vauban [this message]
2013-12-02 14:49         ` Alan Schmitt

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=861u1vxs32.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).