From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: 'listings' package used but not required in LaTeX export Date: Sun, 09 Jun 2013 01:16:02 +0200 Message-ID: <87a9n0w5vx.fsf@pank.eu> References: <8761xoqtjf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlSMr-000454-60 for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 19:16:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlSMq-00061z-DJ for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 19:16:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:59635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlSMq-00061s-6M for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 19:16:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlSMo-00055J-Ss for emacs-orgmode@gnu.org; Sun, 09 Jun 2013 01:16:14 +0200 Received: from 87-57-37-160-dynamic.dk.customer.tdc.net ([87.57.37.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 01:16:14 +0200 Received: from rasmus by 87-57-37-160-dynamic.dk.customer.tdc.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 01:16:14 +0200 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 Thorsten Jolitz writes: > but there is no > > ,---------------------- > | \usepackage{listings} > `---------------------- This is a feature to my understanding. Several packagess can format, and I for instance prefer pygments if I need code formatting. You could add listings to your packages list, either org-latex-packages-alist or even org-latex-default-packages-alist, if you really want to. You could probably also write a clever filter to load a package if it is missing. –Rasmus -- When in doubt, do it!