emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug?][ox-beamer] hyperref crashes when options are specified
Date: Wed, 28 May 2014 19:33:10 +0200	[thread overview]
Message-ID: <87r43dyfjd.fsf@gmail.com> (raw)
In-Reply-To: <87iooponob.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 28 May 2014 18:47:32 +0200")

Rasmus <rasmus@gmx.us> writes:

> Customizing an Org package alist, Org inserts code that is invalid in
> a Beamer context.

Code generated is valid and conform to expectations, but, unfortunately,
incompatible with "beamer" class.

>> You could define an appropriate class for `beamer' back-end instead.
>
> Org-latex-classes gives me access to [NO-DEFAULT-PACKAGES].  Not
> removing a single element from it as far as I understand.  Or am i
> mistaken?

You probably shouldn't add this package to default header in the first
place. `org-latex-packages-alist' is a better place.

Anyway, yes, you need to remove all packages/default-packages first in
your dedicated "beamer" class.

> IMO, a wrapper around the header like org-latex-guess-babel-language
> would be better, but I don't have strong opinions on this.

Again, we shouldn't try to start fixing incompatibilities between
packages and classes, or between packages in Org. Your configuration is
broken, not Org.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2014-05-28 17:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 14:06 [bug?][ox-beamer] hyperref crashes when options are specified Rasmus
2014-05-28 15:44 ` Nicolas Goaziou
2014-05-28 16:47   ` Rasmus
2014-05-28 17:33     ` Nicolas Goaziou [this message]

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=87r43dyfjd.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /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).