Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Jason Gilman
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

Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread John Gabriele
On Friday, May 17, 2013 11:42:55 PM UTC-4, Korny wrote: > > 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 m

Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Stefan Kamphausen
Besides the obvious org-mode which exports with colors to HTML when you use "#+BEGIN_SRC clojure ... #+END_SRC" I also had some fun presenting with marginalia or impress.js, both using Alex Gorbatchev's Syntax Highlighter. (FWIW) -- -- You received this message because you are subscribed to t

Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Karsten Schmidt
Btw. Has anyone managed to run htmlize or htmlfontify with rainbow delimiters enabled? Both throw errors like this for me (but I really would like to export w/ rainbow brackets): Wrong type argument: symbolp, "rainbow-delimiters-depth-1-face" Thanks, K. -- -- You received this message because

Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Korny Sietsma
If I didn't want colours, I could just cut and paste the text :) But on a big screen, to a not-necessarily-clojure-literate audience, colours help comprehension. As for presenting in emacs or another plain-text format - I'd agree for mostly-technical presentations with lots of text. This was les

Re: Getting highlighted clojure code into a presentation

2013-05-18 Thread Stuart Sierra
I wrote my own tool (in ClojureScript) to present Emacs org-mode's HTML export as slides. It's pretty clunky too, but works for code-heavy presentations. https://github.com/relevance/org-html-slideshow -S On Saturday, May 18, 2013 1:42:55 PM UTC+10, Korny wrote: > > Hi folks - I had to prepar

Re: Getting highlighted clojure code into a presentation

2013-05-17 Thread atkaaz
I feel silly for even suggesting but is pprint not good enough? do you need colors? (unaware of what those do in emacs) On Sat, May 18, 2013 at 6:42 AM, Korny Sietsma wrote: > Hi folks - I had to prepare some slides for a conference, and I struggled > to get nice looking clojure code onto a sli

Re: Getting highlighted clojure code into a presentation

2013-05-17 Thread Phil Hagelberg
I just present from within Emacs itself usually. But when fancier visuals are required I'll present from a browser with HTML produced by htmlize.el. Using a program that doesn't let you store the slide source as plain text (for version control) sounds like a bad idea. Phil -- -- You received th