[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [bug?][ox-beamer] hyperref crashes when options are specified
From: |
Rasmus |
Subject: |
[O] [bug?][ox-beamer] hyperref crashes when options are specified |
Date: |
Wed, 28 May 2014 16:06:10 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) |
Hi,
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?
Unfortunately, it seems that I cannot directly modify the latex
package alist via a parse tree filter, which would have been the
easiest.
Alternatively, I could write a LaTeX hack using address@hidden or
using the final filter to move things around before compilation.
Thanks,
Rasmus
--
May the Force be with you
- [O] [bug?][ox-beamer] hyperref crashes when options are specified,
Rasmus <=