Re: [O] change the latex header per subtree

2012-11-16 Thread Achim Gratz
Nicolas Goaziou writes: >> I don't get what you are telling me here, sorry. > > You can have "\input{my-special-headers-A.tex}" somewhere in your class, > where "my-special-headers-A.tex" file contains some package collection. Actually I'd write my own style file and give it appropriate arguments

Re: [O] change the latex header per subtree

2012-11-15 Thread Nicolas Goaziou
Achim Gratz writes: > Getting rid of special cased machinery to provide a more general one > counts as simplification in my book. Unless I'm mistaken, current set-up can generate any preamble. Then, how could it be special cased and how could another system be more general? I agree that current

Re: [O] change the latex header per subtree

2012-11-15 Thread Achim Gratz
Nicolas Goaziou writes: > Achim Gratz writes: > >> Speaking of which, couldn't this be made easier? There's only one >> org-export-latex-packages-alist and if you're trying to use very >> different LaTeX classes you'll end up specifying [NO-DEFAULT-PACKAGES] >> and then copying a lot of \usepacka

Re: [O] change the latex header per subtree

2012-11-15 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> I'd like to change the LaTeX header per subtree. Is that possible? >> >> Use case: I have two documents that I want to export from a single >> orgmode file. Each in its own subtree. One of them should use the >> endf

Re: [O] change the latex header per subtree

2012-11-14 Thread Nicolas Goaziou
Achim Gratz writes: > Speaking of which, couldn't this be made easier? There's only one > org-export-latex-packages-alist and if you're trying to use very > different LaTeX classes you'll end up specifying [NO-DEFAULT-PACKAGES] > and then copying a lot of \usepackage stuff around. So what? You

Re: [O] change the latex header per subtree

2012-11-14 Thread Achim Gratz
Nicolas Goaziou writes: > Define two LaTeX classes, one with "endfloat" package and one without. > Then use :EXPORT_LATEX_CLASS: node property. Speaking of which, couldn't this be made easier? There's only one org-export-latex-packages-alist and if you're trying to use very different LaTeX classe

Re: [O] change the latex header per subtree

2012-11-14 Thread Nicolas Goaziou
Hello, Andreas Leha writes: > I'd like to change the LaTeX header per subtree. Is that possible? > > Use case: I have two documents that I want to export from a single > orgmode file. Each in its own subtree. One of them should use the > endfloat package, the other should not. Define two La

Re: [O] change the latex header per subtree

2012-11-12 Thread Suvayu Ali
On Mon, Nov 12, 2012 at 01:39:10PM +0100, Andreas Leha wrote: > Hi all, > > I'd like to change the LaTeX header per subtree. Is that possible? > > Use case: I have two documents that I want to export from a single > orgmode file. Each in its own subtree. One of them should use the > endfloat

[O] change the latex header per subtree

2012-11-12 Thread Andreas Leha
Hi all, I'd like to change the LaTeX header per subtree. Is that possible? Use case: I have two documents that I want to export from a single orgmode file. Each in its own subtree. One of them should use the endfloat package, the other should not. Like this: , | * Document 1 | #+LATEX_HE