emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Daniel Martins <danielemc@gmail.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Re: Beamer support - 2nd round
Date: Sat, 5 Dec 2009 09:05:20 +0100	[thread overview]
Message-ID: <9CFEEA70-BF0F-4564-A90A-E9BF78EA5FBA@gmail.com> (raw)
In-Reply-To: <6ac505ad0912041604l5f0503fbx5b5e7809240f467e@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]


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:


[-- Attachment #2: pastedGraphic.tiff --]
[-- Type: image/tiff, Size: 27036 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1466 bytes --]





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
>>>              '("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




[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  parent reply	other threads:[~2009-12-05  8:05 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 16:10 Beamer support - 2nd round Carsten Dominik
2009-12-04 18:34 ` Eric S Fraga
2009-12-04 23:31   ` Daniel Martins
2009-12-04 23:45     ` Nick Dokos
2009-12-05  0:04       ` Daniel Martins
2009-12-05  0:16         ` Nick Dokos
2009-12-05  8:05         ` Carsten Dominik [this message]
2009-12-05 14:34           ` Daniel Martins
2009-12-07 20:15           ` JBash
2009-12-07 20:29             ` JBash
2009-12-07 21:34               ` Daniel Martins
2009-12-08 17:21             ` Carsten Dominik
2009-12-08 17:52               ` JBash
2009-12-08 23:04                 ` Carsten Dominik
2009-12-05 17:10   ` Carsten Dominik
     [not found]     ` <87vdgkcg0d.wl%ucecesf@ucl.ac.uk>
2009-12-06 23:51       ` Carsten Dominik
2009-12-06 13:13 ` Magnus Henoch
2009-12-06 13:24   ` Magnus Henoch
2009-12-08 17:21   ` Carsten Dominik
2009-12-10 21:32 ` Adam Spiers
2009-12-14  8:11   ` Carsten Dominik
2009-12-18 11:12     ` Adam Spiers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9CFEEA70-BF0F-4564-A90A-E9BF78EA5FBA@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=danielemc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).