From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: cannot export to beamer. Date: Sun, 16 Dec 2018 22:01:42 +0100 Message-ID: <87h8fdmbih.fsf@mat.ucm.es> References: <87zht6adx2.fsf@mat.ucm.es> <87y38qmzd9.fsf@gmail.com> <87sgyy4j38.fsf@mat.ucm.es> <87y38pg444.fsf@gmail.com> <87lg4pmj64.fsf@mat.ucm.es> <87a7l5wa5d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYddk-0004rT-4n for emacs-orgmode@gnu.org; Sun, 16 Dec 2018 16:07:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYdYO-0008Rk-BI for emacs-orgmode@gnu.org; Sun, 16 Dec 2018 16:02:28 -0500 Received: from [195.159.176.226] (port=58049 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYdYN-0007eQ-V5 for emacs-orgmode@gnu.org; Sun, 16 Dec 2018 16:02:24 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gYdVu-00061L-C0 for emacs-orgmode@gnu.org; Sun, 16 Dec 2018 21:59:50 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>> "Tim" =3D=3D Tim Cross writes: > Just a shot in the dark here ..... > You mentioned you used custom to modify the org-latex-classes > variable. Does the code in the custom 'block' of your init file have > beamer as one of the classes?=20 No it does not and this turns out a problem, also I thought the ox-beamer code contains a add-to-list which should do add beamer, but it seems not to do it. > My suspicion is that when you added your exam class, for some > reason, beamer had not been loaded and was not yet in the variable > definition. When you edited it to add your exam class it has saved > a version without beamer as a class. > When you start emacs, with the new init and run order, the code >> (unless (assoc "beamer" org-latex-classes) >> (add-to-list 'org-latex-classes >> '("beamer" >> "\\documentclass[presentation]{beamer}" >> ("\\section{%s}" . "\\section*{%s}") >> ("\\subsection{%s}" . "\\subsection*{%s}") >> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))) > is executed and beamer is added, but then your custom settings are > evaluated and the variable is reset with the version you added the exam > class to, which has no beamer entry, is used to reset the variable and > the beamer setting is lost. What you say makes send but this seems to defy the whole idea of custom! > I would start by deleting the org-latex-classes customization and try > adding it again to see if that fixes the problem. This is one reason I > rarely use customise - I prefer to have the code in my own init file so > that I can see exactly when everything is run. Thanks! I will do that and you are very right about custom, it is very convenient but buggier than I thought. Uwe=20 --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEPEw ggXYMIIDwKADAgECAhBMqvnK22Nv4B/3TthbA4adMA0GCSqGSIb3DQEBDAUAMIGFMQswCQYDVQQG EwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYD VQQKExFDT01PRE8gQ0EgTGltaXRlZDErMCkGA1UEAxMiQ09NT0RPIFJTQSBDZXJ0aWZpY2F0aW9u IEF1dGhvcml0eTAeFw0xMDAxMTkwMDAwMDBaFw0zODAxMTgyMzU5NTlaMIGFMQswCQYDVQQGEwJH QjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQK ExFDT01PRE8gQ0EgTGltaXRlZDErMCkGA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