emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* source block exported with tabs replacing spaces?
@ 2015-06-10 12:01 Alan Schmitt
  2015-06-10 12:43 ` Rainer M Krug
  2015-06-10 14:36 ` Charles C. Berry
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Schmitt @ 2015-06-10 12:01 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-10 19:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-10 12:01 source block exported with tabs replacing spaces? Alan Schmitt
2015-06-10 12:43 ` Rainer M Krug
2015-06-10 19:48   ` Alan Schmitt
2015-06-10 19:55     ` Rainer M Krug
2015-06-10 14:36 ` Charles C. Berry
2015-06-10 19:55   ` Alan Schmitt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).