On Sun, Feb 2, 2014 at 2:45 AM, Nicolas Goaziou wrote:
> Hello,
>
> John Hendy 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.
Gotcha. So if it interferes with org-src-preserve-indentation, that's
good to kno
Hello,
John Hendy 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
On Feb 1, 2014 2:26 PM, "Nicolas Goaziou" wrote:
>
> Hello,
>
> John Hendy writes:
>
> > On Sat, Feb 1, 2014 at 2:28 AM, Nicolas Goaziou
wrote:
>
> >> There is no discrepancy. You indent your code with tabs and these tabs
> >> appear in the TeX file, but Beamer cannot handle them properly. The
s
Completing myself,
Nicolas Goaziou writes:
> Babel happens to indent source blocks when re-inserting them after
> evaluation. So you get tabs even if you didn't explicitly write them in
> the first place.
... but this shouldn't happen if `org-src-preserve-indentation' is
non-nil. I fixed that i
Hello,
John Hendy writes:
> On Sat, Feb 1, 2014 at 2:28 AM, Nicolas Goaziou wrote:
>> There is no discrepancy. You indent your code with tabs and these tabs
>> appear in the TeX file, but Beamer cannot handle them properly. The same
>> problem will arise in an example block.
>
> From whence co
Hello,
John Hendy writes:
> I'd still like to understand the src vs. example block discrepancy if
> possible. It's really odd, especially since Nicholas isn't able to
> reproduce even with the same minimal config.
There is no discrepancy. You indent your code with tabs and these tabs
appear in
On Jan 31, 2014 5:26 PM, "Andreas Leha"
wrote:
>
> Hi,
>
> John Hendy writes:
>
> > On Fri, Jan 31, 2014 at 5:04 PM, Nicolas Goaziou
wrote:
> >> John Hendy writes:
> >>
> I cannot reproduce the problem.
> >>>
> >>> In the .tex file or in the .pdf?
> >>
> >> Both.
> >
> > Weird.
> >
> >>
>
Hi,
John Hendy writes:
> On Fri, Jan 31, 2014 at 5:04 PM, Nicolas Goaziou wrote:
>> John Hendy writes:
>>
I cannot reproduce the problem.
>>>
>>> In the .tex file or in the .pdf?
>>
>> Both.
>
> Weird.
>
>>
>>> I know that #+begin/end_example works properly, so I took a look at
>>> the di
On Fri, Jan 31, 2014 at 5:04 PM, Nicolas Goaziou wrote:
> John Hendy writes:
>
>>> I cannot reproduce the problem.
>>
>> In the .tex file or in the .pdf?
>
> Both.
Weird.
>
>> I know that #+begin/end_example works properly, so I took a look at
>> the difference between them:
>>
>> \begin{frame}
John Hendy writes:
>> I cannot reproduce the problem.
>
> In the .tex file or in the .pdf?
Both.
> I know that #+begin/end_example works properly, so I took a look at
> the difference between them:
>
> \begin{frame}[fragile,label=sec-1]{begin src}
> \begin{verbatim}
> a <- "Test of whitespace
On Fri, Jan 31, 2014 at 4:25 PM, Nicolas Goaziou wrote:
> John Hendy writes:
>
>> Here's the test file:
>>
>> #+begin_src org
>>
>> #+latex_class: beamer
>> #+options: toc:nil latex:t tex:t H:1
>> #+latex_class_options: [presentation]
>>
>> * Slide
>>
>> #+begin_src R
>> a <- "Test of whitespace
John Hendy writes:
> Here's the test file:
>
> #+begin_src org
>
> #+latex_class: beamer
> #+options: toc:nil latex:t tex:t H:1
> #+latex_class_options: [presentation]
>
> * Slide
>
> #+begin_src R
> a <- "Test of whitespace preservation"
>
> b <- cat("Let's see what happens when we spill",
>
Hello,
John Hendy writes:
> The closest I found in my googling for a solution/setting/variable was
> the variable =org-src-preserve-indentation=, but that seems to only
> have to do with tangling.
The first line of its docstring is:
If non-nil preserve leading whitespace characters on export
Greetings,
I'm sure this is just a variable I've overlooked, but I'm wondering if
it's possible to export code blocks as they appear, with whitespace
preserved for better formatting in the resultant LaTeX document (I'm
using Beamer in this case).
Currently, the leading spaces in my blocks seem t
14 matches
Mail list logo