From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Can't get listings to work Date: Fri, 25 Oct 2013 16:55:31 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZu2l-0001XV-K5 for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 22:56:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZu2e-0000o1-Lv for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 22:56:03 -0400 Received: from oproxy13-pub.mail.unifiedlayer.com ([69.89.16.30]:42697) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1VZu2e-0000np-E6 for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 22:55:56 -0400 Received: from [98.155.255.145] (port=49332 helo=poto.local) by box472.bluehost.com with esmtpsa (TLSv1:CAMELLIA128-SHA:128) (Exim 4.80) (envelope-from ) id 1VZu2H-0000zP-GS for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 20:55:33 -0600 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 Aloha all, I've set org-latex-listings-options so: org-latex-listings-options is a variable defined in `ox-latex.el'. Its value is (("frame" "lines") ("basicstyle" "\footnotesize") ("numbers" "left")) But I'm getting this in the LaTeX output: \lstset{language=Lisp,label=load-age-relation-data,numbers=none} I'm expecting: \lstset{language=Lisp,label=load-age-relation-data,numbers=none,frame=lines,basicstyle=\footnotesize,numbers=left} Perhaps I'm setting org-latex-listings-options wrong? I'm trying to use file-local variables: # Local Variables: # eval: (require 'ox-latex) # eval: (setq org-export-async-init-file (expand-file-name "init-plos.el")) # org-export-in-background: t # org-export-async-debug: t # org-fontify-quote-and-verse-blocks: t # org-entities-user: nil # org-latex-listings: 'listings # eval: (setq org-latex-listings-options # '(("frame" "lines") # ("basicstyle" "\footnotesize") # ("numbers" "left"))) ... # End: Also, when I tried to add the following pair to the options, the \t was interpreted as a TAB. ("numberstyle" "\tiny") I tried "\\tiny", but that didn't work, either. Any help much appreciated. All the best, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com