emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Basic beamer export
@ 2013-03-12  6:57 JBash
  2013-03-12  9:34 ` Glyn Millington
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: JBash @ 2013-03-12  6:57 UTC (permalink / raw)
  To: emacs-orgmode Mode


[-- Attachment #1.1: Type: text/plain, Size: 932 bytes --]

Hello,

I am apparently missing something very basic in the setup for beamer
export.  I have used http://orgmode.org/worg/exporters/beamer/ox-beamer.html as
a guide and have:

;; Export to Beamer Presentation
(require 'ox-latex)
(add-to-list 'org-latex-classes
             '("beamer"
               "\\documentclass\[presentation\]\{beamer\}"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

in my .emacs file.  As you can see from the attached files, I'm getting
nested items rather than frames in the exported .tex file for the 3rd level
headlines, as I'd expect.  I am using Org-mode version 8.0-pre
(release_8.0-pre-33-g5c25ed and emacs 24.2.1.

I've attached the .org file and the .tex file that is generated.  I'd
appreciate if someone could point out what I'm missing.

Thanks,
Jerry

[-- Attachment #1.2: Type: text/html, Size: 1393 bytes --]

[-- Attachment #2: beamer_attempt1.org --]
[-- Type: application/octet-stream, Size: 616 bytes --]

#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation,smaller]
#+BEAMER_THEME: default
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:(not LOGBOOK) todo:t pri:nil tags:t

* Section One
** Subsection One
*** Slide One
 - Bullet One
   - Sub-Bullet One
   - Sub-Bullet Two
 - Bullet Two
 - Bullet Three
   - Sub-Bullet One
*** Slide Two
 - Bullet Two (Slide 2)
 - Bullet Three (Slide 2)
** Subsection Two
*** Slide Three
 - Bullet one
   - Sub-Bullet One
 - Bullet two
* Section Two
*** Slide Four
 - Bullet One (Slide 4)
*** Slide Five
 - Bullet One
  

[-- Attachment #3: beamer_attempt1.tex --]
[-- Type: application/x-tex, Size: 1664 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-12  6:57 Basic beamer export JBash
@ 2013-03-12  9:34 ` Glyn Millington
  2013-03-12 10:01   ` Glyn Millington
  2013-03-12 10:21   ` JBash
  2013-03-12 14:48 ` Suvayu Ali
  2013-03-17 13:08 ` Eric S Fraga
  2 siblings, 2 replies; 14+ messages in thread
From: Glyn Millington @ 2013-03-12  9:34 UTC (permalink / raw)
  To: emacs-orgmode

JBash <bashveank@gmail.com> writes:

