Re: [O] org-e-beamer missing from org-export-dispatch ui

2012-10-10 Thread Suvayu Ali
On Tue, Oct 09, 2012 at 08:24:31PM +, 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.



Re: [O] org-e-beamer missing from org-export-dispatch ui

2012-10-10 Thread Suvayu Ali
Hi Nicolas,

On Tue, Oct 09, 2012 at 10:24:56PM +0200, Nicolas Goaziou wrote:
 Hello,
 
 Suvayu Ali fatkasuvayu+li...@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.



[O] org-e-beamer missing from org-export-dispatch ui

2012-10-09 Thread Suvayu Ali
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.



Re: [O] org-e-beamer missing from org-export-dispatch ui

2012-10-09 Thread bernard
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





Re: [O] org-e-beamer missing from org-export-dispatch ui

2012-10-09 Thread Nicolas Goaziou
Hello,

Suvayu Ali fatkasuvayu+li...@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