Hello,

Ken Mankoff <mank...@gmail.com> writes:

> On 2014-06-20 at 04:50, Nicolas Goaziou wrote:
>> I suggest to use existing solutions instead: configure
>> `org-latex-classes'.
>
> I'm all for using existing solutions, but cannot see how I might use
> this to easily customize export differently for different documents when
> large amounts of LaTeX preamble code is being used.

It's quite simple. You add your large amount of LaTeX preamble code in
a new class, e.g., "my-class", in `org-latex-classes'. Then, in all
documents needing this preamble code, you just add:

 #+latex_class: my-class

Rinse and repeat for each document type.


Regards,

-- 
Nicolas Goaziou


Reply via email to