Vikas Rawal wrote:
>>> It does not work without ":exports code”
>>
>> I don't understand that, as ":exports code" is the default for Org code
>> blocks, as shown by:
>>
>> ╭
>> │ org-babel-default-header-args:org is a variable defined in `ob-org.el'.
>> │ Its value is ((:results . "raw sil
Vikas Rawal wrote:
> On 04-May-2014, at 11:46 am, Han Fan wrote:
>> Fletcher Charest writes:
>>>
>>> Sorry if I misunderstood... If you create an Org source block like
>>> this with nothing inside:
>>>
>>> #+begin_src org
>>>
>>> #+end_src
>>>
>>> ...then, with your cursor inside, enter it wi
On 04-May-2014, at 11:46 am, Han Fan wrote:
> Fletcher Charest writes:
>
>> Hi,
>>
>> Sorry if I misunderstood... If you create an Org source block like this with
>> nothing inside:
>>
>> #+begin_src org
>>
>> #+end_src
>>
>> ...then, with your cursor inside, enter it with C-c ', write yo
Fletcher Charest writes:
> Hi,
>
> Sorry if I misunderstood... If you create an Org source block like this with
> nothing inside:
>
> #+begin_src org
>
> #+end_src
>
> ...then, with your cursor inside, enter it with C-c ', write your org tree,
> and validate with C-c ' again, then export... Doe
Hi,
Sorry if I misunderstood... If you create an Org source block like this
with nothing inside:
#+begin_src org
#+end_src
...then, with your cursor inside, enter it with C-c ', write your org tree,
and validate with C-c ' again, then export... Does it do what you want?
FC
On Sun, May 4, 20
Vikas Rawal agrarianresearch.org> writes:
>
> >
> > Vikas Rawal agrarianresearch.org> writes:
> >
> >
> >> I think I could not express my objective clearly.I want the org code
block
> > to be exported literally.
> >
> >
> > Indent lines that begin with *, is this what you want?
>
> I a
>
> Vikas Rawal agrarianresearch.org> writes:
>
>
>> I think I could not express my objective clearly.I want the org code block
> to be exported literally.
>
>
> Indent lines that begin with *, is this what you want?
I am not exactly sure what you are suggesting. The block below does not w
Vikas Rawal wrote:
> I want to export a block of org-mode source code in a tutorial I am
> writing.
>
> I have tried variations of the following. But nothing seems to give me
> org-mode code in the exported pdf.
>
> #+BEGIN_SRC org :results code replace
> org-mode code here
> #+END_SRC
>
> What is
I want to export a block of org-mode source code in a tutorial I am writing.
I have tried variations of the following. But nothing seems to give me org-mode
code in the exported pdf.
#+BEGIN_SRC org :results code replace
org-mode code here
#+END_SRC
What is the right way to do it?
Vikas