Re: [O] Export to LaTeX and Beamer

2013-07-17 Thread Suvayu Ali
On Wed, Jul 17, 2013 at 10:47:12PM +0200, Julien Cubizolles wrote: > Hi Ali (am I right in assuming that's your first nameĀ ?) > > Suvayu Ali writes: > > > Here is an older version of the function: > > > > (defun my-org-export-remove-tagged-headlines (tag) > >(save-excursion > > (goto-c

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 11:40:34AM +0200, Suvayu Ali wrote: > On Mon, Jul 15, 2013 at 11:15:16AM +0200, Julien Cubizolles wrote: > > (defun jc-ignore-headline (contents backend info) > > "Ignore headlines with tag `ignoreheading'." > > (if (eq backend 'latex) (message contents) > > contents

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 11:15:16AM +0200, Julien Cubizolles wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.emacs.orgmode as well. > > Suvayu Ali writes: > > > > There is none, but you can use filters to achieve this. Take a look > > here: > >

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali writes: > There is none, but you can use filters to achieve this. Take a look > here: > > Do note, as the comment says, I have not tested it extensively. I tried it (evaled the following) (defun jc-ignore-head

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Suvayu Ali
On Mon, Jul 15, 2013 at 10:21:07AM +0200, Julien Cubizolles wrote: > Suvayu Ali writes: > > > > Sounds a bit clumsy; are you aware of subtree export[1]? However I'm > > not sure if you can export the same headline with different backends > > with subtree export. > > Subtree export won't do it:

Re: [O] Export to LaTeX and Beamer

2013-07-15 Thread Julien Cubizolles
Suvayu Ali writes: > Sounds a bit clumsy; are you aware of subtree export[1]? However I'm > not sure if you can export the same headline with different backends > with subtree export. Subtree export won't do it: it's the whole org-file I need to export. It's for a course I'm giving: I need the

Re: [O] Export to LaTeX and Beamer

2013-07-13 Thread Suvayu Ali
Hello Julien, On Thu, Jul 11, 2013 at 11:41:45PM +0200, Julien Cubizolles wrote: > I need to export different parts of an org file with different LaTeX > classes, one of which is a beamer style. > > I've come up with the following solution: manually switching the > LATEX_CLASS for each export, an

[O] Export to LaTeX and Beamer

2013-07-11 Thread Julien Cubizolles
I need to export different parts of an org file with different LaTeX classes, one of which is a beamer style. I've come up with the following solution: manually switching the LATEX_CLASS for each export, and using SELECT_TAGS to choose which headings to export. For the following file * First sect