Alan Schmitt writes: > Hello, > > I'm working on a presentation and I noticed that some of my source > blocks have spaces exported as tabs. Here is an example: > > #+begin_src js :wrap center :results output :exports both > console.log((![]+[])[+!+[]]+ > (![]+[])[!+[]+!+[]]+ > (![]+[])[+!+[]]+ > ([][[]]+[])[+!+[]]) > #+end_src > > get exported to the following latex code > \begin{minted}[frame=lines,fontsize=\scriptsize]{js} > console.log((![]+[])[+!+[]]+ > (![]+[])[!+[]+!+[]]+ > (![]+[])[+!+[]]+ > ([][[]]+[])[+!+[]]) > \end{minted} > > (Note the tabs instead of the 8 spaces). I have `indent-tabs-mode' set > to nil in both the file and the exporter setting (I'm using the > asynchronous exporter with a specified file). > > How can I tell org to preserve the spaces? This might not be org, but minted in LaTex which is formating the code blocks. I would look there if there is an option to disable the replacement of tabs with strings. Cheers, Rainer > > Thanks, -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982