From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: Re: Beamer support - 2nd round Date: Sat, 5 Dec 2009 12:34:50 -0200 Message-ID: <6ac505ad0912050634q3b8730e4g58e71e06f3faaf2b@mail.gmail.com> References: <87ljhi1tbo.wl%ucecesf@ucl.ac.uk> <6ac505ad0912041531h1e2fbe46x9b06e67c222dd265@mail.gmail.com> <10441.1259970303@alphaville.usa.hp.com> <6ac505ad0912041604l5f0503fbx5b5e7809240f467e@mail.gmail.com> <9CFEEA70-BF0F-4564-A90A-E9BF78EA5FBA@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGvim-0005K8-Vm for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 09:34:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGvim-0005JD-2g for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 09:34:52 -0500 Received: from [199.232.76.173] (port=47980 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGvil-0005Iv-EA for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 09:34:51 -0500 Received: from qw-out-1920.google.com ([74.125.92.146]:17365) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGvil-000445-4I for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 09:34:51 -0500 Received: by qw-out-1920.google.com with SMTP id 5so414696qwc.24 for ; Sat, 05 Dec 2009 06:34:50 -0800 (PST) In-Reply-To: <9CFEEA70-BF0F-4564-A90A-E9BF78EA5FBA@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode Mode Carsten hit the target. I have customized org-export-latex-classes before! The first option did not work (I do not know why) but the second option did= ! The teste worked perfectly!! Thanks again carsten and Nicholas Daniel 2009/12/5 Carsten Dominik : > > On Dec 5, 2009, at 1:04 AM, Daniel Martins wrote: > >> Thank you very much >> >> I did everything you suggested and everything worked nicely >> >> >> But even using load-libray >> >> org-latex >> >> and >> >> org-beamer >> >> I received >> >> >> Loading /home/daniel/emacs-lisp/org-mode/lisp/org-beamer.el >> (source)...done >> Loading /home/daniel/emacs-lisp/org-mode/lisp/org-latex.el (source)...do= ne >> Select command: >> Exporting to LaTeX... >> or: No definition for class `beamer' in `org-export-latex-classes' > > If you have customized org-export-latex-classes before, then the value yo= u > stored will overwrite the new default (which contains the beamer entry. = =A0Two > ways to fix this: > > 1. Remove you customization of this variable, restart Emacs, and customiz= e > again to redo the changed you have made earlier. =A0THis is the safest wa= y. > > OR > > 2. Customize the variable and create a new entry for beamer, with this: > =A0 =A0("beamer" > =A0 =A0 "\\documentclass{beamer} > \\usepackage[utf8]{inputenc} > \\usepackage[T1]{fontenc} > \\usepackage{graphicx} > \\usepackage{longtable} > \\usepackage{float} > \\usepackage{wrapfig} > \\usepackage{soul} > \\usepackage{amssymb} > \\usepackage{hyperref}" > =A0 =A0 org-beamer-sectioning > )) > > > So in your customize buffer it must look like this: > > > > > > > Note in paricular that under |levels|, you must choose "Hook computing > section levels" from the value menu > > - Carsten > >> >> 2009/12/4 Nick Dokos : >>> >>> Daniel Martins wrote: >>> >>>> Stupid question 9but I could not answer it) >>>> >>>> >>>> I have to set up >>>> >>>> (add-to-list 'org-export-latex-classes >>>> =A0 =A0 =A0 =A0 =A0 =A0 '("beamer" >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 "\\documentclass[11pt]{beamer} >>>> ...) >>>> >>>> ??? >>>> >>> >>> No. >>> >>>> >>>> Or I have to imput another .el which sets org-export-latex-classes >>>> correctl=3D >>>> y? >>>> >>>> I sue the latest git version of org-mode 6.33trans and >>>> I tried to use the example but I couldn't >>> >>> Are you using git to keep up to date with org-mode? If not, then afaict= , >>> you cannot get it yet. If you are using git, you can do something like >>> this: >>> >>> $ git branch -r >>> =A0origin/HEAD >>> =A0origin/add-recursion-to-org-publish >>> =A0origin/beamer >>> =A0origin/emacs23 >>> =A0origin/experimental >>> =A0origin/experimental-code-for-the-new-export-engine >>> =A0origin/master >>> =A0origin/mobile-support >>> =A0origin/org-plot-doc >>> =A0origin/support-for-mobile-sync >>> >>> you can see there is a remote branch called origin/beamer. You can crea= te >>> a local tracking branch with >>> >>> $ git branch beamer origin/beamer >>> >>> and check it out: >>> >>> $ git checkout beamer >>> >>> If you then look in lisp/org-latex.el, you should see the beamer stuff. >>> >>> HTH, >>> Nick >>> > > - Carsten > > > > >