Am 30.05.2013 15:22, schrieb Nicolas Goaziou:
Hello,
James Harkins <jamshar...@gmail.com> writes:
I have (where <TAB> is a tab character):
#+BEGIN_SRC {}
// SuperCollider code here
(
r = p.chan.play(Pspawner { |sp|
<TAB>var num, subdiv,
...
});
)
#+END_SRC
The exported .tex file contains:
\begin{lstlisting}
// SuperCollider code here
(
r = p.chan.play(Pspawner { |sp|
<spc><spc><spc><spc><spc><spc><spc><spc>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.
Try to preserve indentation:
#+begin_src {} -i
...
#+end_src
Regards,
Hi Nicolas,
as indentation might be provided by TAB and whitespace chars likewise, what
about following setting of `indent-tabs-mode'?
Best,
Andreas