emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] source block exported with tabs replacing spaces?


From: Alan Schmitt
Subject: [O] source block exported with tabs replacing spaces?
Date: Wed, 10 Jun 2015 14:01:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

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?

Thanks,

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Weekly CO₂ average (2015-05-30, Mauna Loa Observatory): 403.41 ppm

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]