From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: BEGIN_LATEX_HEADER [cont] Date: Fri, 20 Jun 2014 13:52:26 +0200 Message-ID: References: <87wqccbgvj.fsf@gmail.com> <864mzghvcl.fsf@somewhere.org> <87ppi4t15s.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b47266ac423eb04fc432101 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxxNd-0002rA-7p for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 07:53:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxxNV-00055P-O4 for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 07:53:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:54945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxxNV-00055F-H3 for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 07:53:09 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WxxNS-0003RS-4d for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 13:53:06 +0200 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken Mankoff Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Sebastien Vauban , Nicolas Goaziou --047d7b47266ac423eb04fc432101 Content-Type: text/plain; charset=UTF-8 2014-06-20 13:17 GMT+02:00 Ken Mankoff : > 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. > I for long have defined my own LaTeX class (fp.cls file). It is quite easy to handle options in there. Now I use it in place of article or beamer etc. \documentclass[slides]{fp} for a beamer org document \documentclass[exam]{fp} for a pdf exam document and so on. I don't think that it is very effective to store a huge amount of TeX code in org documents. You end up in cuting/pasting these headers lines in each line. My $0.02 Fabrice --047d7b47266ac423eb04fc432101 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2014-06-20 13:17 GMT+02:00 Ken Mankoff <mankoff@gmail.com>:
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.
I for long have defined my own LaTeX class (fp.cls file). It i= s quite easy to handle options in there.
Now I use it in place of= article or beamer etc.

\documentclass[slides]{fp}

for= a beamer org document

\documentclass[exam]{fp}

for a pdf exam document


and so on.

I don't think that i= t is very effective to store a huge amount of TeX code in org documents.=C2= =A0
You end up in cuting/pasting these headers lines in each line= .


My $0.02

Fabric= e
--047d7b47266ac423eb04fc432101--