[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Preservation of white space in babel blocks, exporting to PDF
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Preservation of white space in babel blocks, exporting to PDF |
Date: |
Sun, 02 Feb 2014 09:45:21 +0100 |
Hello,
John Hendy <address@hidden> writes:
> Thus, I take it that the default org setting is non-nil?
Actually this is an Emacs variable, and it is indeed non-nil.
> I am a bit frustrated by trying to be as clear as I could about the
> situation with reproducible examples, and then finding out the behavior was
> apparently obvious, but due to a variable I didn't know existed...
The behaviour is not obvious.
> I'll try a fresh pull tomorrow as well as looking at indent-tabs-mode.
This should hopefully work. It should also work if you don't change this
variable but set `org-src-preserve-indentation' to a non-nil value,
since I fixed that.
Note that you can set this variable on a per-block basis with "-i" flag:
#+BEGIN_SRC python -i
...
#+END_SRC
Regards,
--
Nicolas Goaziou
- Re: [O] Preservation of white space in babel blocks, exporting to PDF, Nicolas Goaziou, 2014/02/01
- Re: [O] Preservation of white space in babel blocks, exporting to PDF, John Hendy, 2014/02/01
- Re: [O] Preservation of white space in babel blocks, exporting to PDF, Nicolas Goaziou, 2014/02/01
- Re: [O] Preservation of white space in babel blocks, exporting to PDF, Nicolas Goaziou, 2014/02/01
- Re: [O] Preservation of white space in babel blocks, exporting to PDF, John Hendy, 2014/02/01
- Re: [O] Preservation of white space in babel blocks, exporting to PDF,
Nicolas Goaziou <=
- Re: [O] Preservation of white space in babel blocks, exporting to PDF, John Hendy, 2014/02/02