Hi, The attached patch allows for fontified source code blocks on export to LaTeX. It does this using the 'listings' latex package. A new variable is introduced; `org-export-latex-listings' which should be set to non-nil for source-code to be exported as listings blocks. This variable defaults to nil in which case the current practice of exporting source code to verbatim latex blocks remains unchanged. To use this functionality add the following to your org-mode config. --8<---------------cut here---------------start------------->8--- ;; tell org to use listings (setq org-export-latex-listings t) ;; you must include the listings package (add-to-list 'org-export-latex-packages-alist '("" "listings")) ;; if you want colored source code then you need to include the color package (add-to-list 'org-export-latex-packages-alist '("" "color")) --8<---------------cut here---------------end--------------->8--- In addition to the patch, I'm attaching an example org-mode file, along with the generated LaTeX file and PDF file. Do you think this would be appropriate for inclusion into org-mode? Thanks -- Eric