[O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread James Harkins
Just ran into something that I'm really not sure how to handle. I thought I could handle it with export filters, but actually it involves babel, and that makes it more involved than I initially suspected. I'm working on a large project involving five beamer presentations (one per day), and

Re: [O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread Marcin Borkowski
Dnia 2014-01-26, o godz. 23:44:48 James Harkins jamshar...@gmail.com napisaƂ(a): Just ran into something that I'm really not sure how to handle. I thought I could handle it with export filters, but actually it involves babel, and that makes it more involved than I initially suspected. I'm

Re: [O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread Eric Schulte
Hi James, Maybe you could do something like the following... #+name: export-hdr-arg-backend-dep #+begin_src emacs-lisp (message do stuff) #+end_src #+call: export-hdr-arg-backend-dep() :exports (if (eq org-export-current-backend 'beamer) none results) Best, James Harkins jamshar...@gmail.com

Re: [O] Conditional source-block execution based on LaTeX document class?

2014-01-26 Thread James Harkins
On Monday, January 27, 2014 1:35:13 AM HKT, Eric Schulte wrote: Hi James, Maybe you could do something like the following... #+name: export-hdr-arg-backend-dep #+begin_src emacs-lisp (message do stuff) #+end_src #+call: export-hdr-arg-backend-dep() :exports (if (eq org-export-current-backend