Aloha Onur, Onur Solmaz <onursol...@gmail.com> writes:
> Ah, so this example is for org-mode < 8? > http://orgmode.org/worg/org-contrib/babel/examples/article-class.html > I got confused because on some sites, it explicitly says for version < 8, > like this one: http://orgmode.org/worg/org-tutorials/org-latex-export.html. > > I just want to export a latex document which has source code, and I want it > to have numbered lines + more decorations if possible. Is it? Yes, the example is for Org mode < 8. See the Org mode manual Section 11.3, Literal examples, for how to have numbered lines with source code blocks and to have them fontified in the buffer. See the variable org-latex-listings for the various ways to export source code blocks. You'll probably also want to explore the two LaTeX packages listings and minted, as well, depending on your export requirements. hth, Tom -- T.S. Dye & Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com