emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Martins <danielemc@gmail.com>
To: JBash <bashveank@gmail.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Beamer support - 2nd round
Date: Mon, 7 Dec 2009 19:34:40 -0200	[thread overview]
Message-ID: <6ac505ad0912071334r622f3f3dtad42029f0558d6ea@mail.gmail.com> (raw)
In-Reply-To: <407c66ac0912071229h1575bf6btd33ff438634bbd86@mail.gmail.com>

I had the same problem with org-beamer-add-units-to-column-width

daniel

2009/12/7 JBash <bashveank@gmail.com>:
>
>
> 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.com> 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 <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
>>>
>>>
>> 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
>
>

  reply	other threads:[~2009-12-07 21:34 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
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 [this message]
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=6ac505ad0912071334r622f3f3dtad42029f0558d6ea@mail.gmail.com \
    --to=danielemc@gmail.com \
    --cc=bashveank@gmail.com \
    --cc=carsten.dominik@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).