From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: change the latex header per subtree Date: Thu, 15 Nov 2012 19:37:26 +0100 Message-ID: <87d2ze1zmh.fsf@Rainer.invalid> References: <87ip9b9es1.fsf@med.uni-goettingen.de> <87obj01dhq.fsf@gmail.com> <87a9ukymd1.fsf@Rainer.invalid> <874nkr6d2w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ4Jp-0002AZ-Cb for emacs-orgmode@gnu.org; Thu, 15 Nov 2012 13:37:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZ4Jm-0003f1-AW for emacs-orgmode@gnu.org; Thu, 15 Nov 2012 13:37:41 -0500 Received: from plane.gmane.org ([80.91.229.3]:40762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZ4Jm-0003ex-3e for emacs-orgmode@gnu.org; Thu, 15 Nov 2012 13:37:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TZ4Jt-0000r8-6X for emacs-orgmode@gnu.org; Thu, 15 Nov 2012 19:37:45 +0100 Received: from pd9eb414e.dip.t-dialin.net ([217.235.65.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Nov 2012 19:37:45 +0100 Received: from Stromeko by pd9eb414e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Nov 2012 19:37:45 +0100 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: emacs-orgmode@gnu.org 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 \usepackage stuff around. > > So what? You define your latex classes once in your configuration > variable, and you're all set. That doesn't sound that bad. I'm supposed to do this via configury, which is _very_ clumsy in dealing with this perticular issue. >> If it was possible to give an argument to [PACKAGES] (default, header, >> ), then there would be no need for [NO-PACKAGES] and >> [DEFAULT-PACKAGES] and one yould use several sets of package >> definitions in multiple class definitions. It would be especially neat >> if there was a pendant to LATEX_HEADER that would allow to specify >> additional package collections on the fly. > > So, you may to make it easier by providing an even more complex > machinery? ;) IMO, the current system is good enough for the job, even > if the initial step introduces a lot of duplicate lines. Getting rid of special cased machinery to provide a more general one counts as simplification in my book. > Also, if you want to add package collections, you may include > a header-only file in your class, I guess. I don't get what you are telling me here, sorry. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs