emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-e-beamer missing from org-export-dispatch ui
@ 2012-10-09 12:39 Suvayu Ali
  2012-10-09 20:24 ` bernard
  2012-10-09 20:24 ` Nicolas Goaziou
  0 siblings, 2 replies; 5+ messages in thread
From: Suvayu Ali @ 2012-10-09 12:39 UTC (permalink / raw)
  To: Emacs Org mode

Hi Nicolas and others,

The option for beamer export seems to have gone missing from the
org-export-dispatch ui.  This is how I setup org-e-beamer export in a
minimal emacs instance.

  ;; load org-export and its backends
  (load-library "org-export")
  (load-library "org-e-latex")
  (load-library "org-e-beamer")
  
  (setq org-e-latex-pdf-process		; for experimental org-export
        '("xelatex -interaction nonstopmode -output-directory %o %f"
  	"xelatex -interaction nonstopmode -output-directory %o %f"
  	"xelatex -interaction nonstopmode -output-directory %o %f"))
  
  ;; beamer export with the new exporter
  (add-to-list 'org-e-latex-classes
               '("beamer"
                 "\\documentclass\[presentation\]\{beamer\}"
                 ("\\section\{%s\}" . "\\section*\{%s\}")
                 ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
                 ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: org-e-beamer missing from org-export-dispatch ui
  2012-10-09 12:39 org-e-beamer missing from org-export-dispatch ui Suvayu Ali
@ 2012-10-09 20:24 ` bernard
  2012-10-10 10:22   ` Suvayu Ali
  2012-10-09 20:24 ` Nicolas Goaziou
  1 sibling, 1 reply; 5+ messages in thread
From: bernard @ 2012-10-09 20:24 UTC (permalink / raw)
  To: emacs-orgmode

Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:

> 
> Hi Nicolas and others,
> 
> The option for beamer export seems to have gone missing from the
> org-export-dispatch ui.  This is how I setup org-e-beamer export in a
> minimal emacs instance.
> 
>   (setq org-e-latex-pdf-process		; for experimental org-export
>         '("xelatex -interaction nonstopmode -output-directory %o %f"
>   	"xelatex -interaction nonstopmode -output-directory %o %f"
>   	"xelatex -interaction nonstopmode -output-directory %o %f"))
> 

Thx for sharing.

I have
(setq org-e-latex-pdf-process 
  '("texi2dvi --pdf --clean --verbose --batch %f"))
grabbed from 
https://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg01005.html

Could you (or someone else) explain the differences and tradeoffs involved
between both setups ?

Best Regards,

Bernard

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

* Re: org-e-beamer missing from org-export-dispatch ui
  2012-10-09 12:39 org-e-beamer missing from org-export-dispatch ui Suvayu Ali
  2012-10-09 20:24 ` bernard
@ 2012-10-09 20:24 ` Nicolas Goaziou
  2012-10-10 10:32   ` Suvayu Ali
  1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2012-10-09 20:24 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: Emacs Org mode

Hello,

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> The option for beamer export seems to have gone missing from the
> org-export-dispatch ui.  This is how I setup org-e-beamer export in a
> minimal emacs instance.

Once required, Beamer related export commands should appear in the same
menu as latex ("l" key).

>   ;; load org-export and its backends
>   (load-library "org-export")
>   (load-library "org-e-latex")
>   (load-library "org-e-beamer")

Why don't you simply (require 'org-e-beamer) instead?


Regards,

-- 
Nicolas Goaziou

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

* Re: org-e-beamer missing from org-export-dispatch ui
  2012-10-09 20:24 ` bernard
@ 2012-10-10 10:22   ` Suvayu Ali
  0 siblings, 0 replies; 5+ messages in thread
From: Suvayu Ali @ 2012-10-10 10:22 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Oct 09, 2012 at 08:24:31PM +0000, bernard wrote:
> Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:
> 
> > 
> > Hi Nicolas and others,
> > 
> > The option for beamer export seems to have gone missing from the
> > org-export-dispatch ui.  This is how I setup org-e-beamer export in a
> > minimal emacs instance.
> > 
> >   (setq org-e-latex-pdf-process		; for experimental org-export
> >         '("xelatex -interaction nonstopmode -output-directory %o %f"
> >   	"xelatex -interaction nonstopmode -output-directory %o %f"
> >   	"xelatex -interaction nonstopmode -output-directory %o %f"))
> > 
> 
> Thx for sharing.
> 
> I have
> (setq org-e-latex-pdf-process 
>   '("texi2dvi --pdf --clean --verbose --batch %f"))
> grabbed from 
> https://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg01005.html
> 
> Could you (or someone else) explain the differences and tradeoffs involved
> between both setups ?
> 

Well texi2dvi is very clever and run makeindex or bibtex as needed and
does that quite well until you encounter some of the bugs.  In my case I
encountered the infamous regex range in non-standard locales bug.

In conclusion, if texi2dvi works for you, using it is a good option.

HTH

-- 
Suvayu

Open source is the future. It sets us free.

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

* Re: org-e-beamer missing from org-export-dispatch ui
  2012-10-09 20:24 ` Nicolas Goaziou
@ 2012-10-10 10:32   ` Suvayu Ali
  0 siblings, 0 replies; 5+ messages in thread
From: Suvayu Ali @ 2012-10-10 10:32 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Emacs Org mode

Hi Nicolas,

On Tue, Oct 09, 2012 at 10:24:56PM +0200, Nicolas Goaziou wrote:
> Hello,
> 
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> 
> > The option for beamer export seems to have gone missing from the
> > org-export-dispatch ui.  This is how I setup org-e-beamer export in a
> > minimal emacs instance.
> 
> Once required, Beamer related export commands should appear in the same
> menu as latex ("l" key).
> 
> >   ;; load org-export and its backends
> >   (load-library "org-export")
> >   (load-library "org-e-latex")
> >   (load-library "org-e-beamer")
> 
> Why don't you simply (require 'org-e-beamer) instead?
> 

I do not require libraries because then sometimes when I'm playing
around and do something like unload-feature, Emacs refuses to proceed
because my config file requires them.  I found load-library to be a
convenient work around.

Now about the issue I was having, after a recent pull the issue seems to
have disappeared.  Now it works with both require and load-library.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

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

end of thread, other threads:[~2012-10-10 10:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-09 12:39 org-e-beamer missing from org-export-dispatch ui Suvayu Ali
2012-10-09 20:24 ` bernard
2012-10-10 10:22   ` Suvayu Ali
2012-10-09 20:24 ` Nicolas Goaziou
2012-10-10 10:32   ` 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).