From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: source block exported with tabs replacing spaces? Date: Wed, 10 Jun 2015 14:43:41 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2fMM-0002wb-T3 for emacs-orgmode@gnu.org; Wed, 10 Jun 2015 08:44:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2fMH-0007ue-DO for emacs-orgmode@gnu.org; Wed, 10 Jun 2015 08:43:58 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:34307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2fMH-0007uS-7e for emacs-orgmode@gnu.org; Wed, 10 Jun 2015 08:43:53 -0400 Received: by wgv5 with SMTP id 5so34850878wgv.1 for ; Wed, 10 Jun 2015 05:43:51 -0700 (PDT) In-Reply-To: (Alan Schmitt's message of "Wed, 10 Jun 2015 14:01:53 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alan Schmitt Cc: emacs-orgmode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=3Dlines,fontsize=3D\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, =2D-=20 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJVeDEDAAoJENvXNx4PUvmCcskH/iPAABf06Z/m5idwQPH+YW9B 47oIql6xWq4OdT2yrJrRjka0RjHhKQJtOYIX2FvBuqABIU46ZuRwhhkwcBRSkRoE L0nziLyEidWl9m9HQYItFKLOVs28ZaE5y+bpZjZutDW284s1IPkH+Dw9kUVxMWil gxSsd6JZlc9u49fRQytghy/Iuv5JmNx9/zstYEUBviYVMo0SkDAKbbyNPN5wsGqu giVYE7jYR9+mwt57iEi6O/drqSAaDk1IdPacvOdJrJLoJjJWgeVz1dx5kOY82ElW uecxh7da0gfaT6KFJ3MIlfdygV6lAjFCAoLbR7zMV7PA/Q8I+tR9o3BGwYr7zrM= =Vlu1 -----END PGP SIGNATURE----- --=-=-=--