One option that I've used is to put the code into a gist on github named 
with a clj extension. Github will format it based on the extension. When 
you copy and paste it from the gist into keynote, etc. the formatting will 
be intact. Example here: https://gist.github.com/jasongilman/3684830  This 
also has the side effect of having a place to point people to see the code 
from your presentation.

On Friday, May 17, 2013 11:42:55 PM UTC-4, Korny wrote:
>
> Hi folks - I had to prepare some slides for a conference, and I struggled 
> to get nice looking clojure code onto a slide.  I eventually arrived at the 
> following, but it's awfully clunky:
>
> * write code in emacs
> * turn off rainbow delimiters as html-fontify doesn't like them
> * M-x load-theme whiteboard  (for high contrast)
> * M-x htmlfontify-buffer (and save)
> * M-x browse-url-of-file (loads in Chrome)
> * load same url in Safari as for some reason cut-and-paste from Chrome to 
> Powerpoint is broken
> * copy code from Chrome
> * paste-special into PowerPoint, as "styled text"
>
> Yes, I know I can just take a screenshot, but that gives you a bitmap that 
> doesn't scale nicely or give you any ability to do last minute editing. 
>  But the above gets tedious very fast - I wonder if there's a better option 
> I've missed?
>
> - Korny
>
> -- 
> Kornelis Sietsma  korny at my surname dot com http://korny.info
> .fnord { display: none !important; }
>  

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to