From mboxrd@z Thu Jan 1 00:00:00 1970 From: JBash Subject: Re: Beamer support - 2nd round Date: Mon, 7 Dec 2009 15:29:09 -0500 Message-ID: <407c66ac0912071229h1575bf6btd33ff438634bbd86@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> <407c66ac0912071215l7cd65139lac138fe890fabbd7@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2003851658==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHkCp-0005fR-PN for emacs-orgmode@gnu.org; Mon, 07 Dec 2009 15:29:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHkCk-0005Xd-9r for emacs-orgmode@gnu.org; Mon, 07 Dec 2009 15:29:14 -0500 Received: from [199.232.76.173] (port=39502 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHkCk-0005XQ-4A for emacs-orgmode@gnu.org; Mon, 07 Dec 2009 15:29:10 -0500 Received: from mail-qy0-f196.google.com ([209.85.221.196]:56516) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHkCj-0000V1-JU for emacs-orgmode@gnu.org; Mon, 07 Dec 2009 15:29:09 -0500 Received: by qyk34 with SMTP id 34so2505060qyk.14 for ; Mon, 07 Dec 2009 12:29:09 -0800 (PST) In-Reply-To: <407c66ac0912071215l7cd65139lac138fe890fabbd7@mail.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 --===============2003851658== Content-Type: multipart/alternative; boundary=000e0cd5c08046c87a047a294f00 --000e0cd5c08046c87a047a294f00 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Dec 7, 2009 at 3:15 PM, JBash wrote: > > > On Sat, Dec 5, 2009 at 3:05 AM, Carsten Dominik > wrote: > >> >> 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)...done >>> 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 you >> stored will overwrite the new default (which contains the beamer entry. Two >> ways to fix this: >> >> 1. Remove you customization of this variable, restart Emacs, and customize >> again to redo the changed you have made earlier. THis is the safest way. >> >> OR >> >> 2. Customize the variable and create a new entry for beamer, with this: >> ("beamer" >> "\\documentclass{beamer} >> \\usepackage[utf8]{inputenc} >> \\usepackage[T1]{fontenc} >> \\usepackage{graphicx} >> \\usepackage{longtable} >> \\usepackage{float} >> \\usepackage{wrapfig} >> \\usepackage{soul} >> \\usepackage{amssymb} >> \\usepackage{hyperref}" >> 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 >>>>> '("beamer" >>>>> "\\documentclass[11pt]{beamer} >>>>> ...) >>>>> >>>>> ??? >>>>> >>>>> >>>> No. >>>> >>>> >>>>> Or I have to imput another .el which sets org-export-latex-classes >>>>> correctl= >>>>> 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 >>>> origin/HEAD >>>> origin/add-recursion-to-org-publish >>>> origin/beamer >>>> origin/emacs23 >>>> origin/experimental >>>> origin/experimental-code-for-the-new-export-engine >>>> origin/master >>>> origin/mobile-support >>>> origin/org-plot-doc >>>> origin/support-for-mobile-sync >>>> >>>> you can see there is a remote branch called origin/beamer. You can >>>> create >>>> 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 >> >> >> This is not working quite right for me... > I pulled the latest beamer branch from git this morning and installed it. > I am getting the export to latex, but no columns in the beamer (tex) and > resulting pdf file. There is a title frame, a TOC (blank) frame, and then a > single frame titled "This is the first structural section". All other > elements are nested itemized lists on that single slide. > > I manually copied the org-beamer.el file to my site-lisp area. Is that > supposed to be installed along with the other org files? > > I had also previously defined org-latex-export-classes, and have removed > that from my .emacs file. > > Correction: I meant org-export-latex-classes ... Sorry. > I am also seeing an unexpected error the *second* (and subsequent) time I > export (without changes to the org file) to to PDFabout a column-width > function: > > Select command: > Exporting to PDF... > Exporting to LaTeX... > org-beamer-open-column: Symbol's function definition is void: > org-beamer-add-units-to-column-width > > If I restart emacs, I can export again (1 time) without these errors. > > If this points to something obvious in my configuration, please let me > know. I suspect I have something strangely configured, as no one else is > having these issues. > > Thanks, > Jerry > --000e0cd5c08046c87a047a294f00 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Dec 7, 2009 at 3:15 PM, JBash <bashveank@gmail.= com> wrote:


On Sat= , Dec 5, 2009 at 3:05 AM, Carsten Dominik <carsten.dominik@gmail.c= om> wrote:
=

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)...done<= br> Select command:
Exporting to LaTeX...
or: No definition for class `beamer' in `org-export-latex-classes'<= br>

If you have customized org-export-latex-classes before, then the value you = stored will overwrite the new default (which contains the beamer entry. =A0= Two ways to fix this:

1. Remove you customization of this variable, restart Emacs, and customize = again to redo the changed you have made earlier. =A0THis is the safest way.=

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 <nicholas.dokos@hp.com>:
Daniel Martins <danielemc@gmail.com> 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 create 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


This is not working quite right for me...
I pulled= the latest beamer branch from git this morning and installed it.=A0 I am g= etting the export to latex, but no columns in the beamer (tex) and resultin= g pdf file.=A0 There is a title frame, a TOC (blank) frame, and then a sing= le frame titled "This is the first structural section".=A0 All ot= her elements are nested itemized lists on that single slide.=A0
=A0
I manually copied the org-beamer.el file to my site-lisp area.=A0 Is= that supposed to be installed along with the other org files?
=A0
=
I had also previously defined org-latex-exp= ort-classes, and have removed that from my .emacs file.
=A0
Correction:=A0 I meant org-export-late= x-classes=A0 ... Sorry.
I am also seeing an unexpected = error the *second* (and subsequent) time I export (without changes to the o= rg file) to to PDFabout a column-width function:

Select command: Exporting to PDF...
Exporting to LaTeX...
org-beamer-open-column: Symbol's function defi= nition is void: org-beamer-add-units-to-column-width

If I restart em= acs, I can export again (1 time) without these errors.

If this point= s to something obvious in my configuration, please let me know.=A0 I suspec= t I have something strangely configured, as no one else is having these iss= ues.

Thanks,
Jerry

--000e0cd5c08046c87a047a294f00-- --===============2003851658== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2003851658==--