Hacker News new | ask | show | jobs
by brobdingnagian 4027 days ago
IPython Notebook can export a report to PDF with syntax highlighted code - can this?
1 comments

Probably. You can mark code blocks in .org files with the Emacs "mode" for them, and they will be highlighted appropriately (and you can use a shortcut to open a new buffer in said mode just to edit that block). I imagine that if PDF export exists (I assume it does), this would map to it.
Yes, with the "gotcha" that you must set org-src-fontify-natively (a customizable setting) to non-nil.