Aloha Onur, Good news. Glad to hear Org mode is working for you.
All the best, Tom Onur Solmaz <onursol...@gmail.com> writes: > Ah yes, I somehow missed that section. I can now do the stuff I intended > to do, thanks. > On Jun 27, 2014 6:14 PM, "Thomas S. Dye" <t...@tsdye.com> wrote: > >> 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 >> > Ah yes, I somehow missed that section. I can now do the stuff I > intended to do, thanks. > > On Jun 27, 2014 6:14 PM, "Thomas S. Dye" <t...@tsdye.com> wrote: > > 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 > -- 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