[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
> #+END_SRC
>
> What is the right way to do it?
The following Org code block...
#+begin_src org
,#+begin_src <LANGUAGE> <HEADER-ARGS>
<BODY>
,#+end_src
#+end_src
... works for me (that is, is fontified correctly in the HTML export).
Best regards,
Seb
--
Sebastien Vauban
- [O] Exporting org-mode source, Vikas Rawal, 2014/05/03
- Re: [O] Exporting org-mode source,
Sebastien Vauban <=
- Re: [O] Exporting org-mode source, Vikas Rawal, 2014/05/04
- Re: [O] Exporting org-mode source, Vikas Rawal, 2014/05/04
- Re: [O] Exporting org-mode source, Han Fan, 2014/05/04
- Re: [O] Exporting org-mode source, Vikas Rawal, 2014/05/04
- Re: [O] Exporting org-mode source, Han Fan, 2014/05/04
- Re: [O] Exporting org-mode source, Fletcher Charest, 2014/05/04
- Re: [O] Exporting org-mode source, Han Fan, 2014/05/04
- Re: [O] Exporting org-mode source, Vikas Rawal, 2014/05/04
- Re: [O] Exporting org-mode source, Sebastien Vauban, 2014/05/08
- Re: [O] Exporting org-mode source, Vikas Rawal, 2014/05/08