emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug?][ox-beamer] hyperref crashes when options are specified


From: Nicolas Goaziou
Subject: Re: [O] [bug?][ox-beamer] hyperref crashes when options are specified
Date: Wed, 28 May 2014 17:44:49 +0200

Hello,

Rasmus <address@hidden> writes:

> If you give hyperref options when exporting to Beamer it will
> typically crash.
>
> I load hyperref as follows to make it compatible with "exotic"
> headlines in XeLaTeX:
>
>   (setq org-latex-default-packages-alist
>         '(("" "iftex" nil)
>           ("" "fixltx2e" nil)
>           ("AUTO" "inputenc" t)
>           ("T1" "fontenc" t)
>           ("AUTO" "babel" nil)
>           ("" "scrpage2" nil)
>           ("" "graphicx" t)
>           ("" "amsmath" t)
>           ("" "amssymb" t)
>           ("" "booktabs" t)
>           ("" "marvosym" t)
>           ("" "microtype" nil)
>           ("" "slantsc" nil)
>           ("unicode, psdextra,hidelinks" "hyperref" nil)))
>
> Because Beamer loads hyperref automatically this will crash.  The
> correct way to load it is through the document class options, e.g.
>
>      \documentclass[hyperref={unicode, psdextra,hidelinks}]{beamer}
>
> Should ox-beamer automatically move the options in this case?

No, it shoudn't. This crash is not really Org's fault.

You could define an appropriate class for `beamer' back-end instead.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]