From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: LaTeX preamble in a custom exporter Date: Sun, 12 Apr 2015 01:35:56 +0200 Message-ID: <87lhhyfdb7.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh4wZ-0007zq-R4 for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 19:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh4wW-0002NE-Lh for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 19:36:07 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:43302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh4wW-0002Mm-F8 for emacs-orgmode@gnu.org; Sat, 11 Apr 2015 19:36:04 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 3F0AE5C221 for ; Sun, 12 Apr 2015 01:36:02 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1KGA+q8Cenpj for ; Sun, 12 Apr 2015 01:36:02 +0200 (CEST) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 16DE25C217 for ; Sun, 12 Apr 2015 01:36:01 +0200 (CEST) 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: Org-Mode mailing list Hi list, I'm writing an exporter derived from the LaTeX one. I need to include a special package in the preamble. Do I have to override org-latex-template (which I wouldn't like to do)? I know about org-latex-default-packages-alist and org-latex-packages-alist =E2=80=93 A= FAIU, I could temporarily (let) them to a value including my package, but this seems not very elegant. Any other suggestions? TIA, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University