From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Stephen J. Barr" Subject: tabs inserted in code blocks Date: Tue, 11 Mar 2014 13:41:39 -0700 Message-ID: <874n34xybg.fsf@mezarim.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNTUl-0002lB-5e for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 16:41:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNTUf-00022M-1Z for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 16:41:51 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:54973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNTUe-000221-UA for emacs-orgmode@gnu.org; Tue, 11 Mar 2014 16:41:44 -0400 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 55D6B2149B for ; Tue, 11 Mar 2014 16:41:40 -0400 (EDT) Received: from mezarim.home.planetbarr.com (unknown [50.46.156.116]) by mail.messagingengine.com (Postfix) with ESMTPA id D72B068026C for ; Tue, 11 Mar 2014 16:41:39 -0400 (EDT) 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 Hello, I have the following code block in an org-mode file: -------------------------------------------------------------------------------- #+CAPTION: Matlab Dynamic Programming Solution #+LABEL: code:matlab-outer-loop-reference #+BEGIN_SRC octave Normal_BuildT = realmax * ones(T, i_max, j_max); for i=(1:i_max) for j=(1:j_max) Normal_BuildT(T,i,j) = compute_cell_final(i,j); end end for t=((T-1):-1:1) for i=(1:i_max) for j=(1:j_max) Normal_BuildT(t,i,j) = compute_cell(t,i,j, Normal_BuildT(t+1,:,:)); end end end #+END_SRC -------------------------------------------------------------------------------- I am exporting this to LaTeX, which gives me the following code. See that there are tab characters inserted before the lines with Normal_BuildT. This is causing minted to render with these strange ^^I characters. -------------------------------------------------------------------------------- \begin{listing}[H] \begin{minted}[]{octave} Normal_BuildT = realmax * ones(T, i_max, j_max); for i=(1:i_max) for j=(1:j_max) Normal_BuildT(T,i,j) = compute_cell_final(i,j); end end for t=((T-1):-1:1) for i=(1:i_max) for j=(1:j_max) Normal_BuildT(t,i,j) = compute_cell(t,i,j, Normal_BuildT(t+1,:,:)); end end end \end{minted} \caption{\label{code:matlab-outer-loop-reference}Matlab Dynamic Programming Solution} \end{listing} -------------------------------------------------------------------------------- How do I disable this behavior? Thanks, Stephen -- Sent with my mu4e