Paste Special...RTF messes with colors

D

dnb

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

Hi-
I'm putting together a presentation with lots of code in it. To make the code easier to read, I'm using Pygments (http://pygments.org) to do syntax highlighting in color. The highlighted code gets generated as RTF which I pipe into pbcopy for pasting.

If I paste this RTF into TextEdit or Word, it properly renders the different text colors as dictated by the different code elements. But if I Paste Special...Formatted Text (RTF) in Powerpoint 2008, the result has colored text, but the colors are not always the same as they should be (it seems to pick random text styles, sometimes it lets colors continue for more parts of a line than it should, etc). I'm wondering if it attempts to re-color the text after the paste has been completed or something of the sort.

Any suggestions on how to get it to properly render the colors of the pasted RTF info (like, e.g. Word does)?

Thanks!
-- dNb
 
D

dnb

Sorry to reply to my own post, but one more piece of info: if I just Paste (as opposed to Paste Special...), I get a black and white version of the text, but with the same strange changes to the text styles. No clue why this is happening nor how to fix it.
--dNb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top