Is it possible to embed programming source code to Powerpoint slide, and keep code highlighting/coloring?

link|improve this question

38% accept rate
what application are you copying from? – John T Dec 21 '09 at 4:26
I use textmate, e-texteditor and eclipse the most. – Yousui Dec 21 '09 at 4:58
feedback

5 Answers

After pasting, a small "Paste Options" icon appears below the pasted text.

Click this icon and choose "Keep Source Formatting" :

enter image description here

link|improve this answer
feedback

If the source code does not need to be copied and pasted out of the presentation, a quick and dirty solution could be to simply take screenshots of the source code.

link|improve this answer
1  
Image can be fuzzy when zoom in. – Yousui Dec 21 '09 at 4:58
feedback

Pygments can format almost every format to rtf:

pygmentize -f rtf -o code.rtf code.py
link|improve this answer
feedback

Pasting from Eclipse should retain formatting if the app supports it. I know Word does... not sure about PPT.

link|improve this answer
feedback

May I commend an excellent html service by ookii.org:

http://www.ookii.org/software/formatc/

it works for C/C#/VB/HTML only though.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.