From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: How to prevent tabs from turning into spaces in source-code export? Date: Thu, 30 May 2013 19:19:01 +0800 Message-ID: Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui0st-0004oW-Vd for Emacs-orgmode@gnu.org; Thu, 30 May 2013 07:19:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui0so-0006Lt-VA for Emacs-orgmode@gnu.org; Thu, 30 May 2013 07:19:07 -0400 Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:47033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui0so-0006LS-QA for Emacs-orgmode@gnu.org; Thu, 30 May 2013 07:19:02 -0400 Received: by mail-ob0-f179.google.com with SMTP id xk17so246209obc.10 for ; Thu, 30 May 2013 04:19:01 -0700 (PDT) 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" I have (where is a tab character): #+BEGIN_SRC {} // SuperCollider code here ( r = p.chan.play(Pspawner { |sp| var num, subdiv, ... }); ) #+END_SRC The exported .tex file contains: \begin{lstlisting} // SuperCollider code here ( r = p.chan.play(Pspawner { |sp| var num, subdiv, ... }); ) \end{lstlisting} I do not want this conversion to happen. If it doesn't happen, then I can use listings' tabsize property to control the tab width. Failing that, how do I tell org to use fewer than 8 spaces? The tabs are much much too wide in the resulting pdf. hjh