> Hello,
>
> I am apparently missing something very basic in the setup for beamer
> export. I have used
> http://orgmode.org/worg/exporters/beamer/ox-beamer.html as a guide and
> have:
>
> ;; Export to Beamer Presentation
> (require 'ox-latex)
> (add-to-list 'org-latex-classes
> '("beamer"
> "\\documentclass\[presentation\]\{beamer\}"
> ("\\section\{%s\}" . "\\section*\{%s\}")
> ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
> ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))
>
> in my .emacs file. As you can see from the attached files, I'm getting
> nested items rather than frames in the exported .tex file for the 3rd
> level headlines, as I'd expect. I am using Org-mode version 8.0-pre
> (release_8.0-pre-33-g5c25ed and emacs 24.2.1.
>
> I've attached the .org file and the .tex file that is generated. I'd
> appreciate if someone could point out what I'm missing.


Does adding

(require 'ox-beamer) in .emacs help?

atb



Glyn

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-12  9:34 ` Glyn Millington
@ 2013-03-12 10:01   ` Glyn Millington
  2013-03-12 10:21   ` JBash
  1 sibling, 0 replies; 14+ messages in thread
From: Glyn Millington @ 2013-03-12 10:01 UTC (permalink / raw)
  To: emacs-orgmode

Glyn Millington <glyn.millington@gmail.com> writes:

> JBash <bashveank@gmail.com> writes:
>
>> Hello,
>> I am apparently missing something very basic in the setup for beamer
>> export. I have used
>> http://orgmode.org/worg/exporters/beamer/ox-beamer.html as a guide
>> and have:
>> ;; Export to Beamer Presentation (require 'ox-latex) (add-to-list
>> org-latex-classes '("beamer"
>> "\\documentclass\[presentation\]\{beamer\}" ("\\section\{%s\}"
>> . "\\section*\{%s\}") ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
>> ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))
>> in my .emacs file. As you can see from the attached files, I'm
>> getting nested items rather than frames in the exported .tex file
>> for the 3rd level headlines, as I'd expect. I am using Org-mode
>> version 8.0-pre (release_8.0-pre-33-g5c25ed and emacs 24.2.1.
>> I've attached the .org file and the .tex file that is generated. I'd
>> appreciate if someone could point out what I'm missing.
>
>
> Does adding
>
> (require 'ox-beamer) in .emacs help?
>

Following up to myself - sorry

Does this do what you want?

8<------8<------8<------8<------8<------8<------8<------8<------8<------

#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation,smaller]
#+BEAMER_THEME: default
#+BEAMER_HEADER: \beamerdefaultoverlayspecification{<+->}
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:(not LOGBOOK) todo:t pri:nil tags:t

* Section One
** Subsection One
*** Slide One
 - Bullet One
   - Sub-Bullet One
   - Sub-Bullet Two
 - Bullet Two
 - Bullet Three
   - Sub-Bullet One
*** Slide Two
 - Bullet Two (Slide 2)
 - Bullet Three (Slide 2)
** Subsection Two
*** Slide Three
 - Bullet one
   - Sub-Bullet One
 - Bullet two
* Section Two
*** Slide Four
 - Bullet One (Slide 4)
*** Slide Five
 - Bullet One

8<------8<------8<------8<------8<------8<------8<------8<------8<------

atb

Glyn

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-12  9:34 ` Glyn Millington
  2013-03-12 10:01   ` Glyn Millington
@ 2013-03-12 10:21   ` JBash
  2013-03-12 10:27     ` JBash
  1 sibling, 1 reply; 14+ messages in thread
From: JBash @ 2013-03-12 10:21 UTC (permalink / raw)
  To: glyn.millington; +Cc: emacs-orgmode Mode

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

Hi Glyn,

That does not change my output at all.

In some earlier googleing, I'd found some mention of setting
org-e-latex-classes, but that seems to be now changed to org-latex-classes,
I believe.

Thanks for the suggestion. If you have any more thoughts, please let me
know.

Jerry


On Tue, Mar 12, 2013 at 5:34 AM, Glyn Millington
<glyn.millington@gmail.com>wrote:

> JBash <bashveank@gmail.com> writes:
>
> > Hello,
> >
> > I am apparently missing something very basic in the setup for beamer
> > export. I have used
> > http://orgmode.org/worg/exporters/beamer/ox-beamer.html as a guide and
> > have:
> >
> > ;; Export to Beamer Presentation
> > (require 'ox-latex)
> > (add-to-list 'org-latex-classes
> > '("beamer"
> > "\\documentclass\[presentation\]\{beamer\}"
> > ("\\section\{%s\}" . "\\section*\{%s\}")
> > ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
> > ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))
> >
> > in my .emacs file. As you can see from the attached files, I'm getting
> > nested items rather than frames in the exported .tex file for the 3rd
> > level headlines, as I'd expect. I am using Org-mode version 8.0-pre
> > (release_8.0-pre-33-g5c25ed and emacs 24.2.1.
> >
> > I've attached the .org file and the .tex file that is generated. I'd
> > appreciate if someone could point out what I'm missing.
>
>
> Does adding
>
> (require 'ox-beamer) in .emacs help?
>
> atb
>
>
>
> Glyn
>
>
>

[-- Attachment #2: Type: text/html, Size: 2421 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-12 10:21   ` JBash
@ 2013-03-12 10:27     ` JBash
  0 siblings, 0 replies; 14+ messages in thread
From: JBash @ 2013-03-12 10:27 UTC (permalink / raw)
  To: glyn.millington; +Cc: emacs-orgmode Mode

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

Glyn,

To clarify, my output does not change by adding ox-beamer in .emacs, or by
adding the beameroverlaydefaultspecification line in the file header.

Jerry


On Tue, Mar 12, 2013 at 6:21 AM, JBash <bashveank@gmail.com> wrote:

> Hi Glyn,
>
> That does not change my output at all.
>
> In some earlier googleing, I'd found some mention of setting
> org-e-latex-classes, but that seems to be now changed to org-latex-classes,
> I believe.
>
> Thanks for the suggestion. If you have any more thoughts, please let me
> know.
>
> Jerry
>
>
> On Tue, Mar 12, 2013 at 5:34 AM, Glyn Millington <
> glyn.millington@gmail.com> wrote:
>
>> JBash <bashveank@gmail.com> writes:
>>
>> > Hello,
>> >
>> > I am apparently missing something very basic in the setup for beamer
>> > export. I have used
>> > http://orgmode.org/worg/exporters/beamer/ox-beamer.html as a guide and
>> > have:
>> >
>> > ;; Export to Beamer Presentation
>> > (require 'ox-latex)
>> > (add-to-list 'org-latex-classes
>> > '("beamer"
>> > "\\documentclass\[presentation\]\{beamer\}"
>> > ("\\section\{%s\}" . "\\section*\{%s\}")
>> > ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
>> > ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))
>> >
>> > in my .emacs file. As you can see from the attached files, I'm getting
>> > nested items rather than frames in the exported .tex file for the 3rd
>> > level headlines, as I'd expect. I am using Org-mode version 8.0-pre
>> > (release_8.0-pre-33-g5c25ed and emacs 24.2.1.
>> >
>> > I've attached the .org file and the .tex file that is generated. I'd
>> > appreciate if someone could point out what I'm missing.
>>
>>
>> Does adding
>>
>> (require 'ox-beamer) in .emacs help?
>>
>> atb
>>
>>
>>
>> Glyn
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 3007 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-12  6:57 Basic beamer export JBash
  2013-03-12  9:34 ` Glyn Millington
@ 2013-03-12 14:48 ` Suvayu Ali
  2013-03-13  4:52   ` JBash
  2013-03-17 13:08 ` Eric S Fraga
  2 siblings, 1 reply; 14+ messages in thread
From: Suvayu Ali @ 2013-03-12 14:48 UTC (permalink / raw)
  To: emacs-orgmode

Hi Jerry,

On Tue, Mar 12, 2013 at 02:57:14AM -0400, JBash wrote:
> Hello,
> 
> I am apparently missing something very basic in the setup for beamer
> export.  I have used http://orgmode.org/worg/exporters/beamer/ox-beamer.html as
> a guide and have:

[...]

> in my .emacs file.  As you can see from the attached files, I'm getting
> nested items rather than frames in the exported .tex file for the 3rd level
> headlines, as I'd expect.  I am using Org-mode version 8.0-pre
> (release_8.0-pre-33-g5c25ed and emacs 24.2.1.

I cannot replicate this problem with your example.  I have a few
questions though.

1. How do you check your org-version, M-x org-version RET?

2. Is the previously attached result with a minimal org setup?  If not,
   you should try that.

3. On first thought, you have a mixed installation and somehow the old
   exporter is taking over.  I would suggest you go over the mixed
   installation FAQ on Worg:

   <http://orgmode.org/worg/org-faq.html#mixed-install>

I suspect (3) because converting headlines to list is an old exporter
behaviour.  A mixed install can happen if you do not update the
load-path early enough in your setup before you start customising org
variables.  I think the FAQ entry above is not complete since this
information is missing, I'll try to update it when I can find the time.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-12 14:48 ` Suvayu Ali
@ 2013-03-13  4:52   ` JBash
  2013-03-13 13:45     ` Suvayu Ali
  0 siblings, 1 reply; 14+ messages in thread
From: JBash @ 2013-03-13  4:52 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: emacs-orgmode Mode


[-- Attachment #1.1: Type: text/plain, Size: 2462 bytes --]

Hi Suvayu,

I'm still having problems, but I'm getting slightly different results.
 With the same input file, the 3rd level headers are not exported as
subsubsections (rather than an enumerate).  I'm still not getting frames.
 I've attached the new output (from the same input file)  See inline
comments:

On Tue, Mar 12, 2013 at 10:48 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com>wrote:

> Hi Jerry,
>
> On Tue, Mar 12, 2013 at 02:57:14AM -0400, JBash wrote:
> > Hello,
> >
> > I am apparently missing something very basic in the setup for beamer
> > export.  I have used
> http://orgmode.org/worg/exporters/beamer/ox-beamer.html as
> > a guide and have:
>
> [...]
>
> > in my .emacs file.  As you can see from the attached files, I'm getting
> > nested items rather than frames in the exported .tex file for the 3rd
> level
> > headlines, as I'd expect.  I am using Org-mode version 8.0-pre
> > (release_8.0-pre-33-g5c25ed and emacs 24.2.1.
>
> I cannot replicate this problem with your example.  I have a few
> questions though.
>
> 1. How do you check your org-version, M-x org-version RET?
>
>
Yes.  I just updated org.  I'm now at:
Org-mode version 8.0-pre (release_8.0-pre-54-gb5a853 @
/user/share/emacs/site-lisp/org)



> 2. Is the previously attached result with a minimal org setup?  If not,
>    you should try that.
>

 I stripped my .emacs file to a very simple setip.  I've attached it.


>
> 3. On first thought, you have a mixed installation and somehow the old
>    exporter is taking over.  I would suggest you go over the mixed
>    installation FAQ on Worg:
>
>    <http://orgmode.org/worg/org-faq.html#mixed-install>
>
>
Thanks for this link.  I had not found it before.  As mentioned above, my
M-x org-version looks "Good".

"M-x list-load-path-shadows" returns "Wrong type argument: stringp, nil"

Is that to be expected, or am I misunderstanding how to use that function?


> I suspect (3) because converting headlines to list is an old exporter
> behaviour.  A mixed install can happen if you do not update the
> load-path early enough in your setup before you start customising org
> variables.  I think the FAQ entry above is not complete since this
> information is missing, I'll try to update it when I can find the time.
>

Looks like you've already done it :).


>
> Hope this helps,
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
> Thanks for your help.  Let me know if there are other things I can try.

Jerry

[-- Attachment #1.2: Type: text/html, Size: 4120 bytes --]

[-- Attachment #2: dotemacs-stripped-jerry --]
[-- Type: application/octet-stream, Size: 2115 bytes --]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;              Customization of Specific Packages                  ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; ====== org-mode customizations ======================
;;(add-to-list 'load-path "~/emacs/lisp/org-mode/lisp")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/org")
(add-to-list 'load-path "~/emacs/lisp/org-caldav/org-caldav-master")

;; === General Orgmode ===
(setq org-directory "/mnt/hgfs/jb4133/borg")
(setq org-todo-keywords
       '((sequence "TODO" "STARTED" "WAITING" "|" "DONE" "DELEGATED" "OBE")))

;; (require 'org-install) (deprecated since 7.9.3)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)
;; '(org-agenda-files (quote ("/mnt/hgfs/jb4133/borg/tasks.org"))))
(setq org-agenda-files (list "/mnt/hgfs/jb4133/borg/appointments.org"
                             "/mnt/hgfs/jb4133/borg/tasks.org"
			     "/mnt/hgfs/jb4133/borg/projects.org"
			     "/mnt/hgfs/jb4133/borg/birthdays_anniversaries.org"))
(setq org-agenda-start-on-weekday nil)

;; Export to Beamer -  Presentation
(require 'ox-latex)
(add-to-list 'org-latex-classes
             '("beamer"
               "\\documentclass\[presentation\]\{beamer\}"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))


;; ====== "auto" configuration customizations ======================
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
)
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

[-- Attachment #3: beamer_attempt1-20130312.tex --]
[-- Type: application/x-tex, Size: 1671 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-13  4:52   ` JBash
@ 2013-03-13 13:45     ` Suvayu Ali
  2013-03-13 15:01       ` Achim Gratz
  0 siblings, 1 reply; 14+ messages in thread
From: Suvayu Ali @ 2013-03-13 13:45 UTC (permalink / raw)
  To: Emacs Org mode

On Wed, Mar 13, 2013 at 12:52:49AM -0400, JBash wrote:
> On Tue, Mar 12, 2013 at 10:48 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com>wrote:
> >
> > 1. How do you check your org-version, M-x org-version RET?
> >
> >
> Yes.  I just updated org.  I'm now at:
> Org-mode version 8.0-pre (release_8.0-pre-54-gb5a853 @
> /user/share/emacs/site-lisp/org)

Are you "overwriting" the org files that come with your distribution of
emacs?  If you are, I think that is asking for trouble.  I would
recommend to install to a separate directory, maybe somewhere in your
home if you are the only user or somewhere in /opt/ if you want it to be
available to other users.

> > 2. Is the previously attached result with a minimal org setup?  If not,
> >    you should try that.
> 
>  I stripped my .emacs file to a very simple setip.  I've attached it.

Your setup looks ok other than my comments above.

> > 3. On first thought, you have a mixed installation and somehow the old
> >    exporter is taking over.  I would suggest you go over the mixed
> >    installation FAQ on Worg:
> >
> >    <http://orgmode.org/worg/org-faq.html#mixed-install>
> >
> >
> Thanks for this link.  I had not found it before.  As mentioned above, my
> M-x org-version looks "Good".
> 
> "M-x list-load-path-shadows" returns "Wrong type argument: stringp, nil"
> 
> Is that to be expected, or am I misunderstanding how to use that function?

Something is wrong with your emacs installation.  That should not
happen.  You should get an output like below.

/path/to/org-mode/lisp/org-version hides /path/to/emacs/share/emacs/24.3.50/lisp/org/org-version
/path/to/org-mode/lisp/ob-screen hides /path/to/emacs/share/emacs/24.3.50/lisp/org/ob-screen
/path/to/org-mode/lisp/ob-css hides /path/to/emacs/share/emacs/24.3.50/lisp/org/ob-css
...

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-13 13:45     ` Suvayu Ali
@ 2013-03-13 15:01       ` Achim Gratz
  2013-03-15 14:59         ` JBash
  0 siblings, 1 reply; 14+ messages in thread
From: Achim Gratz @ 2013-03-13 15:01 UTC (permalink / raw)
  To: emacs-orgmode

Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:
> > Yes.  I just updated org.  I'm now at:
> > Org-mode version 8.0-pre (release_8.0-pre-54-gb5a853 @
> > /user/share/emacs/site-lisp/org)
> 
> Are you "overwriting" the org files that come with your distribution of
> emacs?  If you are, I think that is asking for trouble.  I would
> recommend to install to a separate directory, maybe somewhere in your
> home if you are the only user or somewhere in /opt/ if you want it to be
> available to other users.

This is the canonical place for site-wide installation and it should work
correctly.  But looking at the other problems reported there is something else
wrong with that Emacs installation, badly so.  But not this.


Regards,
Achim.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-13 15:01       ` Achim Gratz
@ 2013-03-15 14:59         ` JBash
  2013-03-17 15:17           ` Suvayu Ali
  0 siblings, 1 reply; 14+ messages in thread
From: JBash @ 2013-03-15 14:59 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode Mode

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

On Wed, Mar 13, 2013 at 11:01 AM, Achim Gratz <Stromeko@nexgo.de> wrote:

> Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:
> > > Yes.  I just updated org.  I'm now at:
> > > Org-mode version 8.0-pre (release_8.0-pre-54-gb5a853 @
> > > /user/share/emacs/site-lisp/org)
> >
> > Are you "overwriting" the org files that come with your distribution of
> > emacs?  If you are, I think that is asking for trouble.  I would
> > recommend to install to a separate directory, maybe somewhere in your
> > home if you are the only user or somewhere in /opt/ if you want it to be
> > available to other users.
>
> This is the canonical place for site-wide installation and it should work
> correctly.  But looking at the other problems reported there is something
> else
> wrong with that Emacs installation, badly so.  But not this.
>
>
> Regards,
> Achim.
>
> Thanks for the help.

I've removed everything associated with emacs 24 and have installed emacs
23 (from the debian repository).  I now get a return from "M-x
list-load-path-shadows", which I've pasted below.  I don't see anything
that looks like it should be a problem there, since the latest org files
are all being used, if I'm interpreting that output correctly.  I also made
the following change to my .emacs file as you suggested, Suvayu (just to be
sure it wasn't causing a problem).

;; ====== org-mode customizations ======================
(add-to-list 'load-path "~/emacs/lisp/org-mode/lisp")
;;(add-to-list 'load-path "/usr/share/emacs/site-lisp/org")

Using the same input file, and the same .emacs file (with the path change
above), I'm still getting the same .tex file output that I sent a couple of
days ago, where I'm getting subsubsections where I should be getting frames.

I also tried Eric's presentation.org file (
http://orgmode.org/worg/exporters/beamer/presentation.org) that he
mentioned in another thread, with similar results (but in this case,
subsections where I should be getting frames, due to the Heading level
differences in the two files).

I've tried my input file on another machine as well, which I think (but
can't be sure) has never had emacs 24 (thinking the problem may be that
there are still some vestiges of the emacs 24 installation that I didn't
get cleared off from this machine), and I'm getting same results.

At this point I'm still stuck.  I'll keep poking at it, but if there are
any suggestions, I'd appreciate hearing them.  Since no one else is having
these issues, it seems to suggest something in my installation.

Thanks,
Jerry


==============================================================
M-x list-load-path-shadows output

/usr/share/emacs/23.4/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
~/emacs/lisp/org-caldav/org-caldav-master/url-dav hides
/usr/share/emacs/23.4/lisp/url/url-dav
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides
/usr/share/emacs/23.4/lisp/textmodes/flyspell
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides
/usr/share/emacs/23.4/lisp/textmodes/ispell
~/emacs/lisp/org-mode/lisp/org-timer hides
/usr/share/emacs/23.4/lisp/org/org-timer
~/emacs/lisp/org-mode/lisp/org-bibtex hides
/usr/share/emacs/23.4/lisp/org/org-bibtex
~/emacs/lisp/org-mode/lisp/org-feed hides
/usr/share/emacs/23.4/lisp/org/org-feed
~/emacs/lisp/org-mode/lisp/org-list hides
/usr/share/emacs/23.4/lisp/org/org-list
~/emacs/lisp/org-mode/lisp/org-plot hides
/usr/share/emacs/23.4/lisp/org/org-plot
~/emacs/lisp/org-mode/lisp/org-install hides
/usr/share/emacs/23.4/lisp/org/org-install
~/emacs/lisp/org-mode/lisp/org-mouse hides
/usr/share/emacs/23.4/lisp/org/org-mouse
~/emacs/lisp/org-mode/lisp/org-macs hides
/usr/share/emacs/23.4/lisp/org/org-macs
~/emacs/lisp/org-mode/lisp/org-datetree hides
/usr/share/emacs/23.4/lisp/org/org-datetree
~/emacs/lisp/org-mode/lisp/org-irc hides
/usr/share/emacs/23.4/lisp/org/org-irc
~/emacs/lisp/org-mode/lisp/org-crypt hides
/usr/share/emacs/23.4/lisp/org/org-crypt
~/emacs/lisp/org-mode/lisp/org-mhe hides
/usr/share/emacs/23.4/lisp/org/org-mhe
~/emacs/lisp/org-mode/lisp/org-mac-message hides
/usr/share/emacs/23.4/lisp/org/org-mac-message
~/emacs/lisp/org-mode/lisp/org-id hides
/usr/share/emacs/23.4/lisp/org/org-id
~/emacs/lisp/org-mode/lisp/org hides /usr/share/emacs/23.4/lisp/org/org
~/emacs/lisp/org-mode/lisp/org-agenda hides
/usr/share/emacs/23.4/lisp/org/org-agenda
~/emacs/lisp/org-mode/lisp/org-info hides
/usr/share/emacs/23.4/lisp/org/org-info
~/emacs/lisp/org-mode/lisp/org-rmail hides
/usr/share/emacs/23.4/lisp/org/org-rmail
~/emacs/lisp/org-mode/lisp/org-protocol hides
/usr/share/emacs/23.4/lisp/org/org-protocol
~/emacs/lisp/org-mode/lisp/org-footnote hides
/usr/share/emacs/23.4/lisp/org/org-footnote
~/emacs/lisp/org-mode/lisp/org-src hides
/usr/share/emacs/23.4/lisp/org/org-src
~/emacs/lisp/org-mode/lisp/org-gnus hides
/usr/share/emacs/23.4/lisp/org/org-gnus
~/emacs/lisp/org-mode/lisp/org-indent hides
/usr/share/emacs/23.4/lisp/org/org-indent
~/emacs/lisp/org-mode/lisp/org-inlinetask hides
/usr/share/emacs/23.4/lisp/org/org-inlinetask
~/emacs/lisp/org-mode/lisp/org-faces hides
/usr/share/emacs/23.4/lisp/org/org-faces
~/emacs/lisp/org-mode/lisp/org-habit hides
/usr/share/emacs/23.4/lisp/org/org-habit
~/emacs/lisp/org-mode/lisp/org-clock hides
/usr/share/emacs/23.4/lisp/org/org-clock
~/emacs/lisp/org-mode/lisp/org-bbdb hides
/usr/share/emacs/23.4/lisp/org/org-bbdb
~/emacs/lisp/org-mode/lisp/org-mobile hides
/usr/share/emacs/23.4/lisp/org/org-mobile
~/emacs/lisp/org-mode/lisp/org-archive hides
/usr/share/emacs/23.4/lisp/org/org-archive
~/emacs/lisp/org-mode/lisp/org-colview hides
/usr/share/emacs/23.4/lisp/org/org-colview
~/emacs/lisp/org-mode/lisp/org-table hides
/usr/share/emacs/23.4/lisp/org/org-table
~/emacs/lisp/org-mode/lisp/org-compat hides
/usr/share/emacs/23.4/lisp/org/org-compat
~/emacs/lisp/org-mode/lisp/org-attach hides
/usr/share/emacs/23.4/lisp/org/org-attach

38 Emacs Lisp load-path shadowings were found


>
>

[-- Attachment #2: Type: text/html, Size: 7683 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-12  6:57 Basic beamer export JBash
  2013-03-12  9:34 ` Glyn Millington
  2013-03-12 14:48 ` Suvayu Ali
@ 2013-03-17 13:08 ` Eric S Fraga
  2013-03-17 15:02   ` Suvayu Ali
  2 siblings, 1 reply; 14+ messages in thread
From: Eric S Fraga @ 2013-03-17 13:08 UTC (permalink / raw)
  To: JBash; +Cc: emacs-orgmode Mode

JBash <bashveank@gmail.com> writes:

> Hello,
>
> I am apparently missing something very basic in the setup for beamer
> export.  I have used http://orgmode.org/worg/exporters/beamer/ox-beamer.html as
> a guide and have:
>
> ;; Export to Beamer Presentation
> (require 'ox-latex)
> (add-to-list 'org-latex-classes
>              '("beamer"
>                "\\documentclass\[presentation\]\{beamer\}"
>                ("\\section\{%s\}" . "\\section*\{%s\}")
>                ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
>                ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

When I add my beamer entry (see below), I do not escape the curly
braces:

#+begin_src emacs-lisp
(add-to-list 'org-latex-classes
             '("beamer" "\\documentclass{beamer}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]"
               ("\\section{%s}" . "\\section*{%s}")
               ("\\subsection{%s}" . "\\subsection*{%s}")
               ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
               ("\\paragraph{%s}" . "\\paragraph*{%s}")
               ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
#+end_src

I have no idea whether that makes a difference or not but have you
looked to see what org-latex-classes is actually set to after your
customisation?

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_8.0-pre-107-g91a6ca

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-17 13:08 ` Eric S Fraga
@ 2013-03-17 15:02   ` Suvayu Ali
  0 siblings, 0 replies; 14+ messages in thread
From: Suvayu Ali @ 2013-03-17 15:02 UTC (permalink / raw)
  To: emacs-orgmode

On Sun, Mar 17, 2013 at 01:08:33PM +0000, Eric S Fraga wrote:
> 
> When I add my beamer entry (see below), I do not escape the curly
> braces:
> 
> #+begin_src emacs-lisp
> (add-to-list 'org-latex-classes
>              '("beamer" "\\documentclass{beamer}
> \[DEFAULT-PACKAGES]
> \[PACKAGES]
> \[EXTRA]"
>                ("\\section{%s}" . "\\section*{%s}")
>                ("\\subsection{%s}" . "\\subsection*{%s}")
>                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>                ("\\paragraph{%s}" . "\\paragraph*{%s}")
>                ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
> #+end_src

But I do escape them!
<https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L211>

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-15 14:59         ` JBash
@ 2013-03-17 15:17           ` Suvayu Ali
  2013-03-19 13:38             ` JBash
  0 siblings, 1 reply; 14+ messages in thread
From: Suvayu Ali @ 2013-03-17 15:17 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Mar 15, 2013 at 10:59:22AM -0400, JBash wrote:
> 
> M-x list-load-path-shadows output

[...]

> ~/emacs/lisp/org-mode/lisp/org-list hides
> /usr/share/emacs/23.4/lisp/org/org-list
> ~/emacs/lisp/org-mode/lisp/org-plot hides
> /usr/share/emacs/23.4/lisp/org/org-plot

[...]

Looks okay to me.  Are you sure your org directory is clean?  What does
`git status' and `git describe' say in your org directory?

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Basic beamer export
  2013-03-17 15:17           ` Suvayu Ali
@ 2013-03-19 13:38             ` JBash
  0 siblings, 0 replies; 14+ messages in thread
From: JBash @ 2013-03-19 13:38 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: emacs-orgmode Mode

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

On Sun, Mar 17, 2013 at 11:17 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com>wrote:

> On Fri, Mar 15, 2013 at 10:59:22AM -0400, JBash wrote:
> >
> > M-x list-load-path-shadows output
>
> [...]
>
> > ~/emacs/lisp/org-mode/lisp/org-list hides
> > /usr/share/emacs/23.4/lisp/org/org-list
> > ~/emacs/lisp/org-mode/lisp/org-plot hides
> > /usr/share/emacs/23.4/lisp/org/org-plot
>
> [...]
>
> Looks okay to me.  Are you sure your org directory is clean?  What does
> `git status' and `git describe' say in your org directory?
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>
(Sorry for the delay in responding.  I was called away from town on a
family matter over the weekend.  I VERY MUCH appreciate all the help)

Here is 'git status' and 'git describe'

jlb@debian64tu01:~/emacs/lisp/org-mode$ git status
# On branch master
nothing to commit (working directory clean)
jlb@debian64tu01:~/emacs/lisp/org-mode$ git describe
release_8.0-pre-54-gb5a8538


I've also tried to *not* escaping the curly braces as Eric suggested, but
that resulted in no change in my output.

I have essentially performed steps 1 and 3, as Feng shu suggested:

> Your can try like this:
> 1. Install emacs 24 deb package
> 2. remove org directory in /use/share/******/org
> 3. install org from org-mode.git

I have not yet tried removing the org directory in /use/share/******/org
(step 2).  I'll try that next...
But so that I understand, if the files are not hidden by that directory (as
shown by 'list-load-path-shadows'), I would also not expect any impact from
them (unless of course there is still something in my installation that is
fouled up).  Is that correct?

Thanks again,
Jerry

[-- Attachment #2: Type: text/html, Size: 3386 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-03-19 13:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-12  6:57 Basic beamer export JBash
2013-03-12  9:34 ` Glyn Millington
2013-03-12 10:01   ` Glyn Millington
2013-03-12 10:21   ` JBash
2013-03-12 10:27     ` JBash
2013-03-12 14:48 ` Suvayu Ali
2013-03-13  4:52   ` JBash
2013-03-13 13:45     ` Suvayu Ali
2013-03-13 15:01       ` Achim Gratz
2013-03-15 14:59         ` JBash
2013-03-17 15:17           ` Suvayu Ali
2013-03-19 13:38             ` JBash
2013-03-17 13:08 ` Eric S Fraga
2013-03-17 15:02   ` Suvayu Ali

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).