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,

-- 
Nicolas Goaziou

Reply via email to