[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Exporting org-mode source

From: Sebastien Vauban
Subject: Re: [O] Exporting org-mode source
Date: Sat, 03 May 2014 09:03:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (windows-nt)

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
> What is the right way to do it?

The following Org code block...

#+begin_src org
,#+begin_src <LANGUAGE> <HEADER-ARGS>

... works for me (that is, is fontified correctly in the HTML export).

Best regards,

Sebastien Vauban

reply via email to

[Prev in Thread] Current Thread [Next in Thread]