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